robspcs
12 years agoNew Contributor
LogMeIn Hamachi Connection issues with Windows 8
I have hamachi installed on 4 machines. 2 XP PRO, 1 Windows 7 Home, 1 Windows 8 Pro. All computers have the most recent version as of 1/19/2013. The 2 XP Machines are in one business while the ...
- 9 years ago
I realize this is old, but this helped me.
This should cover everyone, even servers I believe. The number corresponds to the RDP session. 0=console and 1+2=other sessions. Depending on how you connect to your computer determines which session you use so running all 3 should work to disconnect everyone.
Last line if optional if you want to lock screen.
Paste all of this into bat file then run when you want to disconnect from RDP
tscon 0 /dest:console
tscon 1 /dest:console
tscon 2 /dest:console
Rundll32.exe User32.dll,LockWorkStation