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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get the username from the wkstn name?

Status
Not open for further replies.

cygnul

Technical User
Jan 11, 2002
33
GB
hi

anyone know a way to get the username from the wkstn name? I can pick up the wkstn name easily but dont know which user is using it.

cheers
 
When the computer is running with the user logged on, you should be able to use the following command to identify the logged on user: nbtstat -a <computername>. Alternatively you can use: nbtstat -A <ip_address>. The username will be displayed (along with other netbios information) with the netbios suffix <03> next to it (note: the computer name will also appear with this same suffix). The suffix <03> denotes the Windows Messenger service and is used when remote nodes wish to connect to a node's computer name or user name. Hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top