Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Is there any simple way to check who is currently connected to Windows XP computer using the command line? Information that I need is in Windows Task Manager/Users.

I need to know Client Name, not just user, because everybody logs in with the same credentials.

There is command qwinsta which returns many information, but not Client Name.
Is there any other command?

share|improve this question
qwinsta is for RDP, not client sessions. – HaydnWVN Apr 27 '12 at 9:30
How are you issuing the command being that XP does not allow concurrent connections? Is this being run remotely against the workstaion, inside a service, you want to look at the history? – Scott Chamberlain Sep 8 '13 at 18:37

I can't check but I think something like net use or maybe net session. One of those net commands anyway.

share|improve this answer
net session is the correct way as it shows machines names that each session originates from. – HaydnWVN Apr 27 '12 at 9:28
net session returns only sessions related to for example samba connections. This command doesn't list remote desktop connections (it returns "There are no entries in the list.") – dePablo May 9 '12 at 8:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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