KeePass silent install and uninstall

KeePass, the free, open source, light-weight and easy-to-use password manager.

MSI x86x64arm64 Updated 19 Oct 2026
Vendor
Dominik Reichl
Category
Security
Installer
Windows Installer (MSI)
Architecture
x86, x64, arm64
Checked version
2.61.1
winget ID
DominikReichl.KeePass
Product code
{33F0E718-1110-4F95-A59B-230A62C02DE5}
License
GPL-2.0
Download
Official download

Silent install

msiexec /i KeePass-setup.msi /qn /norestart
  1. Download the installer from the direct download link.
  2. Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
  3. Change to the folder with the installer, for example cd C:\Temp.
  4. Run the command above. Adjust the file name if you downloaded a different version.

Or install with winget

winget install --id DominikReichl.KeePass --exact --silent --scope machine --accept-package-agreements --accept-source-agreements

Silent uninstall

MSI
msiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart
winget
winget uninstall --id DominikReichl.KeePass --exact --silent --accept-source-agreements

Run the command from an elevated Command Prompt.

About the Windows Installer (MSI) installer

MSI packages are installed with msiexec and share the same switches. Public properties (NAME=value) are passed on the same command line.

SwitchWhat it does
/qnNo user interface.
/norestartNever restart, even if the installation needs it.
/l*v "C:\Temp\install.log"Verbose log file, the first place to look when an install fails.
ALLUSERS=1Install for all users (per-machine).
TRANSFORMS="file.mst"Apply a transform with your own settings.

Deploy KeePass with Microsoft Intune

Package the installer as a Win32 app (.intunewin) and use these settings:

Install commandmsiexec /i KeePass-setup.msi /qn /norestart
Uninstall command msiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart
Install behaviorSystem
Detection ruleMSI product code {33F0E718-1110-4F95-A59B-230A62C02DE5}

More security apps