Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Applies To: Windows Server 2008
Many of the actions that you perform in Terminal Services Manager can also be performed by using command-line tools.
The following is a list of some of the actions that you perform in Terminal Services Manager and the command-line tool that can be used to accomplish the same action.
For a complete list of Terminal Services command-line tools, including information about syntax and usage, see Terminal Services Command Reference (https://go.microsoft.com/fwlink/?LinkId=89674).
| Action in Terminal Services Manager | Command-line tool |
|---|---|
Log off a user from a session on a terminal server and delete the session from the server. |
logoff |
Send a message to a user on a terminal server. |
msg |
Display information about processes that are running on a terminal server. |
qprocess |
Display information about processes, sessions, and terminal servers. |
query |
Display information about processes that are running on a terminal server. |
query process |
Display information about sessions on a terminal server. |
query session |
Display information about user sessions on a terminal server. |
query user |
Display information about user sessions on a terminal server. |
quser |
Display information about sessions on a terminal server. |
qwinsta |
Reset (delete) a session on a terminal server. |
reset session |
Reset (delete) a session on a terminal server. |
rwinsta |
Remotely control an active session of another user on a terminal server. |
shadow |
Connect to another session on a terminal server. |
tscon |
Disconnect a session from a terminal server. |
tsdiscon |
End a process running in a session on a terminal server. |
tskill |