Keepass - Installation Configuration
About
Keepass configuration
Schema (Integration|definitions)
Go to: Menu > Tools > Options > Integration > URL Overrides
- {URL}: full URL
- {URL:RMVSCM}: URL without schema
- &&: command chain
cmd
The cmd:// prefix run the “URL” as a Windows command.
Rdp
Add:
- rdp. Usage Url example: rdp://ip or rdp://hostname
cmd://cmd /c "cmdkey /generic:TERMSRV/{URL:RMVSCM} /user:{USERNAME} /pass:{PASSWORD} && mstsc /v:{URL:RMVSCM} /f && timeout /t 5 /nobreak && cmdkey /delete:TERMSRV/{URL:RMVSCM}"
where:
- cmdkey.exe allow to create, display, or delete stored credentials in Windows
- When a connection starts by using the /v parameter, the display setting that is saved in the Default.rdp file is used.