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:

 

image

This is what I returned:

image

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?

 

_ThePSToolingAdmiN_