Tsdiscon
Connects to another session.
Syntax
tsdiscon [{SessionID | SessionName}] [/server:ServerName] [/v]
Parameters
SessionID
The ID of the session to disconnect.
SessionName
The name of the session to disconnect.
/server:ServerName
Specifies the terminal server containing the session you want to disconnect. Otherwise, the current terminal server is used.
/v
Displays additional information.
/?
Displays help at the command prompt.
Remarks
You must have Full Control permission to disconnect another user from a session.
Any applications that were running when you disconnected the session are automatically running when you reconnect to that session with no loss of data. Use reset session to end the running applications of the disconnected session, but be aware that this might result in loss of data at the session.
The /server parameter is required only if you use tsdiscon from a remote server.
The console session cannot be disconnected.
Examples
To disconnect the current session, type:
tsdiscon
To disconnect session 10, type:
tsdiscon 10
|