Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I find out which users are logged into a Windows XP machine?

I'm looking for something like the Unix who command, or a screen that just gives me a list of users currently logged in.

share|improve this question

5 Answers 5

up vote 10 down vote accepted

You can see logged on users in the Users tab in Task Manager.

share|improve this answer
1  
Windows XP Pro Version 2002 SP3 - there is no Users tab, only Applications, Processes, Performance and Networking. –  Alan Aug 7 '13 at 18:17

qwinsta from the command line should show you who logged on, though I'm not sure if that's just for terminal server sessions or not.

C:\Users\wumpus-home>qwinsta
 SESSIONNAME       USERNAME                 ID  STATE   TYPE        DEVICE
 services                                    0  Disc
>console           Jeff                      1  Active
share|improve this answer
    
Works with rdesktop connections. –  Andrew Case Apr 10 '13 at 22:09
    
Works "locally" on my Windows 8.0 Enterprise install. –  FPC Jul 10 at 13:43

psloggedon - a small utility that is part of the SysInternals Suite of tools

Stand-alone link: http://technet.microsoft.com/en-us/sysinternals/bb897545.aspx

share|improve this answer

If you Remote Desktop into the machine and fill out the login dialog, the next dialog should tell you who is logged in and give you the option to log them out or to cancel.

share|improve this answer

In a Batch on windows 7 you could use:

FOR /F "skip=1 tokens=1,2,* delims= " %%I IN ('qwinsta console') DO echo %%J
share|improve this answer

Your Answer

 
discard

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.