Utilities
NSIS
Verified recipe
7-Zip Silent Install Switches (Intune & SCCM)
Last verified November 2, 2026
Silent install switches
/S
Silent uninstall switches: /S
Intune Win32 app settings
Paste these into the Program and Detection rules steps when you add 7-Zip as a Win32 app.
Install command
7z2301-x64.exe /SUninstall command
"C:\Program Files\7-Zip\Uninstall.exe" /SDetection rule (File)
C:\Program Files\7-Zip\7z.exe- Device restart behavior: no restart required.
SCCM / ConfigMgr deployment type
Installation program
7z2301-x64.exe /SDeployment notes
Lightweight and reliable. Context menu integration automatic.
NSIS installers take /S for a silent install. The switch is case-sensitive, and /D=<path> (if used) must come last, unquoted.
Other 7-Zip installers
FAQ
- What are the silent install switches for 7-Zip?
- 7-Zip installs silently with /S (it uses a NSIS installer). Full command: 7z2301-x64.exe /S
- How do I silently uninstall 7-Zip?
- Run: "C:\Program Files\7-Zip\Uninstall.exe" /S
- What detection rule should I use for 7-Zip in Intune?
- Use a file detection rule. File exists: C:\Program Files\7-Zip\7z.exe.
- How do I deploy 7-Zip 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 7-Zip installer in under three minutes.