KeePass silent install and uninstall
KeePass, the free, open source, light-weight and easy-to-use password manager.
- 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 - Download the installer from the direct download link.
- Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
- Change to the folder with the installer, for example
cd C:\Temp. - 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
msiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart 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.
| Switch | What it does |
|---|---|
/qn | No user interface. |
/norestart | Never 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=1 | Install 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 command | msiexec /i KeePass-setup.msi /qn /norestart |
|---|---|
| Uninstall command | msiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart |
| Install behavior | System |
| Detection rule | MSI product code {33F0E718-1110-4F95-A59B-230A62C02DE5} |