How do I find out who is logged into Windows XP?

11

2

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.

Mike Akers

Posted 2009-07-15T07:55:52.223

Reputation: 313

Answers

14

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

Igal Tabachnik

Posted 2009-07-15T07:55:52.223

Reputation: 2 623

1Windows XP Pro Version 2002 SP3 - there is no Users tab, only Applications, Processes, Performance and Networking. – Alan – 2013-08-07T18:17:43.387

21

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

mikieb

Posted 2009-07-15T07:55:52.223

Reputation: 331

Works "locally" on my Windows 8.0 Enterprise install. – FPC – 2014-07-10T13:43:41.167

Works with rdesktop connections. – Andrew Case – 2013-04-10T22:09:34.407

6

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

Hafthor

Posted 2009-07-15T07:55:52.223

Reputation: 960

2

In a Batch on windows 7 you could use:

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

user202604

Posted 2009-07-15T07:55:52.223

Reputation: 21