Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
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
add comment

1 Answer

up vote 5 down vote accepted

PsExec from the Sysinternals suite (which you can download from microsoft.com) 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
add comment

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