Displays information about processes, sessions, and Remote Desktop Session Host servers. To find out what's new in the latest version, see What's New in Remote Desktop Services in Windows Server.
Syntax
query process
query session
query termserver
query user
Parameters
| Parameter | Description |
|---|---|
| query process | Displays information about processes running on an Remote Desktop Session Host server. |
| query session | Displays information about sessions on a Remote Desktop Session Host server. |
| query termserver | Displays a list of all Remote Desktop Session Host servers on the network. |
| query user | Displays information about user sessions on a Remote Desktop Session Host server. |
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
