username

  • Thread starter Thread starter David
  • Start date Start date
D

David

Is there a way , preferably a command that can be used in
a batch file, that can retrieve the username of a user
logged into a W2k pro workstation in a W2K domain?

Thanks in advance.
 
Thanks Troy. Here is what I need to do. I have a bunch of
IP addresses and I need to find out who is logged into
each remote workstation.

Thanks
 
If you wanted you could write a VB Script that would take advantage of WMI.
You would use Win32_ComputerSystem which you can look up in MSDN. there is
an item in here called UserName which is the currently logged in user.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only

Thanks
Troy
 
Back
Top