Security
Inno Setup
Verified recipe
KeePass 2 Silent Install Switches (Intune & SCCM)
Silent install switches
/VERYSILENT /NORESTART
Silent uninstall switches: /VERYSILENT
Intune Win32 app settings
Paste these into the Program and Detection rules steps when you add KeePass 2 as a Win32 app.
Install command
KeePass-Setup.exe /VERYSILENT /NORESTARTUninstall command
"C:\Program Files\KeePass Password Safe 2\unins000.exe" /VERYSILENTDetection rule (File)
C:\Program Files\KeePass Password Safe 2\KeePass.exe- Device restart behavior: no restart required.
SCCM / ConfigMgr deployment type
Installation program
KeePass-Setup.exe /VERYSILENT /NORESTARTUninstall program
"C:\Program Files\KeePass Password Safe 2\unins000.exe" /VERYSILENTDeployment notes
Password manager. .NET Framework required. Plugins via PLGX files.
Inno Setup installers use /VERYSILENT /SUPPRESSMSGBOXES /NORESTART for a fully silent run; /SP- skips the "This will install…" prompt.
FAQ
- What are the silent install switches for KeePass 2?
- KeePass 2 installs silently with /VERYSILENT /NORESTART (it uses a Inno Setup installer). Full command: KeePass-Setup.exe /VERYSILENT /NORESTART
- How do I silently uninstall KeePass 2?
- Run: "C:\Program Files\KeePass Password Safe 2\unins000.exe" /VERYSILENT
- What detection rule should I use for KeePass 2 in Intune?
- Use a file detection rule. File exists: C:\Program Files\KeePass Password Safe 2\KeePass.exe.
- How do I deploy KeePass 2 with Intune?
- Wrap the installer as a Win32 app (.intunewin), set the install and uninstall commands above, and add the detection rule. InstallMage can build the .intunewin and generate these commands from the KeePass 2 installer in under three minutes.