How to Silently Install 7-Zip
Manually installing 7-Zip across multiple Windows devices is tedious, but an unattended deployment makes the process faster, cleaner, and easier to standardize. This guide is built for IT admins who need a reliable way to deploy 7-Zip from Igor Pavlov using the verified silent install command, with admin rights and machine-wide scope in mind. It also covers practical detection rule considerations so you can package and roll out the app confidently through Intune, SCCM, or PDQ.
Overview
| Application | 7-Zip | Install scope | Machine |
|---|---|---|---|
| Version | 26.01 | Requires admin | Yes |
| Publisher | Igor Pavlov | Restart behavior | No restart |
| Installer type | MSI | Detection method | File |
| Installer file | 7zip.7zip.26.01.X64.msi | Download | download↓ |
| Silent install | Available | Architecture | x64 |
| Silent uninstall | Available | Homepage | https://7-zip.org/ |
Silent Install Steps
Run any one of the methods below to install 7-Zip silently with zero user interaction. Both Command Prompt and PowerShell produce the same result — use whichever fits your deployment workflow.
Method 1: Install with Command Prompt
Run the installer from an elevated Command Prompt.
Download or copy the installer file to a local folder, for example C:\Installers.
Open Command Prompt as Administrator.
Switch to the installer folder.
cd /d "C:\Installers"
Run the silent install command.
msiexec /i "7zip.7zip.26.01.X64.msi" /qn REBOOT=ReallySuppress ALLUSERS=1
Method 2: Install with PowerShell
Run the same silent install command through PowerShell.
Download or copy the installer file to a local folder, for example C:\Installers.
Open PowerShell as Administrator.
Switch to the installer folder.
Set-Location "C:\Installers"
Run the silent install command.
$Installer = '7zip.7zip.26.01.X64.msi'
& msiexec.exe /i $Installer /qn REBOOT=ReallySuppress ALLUSERS=1
exit $LASTEXITCODE
Deployment Notes
Key facts to confirm before rolling this out to production machines — permissions required, scope of install, and reboot behavior.
| Requirement | Administrator privileges required |
|---|---|
| Install scope | Machine |
| Restart behavior | No restart expected |
Detection Rules
Configure your deployment tool with the detection rule below to confirm a successful install of 7-Zip. The same rule works for Microsoft Intune, SCCM, PDQ Deploy, and most RMM platforms — just paste the values into the matching fields.
File detection
| File path | %ProgramFiles%\7-Zip\7z.exe |
|---|---|
| Expected version | 26.1.0.0 |
PowerShell detection script
$Path = '$env:ProgramFiles\7-Zip\7z.exe'
if (Test-Path $Path) {
$Version = (Get-Item $Path).VersionInfo.ProductVersion
if ($Version -eq '26.1.0.0') { exit 0 }
}
exit 1
Silent Uninstall Steps
Remove 7-Zip silently from one machine or your entire fleet. The commands below uninstall without prompts and suppress automatic reboots so you control the timing.
Method 1: Uninstall with Command Prompt
Run the uninstall command from an elevated Command Prompt.
Open Command Prompt as Administrator.
Run the silent uninstall command.
msiexec /x "{23170F69-40C1-2702-2601-000001000000}" /qn REBOOT=ReallySuppress
Method 2: Uninstall with PowerShell
Run the same silent uninstall command through PowerShell.
Open PowerShell as Administrator.
Run the silent uninstall command.
$ProductCode = '{23170F69-40C1-2702-2601-000001000000}'
& msiexec.exe /x $ProductCode /qn REBOOT=ReallySuppress
exit $LASTEXITCODE
Deployment Examples
Drop one of the snippets below into your deployment tool, Group Policy, or scheduled task. Each script wraps the silent install command for 7-Zip as a batch file or PowerShell script — copy, save, and run.
Batch file example
Save the following content as install-7-zip.bat in the same folder as the installer.
@echo off
cd /d "%~dp0"
msiexec /i "7zip.7zip.26.01.X64.msi" /qn REBOOT=ReallySuppress ALLUSERS=1
exit /b %errorlevel%
PowerShell script example
Save the following content as install-7-zip.ps1 in the same folder as the installer.
Set-Location -Path $PSScriptRoot
$Installer = '7zip.7zip.26.01.X64.msi'
& msiexec.exe /i $Installer /qn REBOOT=ReallySuppress ALLUSERS=1
exit $LASTEXITCODE
Frequently Asked Questions
Can I silently install 7-Zip on Windows?
Do I need administrator privileges to install 7-Zip?
Will installing 7-Zip restart the computer?
How do I verify 7-Zip installed successfully?
How do I silently uninstall 7-Zip?
msiexec /x with the MSI product code and /qn REBOOT=ReallySuppress.Which deployment tools support these commands?
Troubleshooting
If the install fails, exits with a non-zero code, or leaves no trace on the target machine, work through the checks below. Most issues come down to permissions, paths, or exit code handling.
| Run as administrator | Make sure Command Prompt or PowerShell is opened as Administrator. This installer writes to a machine-wide location and will fail silently without elevated permissions. |
|---|---|
| Verify the installer file name | Confirm that the installer file name matches the command shown in this guide: 7zip.7zip.26.01.X64.msi. |
| Run from the correct folder | Run the command from the folder that contains the installer file. For batch or PowerShell deployments, place the script and installer in the same folder. |
| Check exit codes | If the installer returns a non-zero exit code, review the installer log or deployment tool logs. Some packages may use additional success exit codes. |
| Restart if required | If the application does not appear immediately after installation, sign out and sign back in, or restart the device — this refreshes Start menu shortcuts, file associations, and Path entries written by the installer. |
| Validate detection rules | If your deployment tool reports the app as not installed, verify that the detection rule matches the installed version, MSI product code, registry key, or file path. Use the detection rule above to confirm whether the application was installed successfully. |
Related Apps
Need another package? Here are similar silent install guides you can deploy next.

