Query command in Windows

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016 , Windows Server 2012 R2, Windows Server 2012 )

The query command displays information aboutRemote Desktop Session Hostprocesses, sessions and servers(RD Session Host).

Syntax of the command

 query process 
query session
query termserver
query user

Query parameter

Parameters

Describe

query process

Displays information about processes running on theRD Session Hostserver.

query session

Displays information about sessions on theRD Session Hostserver.

query termserver

Displays a list of all theRD Session Hostserverson the network.

query user

Displays user session information on theRD Session Host host.

See more:

  1. The print command in Windows
  2. The net print command in Windows
  3. Netcfg command in Windows
  4. Nbtstat command in Windows
5 ★ | 1 Vote