SwitchHunt / catalog
KeePassXC - Silent Install Switch
The hand-curated silent install command for KeePassXC 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 LAUNCHAPPONEXIT=0 AUTOSTARTPROGRAM=0 Silent uninstall command
msiexec /x "installer.msi" /qn Replace installer.msi with the actual installer filename (or its full path).
Notes & gotchas
Two properties default ON: LAUNCHAPPONEXIT starts the app when the install finishes, and AUTOSTARTPROGRAM adds a run-at-logon entry for every user. Set both to 0 for a quiet fleet deploy. Needs the VC++ 2015-2022 x64 runtime.
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 |
|---|---|
LAUNCHAPPONEXIT=0 | Don't launch KeePassXC when the install finishes (default on). |
AUTOSTARTPROGRAM=0 | Don't start it at every user logon (default on). |
INSTALLDESKTOPSHORTCUT=1 | Add a desktop shortcut (default off). |
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 KeePassXC 2.7.12, 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.
Detection path
A file whose presence proves KeePassXC is installed - handy as an Intune / RMM detection rule:
C:\Program Files\KeePassXC\KeePassXC.exe FAQ
What is the silent install command for KeePassXC?
Run: msiexec /i "installer.msi" /qn LAUNCHAPPONEXIT=0 AUTOSTARTPROGRAM=0
How do I silently uninstall KeePassXC?
Run: msiexec /x "installer.msi" /qn
Any gotchas installing KeePassXC unattended?
Two properties default ON: LAUNCHAPPONEXIT starts the app when the install finishes, and AUTOSTARTPROGRAM adds a run-at-logon entry for every user. Set both to 0 for a quiet fleet deploy. Needs the VC++ 2015-2022 x64 runtime.
What install options does the KeePassXC installer take?
LAUNCHAPPONEXIT=0: Don't launch KeePassXC when the install finishes (default on). AUTOSTARTPROGRAM=0: Don't start it at every user logon (default on). INSTALLDESKTOPSHORTCUT=1: Add a desktop shortcut (default off).
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.