Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.8 KB

remote-server-query-command.md

File metadata and controls

55 lines (35 loc) · 1.8 KB
title description keywords ms.date topic_type ms.topic api_name api_type
Remote Server Query Command
To display a list of available sessions on a local or Remote Server, use the following syntax.
Remote Server Query Command Windows Debugging
05/23/2017
apiref
reference
Remote Server Query Command
NA

Remote Server Query Command

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

remote /q Computer
```dbgcmd

## <span id="ddk_remote_server_query_command_dtools"></span><span id="DDK_REMOTE_SERVER_QUERY_COMMAND_DTOOLS"></span>Parameters


<span id="________q______"></span><span id="________Q______"></span> **/q**   
Query. Displays the visible remote sessions on the specified computer.

<span id="_______Computer______"></span><span id="_______computer______"></span><span id="_______COMPUTER______"></span> *Computer*   
Specifies the name of the computer. This parameter is required (even on the local computer).

### <span id="comments"></span><span id="COMMENTS"></span>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:

```console
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