Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save janikvonrotz/7449352 to your computer and use it in GitHub Desktop.
Save janikvonrotz/7449352 to your computer and use it in GitHub Desktop.
Connect Remote Desktop using KeePass Credentials #KeePass #EmbededPost
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}
@psttf
Copy link

psttf commented May 11, 2017

@maratth
Copy link

maratth commented Oct 26, 2017

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