1

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.

4
  • Um........what?
    – MDMarra
    Commented Jun 16, 2012 at 6:19
  • @MDMarra If not clear with question downvote will not help I guess. Commented Jun 16, 2012 at 6:20
  • 1
    To All downvoters please let me know what is wrong with question so that I can correct. Commented Jun 16, 2012 at 6:23
  • Yummy Active Directory. Local accounts are for lusers. ;) Commented Jun 16, 2012 at 10:37

1 Answer 1

5

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.

2
  • 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 Commented Jun 16, 2012 at 9:15
  • PsExec will let you run it on a remote computer from the one you are on.
    – ramruma
    Commented Jun 16, 2012 at 9:22

Not the answer you're looking for? Browse other questions tagged .