Evenementer
Apr 29, 2 PM - Apr 30, 7 PM
Maacht beim ultimative virtuelle Windows Server-Evenement vum 29.-30. Abrëll mat, fir déifgoend technesch Sessiounen an e Live-Q&A mat Microsoft-Entwéckler.
Elo umellenDëse Browser gëtt net méi ënnerstëtzt.
Upgrat op Microsoft Edge fir vun de Virdeeler vun leschten Eegeschaften, Sécherheetsupdaten, an techneschem Support ze profitéieren.
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.
Wichteg
You must have Full Control access permission or Disconnect special access permission to disconnect another user from a session.
Notiz
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
Evenementer
Apr 29, 2 PM - Apr 30, 7 PM
Maacht beim ultimative virtuelle Windows Server-Evenement vum 29.-30. Abrëll mat, fir déifgoend technesch Sessiounen an e Live-Q&A mat Microsoft-Entwéckler.
Elo umellen