December 6th, 2003, 04:14 AM
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?
December 6th, 2003, 05:04 AM
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.
December 6th, 2003, 11:52 AM
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
December 6th, 2003, 12:17 PM
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.
Government is like fire - a handy servant, but a dangerous master - George Washington
Government is not reason, it is not eloquence - it is force. - George Washington.
Join the UnError
December 6th, 2003, 03:17 PM
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...