Debugging Tools for Windows

Remote Server Query Command

To display a list of available sessions on a local or Remote Server, use the following syntax.

Syntax

remote /q Computer

Parameters

/q
Query. Displays the visible remote sessions on the specified computer.
Computer
Specifies the name of the computer. This parameter is required (even on the local computer).

Comments

The query display includes only server sessions; it does not display client connections to remote sessions.

The query display includes only visible sessions. There is no command to display invisible sessions.

The query display includes all visible sessions, including those that restrict users (/u and /ud). The user might not have permission to connect to all of the sessions in the list.

When there are no remote sessions running on the server, the Remote tool displays the following message:

No Remote servers running on \\Computer

However, when the only remote sessions running on the computer are invisible remote sessions, the Remote tool displays the following message:

No visible sessions on server \\Computer

Build machine: CAPEBUILD