Open RDP sessions from KeePass

Open KeePass and go to Tools / Options
Open the Integration tab
Click on URL Overrides

Click on Add.

Type rdp in the Scheme box
Copy and paste the following command in the URL Override box.

cmd://cmd /c “cmdkey /generic:TERMSRV/{URL:RMVSCM} /user:{USERNAME} /pass:{PASSWORD} && start /b mstsc /v:{URL:RMVSCM} && timeout /t 3 /nobreak && cmdkey /delete:TERMSRV/{URL:RMVSCM}”

(Copy and paste this into a plain text editor like e.g Notepad. Then replace the quotation marks with new ones. Then copy that line into KeePass. WordPress replaces the quotation marks with non-standard ones and the command will not work if this is not done!)

Done!

About Svorsken

Svensk bosatt i Oslo, Norge sedan 2010 men kom hit redan 2002 till Arendal. Det som var tänkt att vara i 2-3 år ser ut att bli längre och längre för var dag som går. Och det har jag inget emot. IT-sjef på OTRUM mellan 2006 och 2014. Nu Senior Systemkonsulent på Endpoint Security AS.
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply