tsdiscon: Disconnects a terminal session.


 


... The examples for the command "tsdiscon"
... "tsdiscon" Excerpt from Microsoft Windows Help
... Important information, tips for the "tsdiscon" command

The command: "tsdiscon" is on Windows 12, 11, 10, .. , MS Server 2025, 2022, 2019, .. available

The examples for the command "tsdiscon"

Here are some examples of using the `tsdiscon` utility in Windows: Example 1: `tsdiscon` with session number: This command disconnects the remote session with the specified session number (replace "X" with the actual number).

tsdiscon X

This example shows how to use `tsdiscon` to disconnect a remote session. Note that unlike `tscon`, which connects to a session, `tsdiscon` is used to disconnect an active session. Without additional parameters is used to disconnect the active remote session. The `tsdiscon` utility usually does not need any specific arguments as it automatically disconnects the active session. Here is the corrected summary: Example 2: `tsdiscon` (General Usage): This command disconnects the active remote session.

tsdiscon

Since `tsdiscon` is normally used without additional arguments, it automatically disconnects the current session. In case any changes are made to this utility in the future or additional parameters are added, it is advisable to consult the official documentation from Microsoft.

"tsdiscon" Excerpt from Microsoft Windows Help

Microsoft Windows [Version 10.0.19045.3693]
(c) Copyright 1985-2023 Microsoft Corp.

C:\\WINDOWS>

Disconnects a terminal session.

TSDISCON [sessionid | sessionname] [/SERVER:servername] [/V]

  sessionid           The ID of the session.
  sessionname         The name of the session.
  /SERVER:servername  Specifies the Terminal server (default is current).
  /V                  Displays information about the actions performed.

Important information, tips for the "tsdiscon" command

When using `tsdiscon`, special attention must be paid to using the command correctly as it is used to disconnect the active remote session. It is important to ensure that no unintentional sessions are disconnected and that any security policies or operational requirements are taken into account to ensure reliable and secure use of the command. Additionally, possible impacts on ongoing processes or services should be considered to ensure smooth operation of the system. Ideally, the use of `tsdiscon` should be in accordance with current best practices and official documentation from Microsoft to avoid possible inconveniences and optimize the effectiveness of the command. A direct alternative to `tsdiscon` on Windows could be the `logoff` command line utility. The `logoff` command disconnects a remote session or logs a user out of a system. Here is an example: Example: `logoff` with session number:

logoff X

This example disconnects the remote session with the specified session number (replace "X" with the actual number). It is important to note that the `logoff` command disconnects a session or logs out a user, while `tsdiscon` is specifically designed for disconnecting a remote session. Depending on the requirements and context, `logoff` can be a practical alternative. As always, security guidelines and specific requirements should be considered when using such commands.


Deutsch
English
Español
Français
Italiano
日本語 (Nihongo)
한국어 (Hangugeo)
汉语 (Hànyǔ)
Türkçe
Português
Português
Svenska
Norsk
Dansk
Suomi
Nederlands
Polski









Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



The command tsdiscon - Disconnects a terminal session.

HTTP: ... console80.000000ko0.000000index.htm/en/167.htm
0.077
14186
Crawlingly ants also for the Windows 10 Desktop Home and Pro!
Verzeichnis -Ausdruck -Vorschau bei der Console/Eingabeaufforderung!
Minimize all windows if the mouse pointer does not move for a certain time!
Change desktop wallpaper on Windows 11?
Monitor.Turn.Off.Timer.OK switch off the monitor after the time has elapsed!
Is 256 GB SSD enough for Windows 11?
Set the desired time for your countdown!
Can Windows 11 run smoothly with 4 GB RAM?
Infobereich Windows 11 Taskleiste?
CPU load based sleep mode behavior on Windows 11, 10, 8.1 and 7!



(0)