Finding out what computer your AD user is logged into easily, quickly and free!
Today I had to track down a user. There computer was either not configured with the proper naming convention, they installed a firewall or some sort of combination of other issues. I download a sysinternal tool called PSLoggedOn from the PSTools toolkit which while I could not find it from Microsoft I was able to locate it and upload it to AskTheAdmin’s servers here.
Microsoft describes the tools as follows:
PsLoggedOn is part of a growing kit of Sysinternals command-line tools that aid in the administration of local and remote systems named PsTools.
Runs on:
- Client: Windows XP and higher.
- Server: Windows Server 2003 and higher.
We have covered the PSTools Toolkit before here as well. To use it simply run it from the command line with the syntax psloggedon.exe username or computername
So in this instance I ran psloggedon joes to query all my network machines to see which one joes is logged into like so:
This is what I returned:
I saw all the machine the user in question is logged on to and the machines I was unable to query. Now I can run scripts using the machine name and not have to set login scripts for the user. Good luck! And we would love to hear what you are doing on your AD network!
What kind of network magic do you have going on?
| Print article |


about 1 year ago
hey good post, you can get the software from Sysinternals.com under the pstools suite or download it from live.sysinternals.com but due to the agreement under “Scope of License.” you can’t “publish the software for others to copy;” :(
about 1 year ago
http://live.sysinternals.com/psloggedon.exe
about 1 year ago
This does not work if your domain has strict security settings. You will get the following:
Error browing network: The list of servers for this workgroup is not currently available
about 3 months ago
Tool only works if firewall is turned off and environment is small. Takes very long time to run in larger AD networks.