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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top