Tracking Who's Logged On

When you deploy Terminal Services, you can use the Terminal Services Manager to view and manage logon sessions. With Remote Desktop for Administration, you can use this as well, but you typically don't need all the additional options and details. A more basic way to keep track of who is logged on to a server is to use the QUSER command. Type quser to see who is logged on to the system on which you are running the command prompt, or type quser /server:ServerName to see who is logged on to a remote server. Consider the following example:

USERNAME  SESSIONNAME  ID  STATEIDLE TIME  LOGON TIME
wrstanek  console      0   Active           9/16/2004 1:33 PM
administrator  rdp-tcp#4   1    Active      1    9/16/2004 5:05 PM

Here, there are two active sessions:

  • Wrstanek ...

Get Microsoft® Windows Server™ 2003 Inside Out now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.