Advertisement
7-Zip icon

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

Application7-ZipInstall scopeMachine
Version26.01Requires adminYes
PublisherIgor PavlovRestart behaviorNo restart
Installer typeMSIDetection methodFile
Installer file7zip.7zip.26.01.X64.msiDownloaddownload
Silent installAvailableArchitecturex64
Silent uninstallAvailableHomepagehttps://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.

01

Download or copy the installer file to a local folder, for example C:\Installers.

02

Open Command Prompt as Administrator.

03

Switch to the installer folder.

cd /d "C:\Installers"
04

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.

01

Download or copy the installer file to a local folder, for example C:\Installers.

02

Open PowerShell as Administrator.

03

Switch to the installer folder.

Set-Location "C:\Installers"
04

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.

RequirementAdministrator privileges required
Install scopeMachine
Restart behaviorNo 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 version26.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
Advertisement

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.

01

Open Command Prompt as Administrator.

02

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.

01

Open PowerShell as Administrator.

02

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
Advertisement

Frequently Asked Questions

Can I silently install 7-Zip on Windows?
Yes. This guide uses MSI switches for a completely unattended installation of 7-Zip 26.01 without user prompts. It is commonly used with Intune, SCCM, PDQ Deploy, and RMM tools.
Do I need administrator privileges to install 7-Zip?
Yes. Installing 7-Zip requires elevated permissions. Run it as Administrator or deploy it using the SYSTEM context.
Will installing 7-Zip restart the computer?
No. The 7-Zip install command includes REBOOT=ReallySuppress, which prevents any automatic restart during deployment.
How do I verify 7-Zip installed successfully?
To confirm 7-Zip installed correctly, use the detection rule from this guide: file path, registry key, MSI product code, or MSIX package family name. These are commonly supported by Intune, SCCM, and PDQ.
How do I silently uninstall 7-Zip?
To silently remove 7-Zip, use msiexec /x with the MSI product code and /qn REBOOT=ReallySuppress.
Which deployment tools support these commands?
These 7-Zip commands are commonly used with Intune, SCCM/MECM, PDQ Deploy, ManageEngine, NinjaOne, Datto RMM, Atera, and Action1. Other deployment tools usually work as long as they can run the command in the required SYSTEM or User context.

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.

Advertisement