Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to find out a list of user accounts on a remote Windows PC. I would like to do this from the windows command prompt. Is this possible and if so how ?

Original Can we get available Users under windows through one computer for other computer and both are in LAN. i.e. let say PC1 and PC2 are in LAN. I want to know users available on PC2 through PC1 using command prompt.

share|improve this question

closed as not a real question by Ward, MDMarra, Chopper3, Tom O'Connor, John Gardeniers Jun 16 '12 at 11:31

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Um........what? – MDMarra Jun 16 '12 at 6:19
@MDMarra If not clear with question downvote will not help I guess. – Janak Nirmal Jun 16 '12 at 6:20
To All downvoters please let me know what is wrong with question so that I can correct. – Janak Nirmal Jun 16 '12 at 6:23
Yummy Active Directory. Local accounts are for lusers. ;) – Tom O'Connor Jun 16 '12 at 10:37
up vote 5 down vote accepted

PsExec from the Sysinternals suite (which you can download from will let you run commands on a remote pc; in this case, net user.

share|improve this answer
Thax for your reply. net user will let me know users of pc where I run that command. I want to know other pc user – Janak Nirmal Jun 16 '12 at 9:15
PsExec will let you run it on a remote computer from the one you are on. – ramruma Jun 16 '12 at 9:22

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