The exact silent switches the MongoDB installer accepts, plus a one-line command you can paste into a script, Intune Win32 app, or Configuration Manager package.
msiexec.exe /i mongodb-windows-x86_64-8.3.4-signed.msi /quiet /norestart ADDLOCAL=ServerService REBOOT=ReallySuppress
Run from the directory containing mongodb-windows-x86_64-8.3.4-signed.msi. Download the installer from the Direct link below first. Run an elevated terminal (Run as Administrator) for machine-scope installs.
| Architecture | Scope | Type | Silent switches | Source |
|---|---|---|---|---|
| x64 | machine | MSI WiX | Custom: ADDLOCAL=ServerService REBOOT=ReallySuppress | Default for WiX (MSI) |
/S for NSIS, /quiet /norestart for MSI).Prefer the winget route? See the full MongoDB install page.