KeePassToRDP (more commonly known and maintained as KeePassRDP on GitHub) is an open-source plugin for the KeePass 2.x password manager. It allows system administrators and IT professionals to launch Remote Desktop Protocol (RDP) sessions directly from KeePass using the server credentials stored within an entry. Core Purpose & Utility
When managing multiple servers, manually opening the Windows Remote Desktop client (mstsc.exe), typing the IP address, and copying/pasting the username and password can be incredibly tedious.
KeePassToRDP automates this entire flow. It leverages KeePass’s secure database storage to securely pass the host URL/IP, username, and password straight into the RDP environment, bypassing manual data entry altogether. How to Install It
Download: Grab the latest release (distributed as a .plgx file, .msi, or .zip) from the KeePassRDP GitHub Repository.
Move File: Copy the KeePassRDP.plgx file into your local KeePass plugins directory (typically located at %ProgramFiles%\KeePass Password Safe 2\Plugins).
Restart: Fully close and reopen your KeePass Password Safe application. The plugin will compile automatically on launch. Native Built-In Alternative (URL Overrides)
If you prefer not to install third-party plugins due to security audits, you can achieve the exact same functionality natively using KeePass’s URL Overrides feature.
By creating a custom command line rule, KeePass will instruct Windows to temporally pass the credentials to the RDP client. Here is how to configure it:
In KeePass, navigate to Tools ➔ Options ➔ Integration tab. Click on URL Overrides and press Add. Fill in the following parameters: Scheme: rdp URL Override:
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}” Use code with caution. Save the changes.
In your entry’s URL field, simply type rdp://[SERVER_IP_OR_HOSTNAME]. Pressing Ctrl + U will instantly launch a secure RDP session to that server.
If you are trying to deploy this for a team or need advanced options, tell me:
Leave a Reply