Created
August 1, 2012 16:12
-
-
Save culvr/3228302 to your computer and use it in GitHub Desktop.
Logout out of a RDP session, automatically logging in the previous user.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo OFF | |
| rem End RDP session, and automatically login to previous user | |
| rem | |
| rem This must be ran as an Administrator | |
| tscon 2 /dest:console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment