Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Vista

Displays information about sessions on a Remote Desktop Session Host (RD Session Host) server.


In Windows Server 2008 R2, Terminal Services was renamed Remote Desktop Services. To find out what's new in this version, see What’s New in Remote Desktop Services on the Windows Server TechCenter.


This command is the same as the query session command.

Additional references

Query session

Command-Line Syntax Key

Remote Desktop Services (Terminal Services) Command Reference