SwitchHunt / catalog
KeePass Password Safe - Silent Install Switch
The hand-curated silent install command for KeePass Password Safe on Windows, plus its silent uninstall command - for unattended, quiet, fleet-wide deploys. Copy, paste, ship - smoke-test in a throwaway VM first.
Silent install command
msiexec /i "installer.msi" /qn Silent uninstall command
msiexec /x "installer.msi" /qn Replace installer.msi with the actual installer filename (or its full path).
Notes & gotchas
Use the MSI for fleet deploys (the Setup.exe alternative is Inno Setup: {file} /VERYSILENT /ALLUSERS). Options go through one property, KPS_OPTIONS - a comma list where a leading ! turns an option off. Downloads come via SourceForge, which serves an HTML page instead of the file to some scripted downloaders - check you actually got a ~3 MB MSI before you package it.
Install options
Add any of these to the install command. Values shown are the useful setting; "..." means you supply your own.
| Option | What it does |
|---|---|
KPS_OPTIONS=!DesktopIcon,!PreLoad | No desktop icon, no preload at logon (options: StartMenuIcons, DesktopIcon, NGen, PreLoad). |
Lab-tested
On 2026-10-12 we ran the install command above as SYSTEM (how deployment tools run it) on a Windows 11 VM against KeePass Password Safe 2.61.1, and confirmed the app showed up in Add/Remove Programs - not just that the installer exited 0. The uninstall command above then removed it. Vendors change installers between versions, so smoke-test a new one before you ship it fleet-wide.
FAQ
What is the silent install command for KeePass Password Safe?
Run: msiexec /i "installer.msi" /qn
How do I silently uninstall KeePass Password Safe?
Run: msiexec /x "installer.msi" /qn
Any gotchas installing KeePass Password Safe unattended?
Use the MSI for fleet deploys (the Setup.exe alternative is Inno Setup: {file} /VERYSILENT /ALLUSERS). Options go through one property, KPS_OPTIONS - a comma list where a leading ! turns an option off. Downloads come via SourceForge, which serves an HTML page instead of the file to some scripted downloaders - check you actually got a ~3 MB MSI before you package it.
What install options does the KeePass Password Safe installer take?
KPS_OPTIONS=!DesktopIcon,!PreLoad: No desktop icon, no preload at logon (options: StartMenuIcons, DesktopIcon, NGen, PreLoad).
Got a different installer, or one that isn't in this list? Drop it into SwitchHunt and it reads the silent switches right in your browser, nothing uploaded.