From username to host?
This question is related to windows networking commands.
If I wanted to know who is logged in a computer in a LAN I can do this with the following:
nbtstat -a computername
Now, the question is: can I know in which computer an user is logged in just by knowing his username?
check this out: http://www.sysinternals.com/ntw2k/fr...loggedon.shtml
hopefully you are using windows NT/2K/XP/2K3, if you are using any of those, that little util should do the trick for you.
thanks h3r3tic, but i dont think this program does exactly what i want since it shows in which computers an user is logged on remotely , not locally
h3r3tic is right. PsLoggedOn will show user logged on locally as well.
If you want to only display locally logged on users, the command is
However, it does show user logged on to a specific host, not which computers a specific user is logged on to.
ok, gotcha. thanks for the -l flag. however, i tried the command on myself and other friends' usernames that were online and didnt display the local host. i guess the app is still under development...