Popular: Data updated October 27, 2026

Categories

Internet1,356
Communication321
Audio & video898
Graphics & design539
Office & productivity1,124
Developer tools3,134
AI tools529
Security & privacy385
System tools3,114
Games523
Education & science239
Network & IT284

KeePass silent install & uninstall

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

Dominik Reichl Password managers #48 Password managers

Commands for installing KeePass without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.

Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell

With winget

PowerShell
winget install --id DominikReichl.KeePass -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id DominikReichl.KeePass -e --silent
winget uninstall --id DominikReichl.KeePass -e --silent

By installer

64-bit · EXE (Inno Setup) · All users

Silent installdownload /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
Custom folderdownload /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\keepass"
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KeePassPasswordSafe2_is1

64-bit · MSI · All users

Silent installmsiexec /i download /qn /norestart
Write a logmsiexec /i download /qn /norestart /l*v "%TEMP%\keepass-install.log"
Uninstallmsiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart
MSI product code
{33F0E718-1110-4F95-A59B-230A62C02DE5}
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33F0E718-1110-4F95-A59B-230A62C02DE5}
UpgradeCode
{F2F19898-4F86-4940-9BFA-426574CE03E1}

ARM64 · EXE (Inno Setup) · All users

Silent installdownload /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
Custom folderdownload /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\keepass"
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KeePassPasswordSafe2_is1

ARM64 · MSI · All users

Silent installmsiexec /i download /qn /norestart
Write a logmsiexec /i download /qn /norestart /l*v "%TEMP%\keepass-install.log"
Uninstallmsiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart
MSI product code
{33F0E718-1110-4F95-A59B-230A62C02DE5}
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33F0E718-1110-4F95-A59B-230A62C02DE5}
UpgradeCode
{F2F19898-4F86-4940-9BFA-426574CE03E1}

32-bit · EXE (Inno Setup) · All users

Silent installdownload /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
Custom folderdownload /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\keepass"
Uninstall registry key
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\KeePassPasswordSafe2_is1

32-bit · MSI · All users

Silent installmsiexec /i download /qn /norestart
Write a logmsiexec /i download /qn /norestart /l*v "%TEMP%\keepass-install.log"
Uninstallmsiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart
MSI product code
{33F0E718-1110-4F95-A59B-230A62C02DE5}
Uninstall registry key
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{33F0E718-1110-4F95-A59B-230A62C02DE5}
UpgradeCode
{F2F19898-4F86-4940-9BFA-426574CE03E1}

PowerShell: download, verify, install

Downloads the official file, checks its SHA256 and installs it silently.

install-keepass.ps1
$url = 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.61.1/KeePass-2.61.1-Setup.exe/download'
$sha256 = '9923A8B228FE3D8FBE46979991F45D7E0D63F649766596DA191EB879B293D38D'
$file = Join-Path $env:TEMP 'download'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait

Most popular in Password managers

See all
  1. BitwardenA secure and free password manager for all of your devices.
  2. KeePassXCKeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
  3. KeeWebFree cross-platform password manager compatible with KeePass.
  4. Bitwarden CLIA secure and free password manager for all of your devices.
  5. 1PasswordTop-Rated Password Manager for Personal & Business Use
  6. Password SafePopular, secure, and convenient password manager.
  7. Ente AuthOpen source 2FA authenticator, with end-to-end encrypted backups.
  8. Yubico AuthenticatorAuthenticator to generate 2-step verification codes using your YubiKey
  9. ButtercupA free, open-source and cross-platform password manager.
  10. LastPassAn online password manager and form filler that makes web browsing easier and more secure.

More from Dominik Reichl

See all
  • KeePassKeePass is a free open source password manager

Tags

Share