Possible Duplicate:
Error Opening HKEY_USERS for [COMPUTER NAME] PsLoggedon

We have a LAN that in which there is a Windows Server 2003R2 with some clients. We have not set up an Active Directory Server so they are in a Workgroup. Is that possible to find the username of the logged on user on the client computers which are connected to the network, using just the IP addresses of the connected machines? (except administrator)

Also, is it possible to get a list of all the local user accounts on a Workgroup machine, with just the machine IP?

marked as duplicate by Chris S Jul 31 '12 at 18:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • What is your question? – Bart De Vos Jul 16 '12 at 10:48
  • Could you explain what you want to do? It is certainly not necessary to log in with the current logged in user...? – MichelZ Jul 16 '12 at 10:49
  • 2
    Try to understand what this site is for, how it's used and who comes here before telling us how to run it - if you did you'd realise that downvoting (which I've not done, yet) is a by-product of people wanting your question closed - a perfectly valid one too given the VERY poor quality of it. – Chopper3 Jul 16 '12 at 12:27
  • 3
    @estranged - did you see the original question?? – Chopper3 Jul 16 '12 at 12:46
  • 4
    According to the site's stated guidelines, downvoting is a means of saying "your question is unclear." @Mehrdad, gravyface and estranged -- your understanding of the site is invalid. – Wesley Jul 16 '12 at 19:55

Based on my understanding of your question...

No. In order to get the information you want [remotely], you'd need to provide credentials to connect to the machine in the first place. Since they're not domain joined, and you don't know the local administrator credentials (I think... do you?), you won't be able to use any tools to connect and see who's logged in locally. This also applies to your question about local users. To do it remotely, you require credentials to connect to the machine before you can even query that information.

If you did know the local credentials, you could use any number of tools, and/or the links MichelZ provided to connect to the machine and query it to find the the logged on users and/or the list of local accounts.

  • Oh thank you very much. and according to what you said, I can not find how many users are available in that machine as well (I mean retrieving a list of that machine's users)? By the way you have completely understood my question. so will you please do me a favour and edit my question in a way it should be? I really don't know how to ask this question. thanks again. – Mehrdad Kamelzadeh Jul 17 '12 at 19:41
  • I'll edit my answer, but same answer to that question. To get user information, like the list of local users accounts that exist also requires credentials. – HopelessN00b Jul 17 '12 at 19:57
  • Thanks. But I asked you to edit my original question if it is convenient for you. Because I have gotten 4 vote down. – Mehrdad Kamelzadeh Jul 17 '12 at 20:08
  • I did. My change won't be visible until it's approved by a moderator, though. I don't have enough rep to just edit anything without it being reviewed. – HopelessN00b Jul 17 '12 at 20:15

Still guessing, but have a look at these questions:

How to check who is currently logged on to windows workstation from command line?

Detect who is logged on to remote Windows machines

How to remotely see what users are logged into Windows 7 or Vista

  • thanks for the links. the first one is similar to my question. but the answer doesn't work for me. it says: access is denied. I don't know what shall I do for that. – Mehrdad Kamelzadeh Jul 16 '12 at 20:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.