Query Termserver / Qappsrv – Windows CMD Command

Display a list of all Terminal server or a Remote Desktop Session Host (RD Session Host) servers on the network.

Syntax
      QUERY TERMSERVER [ServerName] [/domain:Domain] [/address] [/continue]

Key
   ServerName     The RD Session Host server name.

   /domain:Domain The domain to query for terminal servers.
                  default = current domain.

   /address       Display the network and node addresses for each server.

   /continue      Don't pause after each screen of information is displayed.

   /?             Display help.

Qappsrv is a synonym for QUERY TERMSERVER

QUERY TERMSERVER returns the following information:

  • The name of the server
  • The network (and node address if the /address option is used)
Examples

Display information about all RD Session Host servers on the network:

C:\> query termserver

Display information about the RD Session Host server named ServerF4T:

C:\> query termserver ServerF4T

Display the network and node address for the RD Session Host server named ServerF4T:

C:\> query termserver ServerF4T /address

You may also like...

1 Response

  1. froleprotrem says:

    Some genuinely excellent posts on this website, thank you for contribution. “When he has ceased to hear the many, he may discern the One – the inner sound which kills the outer.” by H Hahn Blavatsky.

Leave a Reply to froleprotrem Cancel reply

Your email address will not be published. Required fields are marked *