Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

See which machine a user is logged in to 1

Status
Not open for further replies.

JamesLean

Programmer
Dec 13, 2002
3,059
GB
Is there a way (without purchasing 3rd party s/w) to see which machine(s) on the network a particular user is logged in to?

--James
 
do you need to do this "behind the scenes?". If not, you can use the NET SEND and NBTSTAT commands...
 
Thanks. How do you use either of those to find out which machine a user is logged into?

--James
 
assuming you know the user's logon ID, from a command prompt (don't include the quotes in any of these commands):

&quot;NET SEND <username> This is a test, please delete&quot;

then

&quot;NBTSTAT -c&quot;

this command will return the IP address of the machine the user is logged in to (amongst others). Once you have the IP, just issue:

&quot;NBTSTAT -A <IP Address>&quot;
 
OK, I see. That works great!

Now, is there any way to do it without the user knowing?

Thanks so far.

--James
 
well, I know there's a tool called PSLOGGEDON that would do that. if you were to include it in a batch file that looped through all of your machine names I suppose it could do a full domain search.
 
OK, so it sounds like there's no easy way using simple commands like your first example.

Thanks anyway.

--James
 
If you have a DHCP server, you can see them in the DHCP Administrator console.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top