The exact silent switches the Windows Subsystem for Linux installer accepts, plus a one-line command you can paste into a script, Intune Win32 app, or Configuration Manager package.
msiexec.exe /i wsl.2.7.8.0.x64.msi /quiet /norestart
Run from the directory containing wsl.2.7.8.0.x64.msi. Download the installer from the Direct link below first.
| Architecture | Scope | Type | Silent switches | Source |
|---|---|---|---|---|
| x64 | - | MSI WiX | Default for WiX (MSI) | |
| x64 | - | MSIX | none required | Inherently silent |
| arm64 | - | MSI WiX | Default for WiX (MSI) | |
| arm64 | - | MSIX | none required | Inherently silent |
/S for NSIS, /quiet /norestart for MSI).Prefer the winget route? See the full Windows Subsystem for Linux install page.