winget install --id=KeePassRDP.KeePassRDP -e
KeePassRDP is a plugin for KeePass 2.x that adds useful options to connect to the URL of an entry with RDP.
KeePassRDP is a plugin for KeePass 2.x designed to enhance remote desktop protocol (RDP) connectivity by adding useful options to connect to the URL of an entry directly. It simplifies managing and connecting to RDP resources within KeePass, streamlining workflows for users who frequently access remote systems.
Key Features:
mstsc.exe
parameters.winget install KeePassRDP.KeePassRDP
.Audience & Benefit:
Ideal for system administrators, IT professionals, and managed service providers (MSPs) who need to securely manage multiple RDP connections. KeePassRDP enhances productivity by automating credential handling, reducing manual steps, and offering customizable tools to suit specific workflows. Its secure credential management ensures compliance with best practices while maintaining efficiency in remote access operations.
KeePassRDP is a plugin for KeePass 2.x that adds useful options to connect to the URL of an entry with RDP.
(e.g. %ProgramFiles%\KeePass Password Safe 2\Plugins)
> winget install KeePassRDP.KeePassRDP
To connect to target computers using RDP select one or multiple entries containing the IP-address(es) or hostname(s), right-click and select KeePassRDP > Open RDP connection
(or simply press CTRL + M).
A selection dialog will be shown when multiple credentials are found. To use one of the other connection options select the corresponding item from the context menu, or press the configurable keyboard shortcut.
mstsc.exe /admin
parameter)mstsc.exe
parameters (/f
, /span
, /multimon
, /w
, /h
, /public
, /restrictedAdmin
, /remoteGuard
)See how to translate.
How we use KeePassRDP on a daily basis (I work for an MSP where KeePass securely stores credentials for accessing customer domains and computers).
The KeePass database could be structured like this, where each group contains entries for a specific customer:
>
If there is only one jumphost or something similiar, we usually place a single entry including the credentials directly into the customer group:
>
When a customer has more hosts and/or requires multiple accounts, we create a subgroup named RDP (trigger group) inside the customer group:
>
Afterwards entries for target hosts can be added to the trigger group:
>
When using the entries matching credentials are searched from the parent (customer) group (by default they will be looked up recursively within all subgroups):
>
Select one or more entries in the RDP group, press CTRL + M and KeePassRDP will show a dialog with filtered account entries (matching titles against a configurable regular expression, e.g. domain-admin, local user, ...) to connect to target hosts (using credentials).
>
Finally just choose the credential you want to use and click GO (or press Enter).
>
>
Fully configurable from within the KeePassRDP options form.
>
Visibility of items is configurable from within the KeePassRDP options form.
>
Customizable from within the KeePassRDP options form.
>
Can be activated from within the KeePassRDP options form.
>
A certificate for signing .rdp files can be selected or generated (self-signed) on the same page.
>
KeePassRDP can be used to manage and shadow sessions on remote desktop/terminal servers.
>
Both of credential picker and executable can be configured to run on an isolated desktop, preventing global keyboard and mouse hooks (keyloggers) from capturing the input.
An additional toolbar is displayed when the secure desktop is in use.
>
The plugin basically calls the default mstsc.exe
with the /v:
(and optionally other) parameter(s) to connect.
Opening a connection with credentials will save the selected credential(s) into the Windows credential manager ("vault") for access by the mstsc.exe
process.
The credential(s) will then be removed depending on how KeePassRDP is configured.
When using .rdp files a temporary file is created and removed after the mstsc.exe
process exits.
Configurable from within the KeePassRDP options form.
>
You can use Resources.de.resx as a starting point.
> resgen.exe KeePassRDP.es-ES.resx
KeePassRDP.es-ES.resources
file to %AppData%\KeePass
.The following example will extract the .plgx file and overwrite it in the target folder:
> KeePassRDP_v2.3.exe /Q:A /C /T:"%ProgramFiles%\KeePass Password Safe 2\Plugins"
When using the msi setup, the installation directory is determined automatically:
> KeePassRDP_v2.3.msi /qb
Just clone the repository:
> git clone https://github.com/iSnackyCracky/KeePassRDP.git
Open the solution file (KeePassRDP.sln) with Visual Studio (2022) and build the KeePassRDP project:
>
You should get ready-to-use .plgx, .zip, and .exe files like the ones from the releases. To get an msi file build the KeePassRDPSetup project.
KeePassRDP makes use of the following third-party libraries: