Kaganapan
Abr 29, 2 PM - Abr 30, 7 PM
Sumali sa ultimate Windows Server virtual event Abril 29 30 para sa malalim na sumisid na mga teknikal na sesyon at live na Q &A sa mga inhinyero ng Microsoft.
Mag-sign up naHindi na suportado ang browser na ito.
Mag-upgrade sa Microsoft Edge para samantalahin ang mga pinakabagong tampok, update sa seguridad, at teknikal na suporta.
Disconnects a session from a Remote Desktop Session Host server. If you don't specify a session ID or session name, this command disconnects the current session.
Mahalaga
You must have Full Control access permission or Disconnect special access permission to disconnect another user from a session.
Note
To find out what's new in the latest version, see What's New in Remote Desktop Services in Windows Server.
tsdiscon [<sessionID> | <sessionname>] [/server:<servername>] [/v]
Parameter | Description |
---|---|
<sessionID> |
Specifies the ID of the session to disconnect. |
<sessionname> |
Specifies the name of the session to disconnect. |
/server:<servername> |
Specifies the terminal server that contains the session that you want to disconnect. Otherwise, the current Remote Desktop Session Host server is used. This parameter is required only if you run the tsdiscon command from a remote server. |
/v | Displays information about the actions being performed. |
/? | Displays help at the command prompt. |
Any applications running when you disconnected the session are automatically running when you reconnect to that session with no loss of data. You can use the reset session command to end the running applications of the disconnected session, but this may result in loss of data at the session.
The console session can't be disconnected.
To disconnect the current session, type:
tsdiscon
To disconnect Session 10, type:
tsdiscon 10
To disconnect the session named TERM04, type:
tsdiscon TERM04
Kaganapan
Abr 29, 2 PM - Abr 30, 7 PM
Sumali sa ultimate Windows Server virtual event Abril 29 30 para sa malalim na sumisid na mga teknikal na sesyon at live na Q &A sa mga inhinyero ng Microsoft.
Mag-sign up na