tscon / tsdiscon
CautionManage RDP sessions
tscon <sessionID>
Switches/disconnects sessions; the famous trick pulls an RDP session back to the console.
Examples
query session && tscon 2 /dest:consoleMove session 2 to console
Syntax
tscon <id|name> [/dest:console] / tsdiscon <id>
Before you run it
Affects the user's live session.
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store