Befehle, um KeePass ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id DominikReichl.KeePass -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DominikReichl.KeePass -e --silentwinget uninstall --id DominikReichl.KeePass -e --silentNach Installer
64-Bit · EXE (Inno Setup) · Alle Benutzer
Stille Installation
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\keepass"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KeePassPasswordSafe2_is1
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i download /qn /norestartProtokoll schreiben
msiexec /i download /qn /norestart /l*v "%TEMP%\keepass-install.log"Deinstallation
msiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart- MSI-Produktcode
- {33F0E718-1110-4F95-A59B-230A62C02DE5}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33F0E718-1110-4F95-A59B-230A62C02DE5}
- UpgradeCode
- {F2F19898-4F86-4940-9BFA-426574CE03E1}
ARM64 · EXE (Inno Setup) · Alle Benutzer
Stille Installation
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\keepass"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KeePassPasswordSafe2_is1
ARM64 · MSI · Alle Benutzer
Stille Installation
msiexec /i download /qn /norestartProtokoll schreiben
msiexec /i download /qn /norestart /l*v "%TEMP%\keepass-install.log"Deinstallation
msiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart- MSI-Produktcode
- {33F0E718-1110-4F95-A59B-230A62C02DE5}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33F0E718-1110-4F95-A59B-230A62C02DE5}
- UpgradeCode
- {F2F19898-4F86-4940-9BFA-426574CE03E1}
32-Bit · EXE (Inno Setup) · Alle Benutzer
Stille Installation
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\keepass"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\KeePassPasswordSafe2_is1
32-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i download /qn /norestartProtokoll schreiben
msiexec /i download /qn /norestart /l*v "%TEMP%\keepass-install.log"Deinstallation
msiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart- MSI-Produktcode
- {33F0E718-1110-4F95-A59B-230A62C02DE5}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{33F0E718-1110-4F95-A59B-230A62C02DE5}
- UpgradeCode
- {F2F19898-4F86-4940-9BFA-426574CE03E1}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
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 install-keepass.ps1
$url = 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.61.1/KeePass-2.61.1.msi/download'
$sha256 = '5A1D0D573D2CB6278394F75FDBFF4D05DCE44EAC6F522C7B43F5E637F77B46C0'
$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 msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait 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 install-keepass.ps1
$url = 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.61.1/KeePass-2.61.1.msi/download'
$sha256 = '5A1D0D573D2CB6278394F75FDBFF4D05DCE44EAC6F522C7B43F5E637F77B46C0'
$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 msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait 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 install-keepass.ps1
$url = 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.61.1/KeePass-2.61.1.msi/download'
$sha256 = '5A1D0D573D2CB6278394F75FDBFF4D05DCE44EAC6F522C7B43F5E637F77B46C0'
$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 msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait