Created
November 13, 2013 13:46
-
-
Save janikvonrotz/7449352 to your computer and use it in GitHub Desktop.
Connect Remote Desktop using KeePass Credentials
#KeePass
#EmbededPost
This file contains 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
cmd://"C:\Windows\System32\cmd.exe" /c cmdkey.exe /generic:TERMSRV/{S:SERVER} /user:{S:DOMAIN}{USERNAME} /pass:{PASSWORD} & mstsc.exe /v:{S:SERVER} & cmdkey.exe /delete:TERMSRV/{S:SERVER} |
How you can specify gateway for connection ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice Gist! It is better to quote the password: https://gist.github.com/psttf/370799afafba0fc8726f2105196f074e/4eaaacf7f38722abe29ec7ab45c8c486fc56ef92