I have users that are account sharing and they need to still be mobile, so i need a batch file or other app that checks to see if the username is already logged onto the domain at another workstation and then either allow access or deny it.
While not impossible, this will fall beyond a quick and simple solution and is almost guaranteed to be resource intensive and/or require more than rudimentary programming. Due to the nature of NT domain authentication, there is no central place to verify logon status. You would have to check the PDC and all BDCs to acurately verify logon status. There are existing 3rd party software packages available that will monitor event logs on multiple machines and report specified events to a database that could possibly be queried upon logon to reveal current status. I believe there is such a tool at
All that being said, and not knowing what needs drive this setup, I would highly recommend moving to an individual account setup or exploring other alternatives. Good luck.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.