Wingetlywingetly
← Back to MongoDB

Silent install command for MongoDB 8.3.7

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.

One-line silent install (x64, machine scope)
msiexec.exe /i mongodb-windows-x86_64-8.3.7-signed.msi /quiet /norestart ADDLOCAL=ServerService REBOOT=ReallySuppress

Run from the directory containing mongodb-windows-x86_64-8.3.7-signed.msi. Download the installer from the Direct link below first. Run an elevated terminal (Run as Administrator) for machine-scope installs.

ArchitectureScopeTypeSilent switchesSource
x64machineMSI
WiX
Custom: ADDLOCAL=ServerService REBOOT=ReallySuppress
Default for WiX (MSI)
  • Declared by publisher means the switches come straight from the winget manifest the publisher (or community maintainer) submitted to microsoft/winget-pkgs.
  • Default for {type} means the manifest doesn't specify silent switches, so the framework's standard switches are shown (e.g. /S for NSIS, /quiet /norestart for MSI).

Frequently asked questions

What is the silent install command for MongoDB?
MongoDB uses MSI (WiX). After downloading the installer, run: msiexec.exe /i mongodb-windows-x86_64-8.3.7-signed.msi /quiet /norestart ADDLOCAL=ServerService REBOOT=ReallySuppress. The silent install switches are /quiet /norestart.
How do I deploy MongoDB via Intune or Configuration Manager?
Use winget for the cleanest path: winget install --id MongoDB.Server --exact 8.3.7 --silent --accept-package-agreements --accept-source-agreements. If winget isn't viable in your environment, package the publisher's installer directly using the silent switches above.

Prefer the winget route? See the full MongoDB install page.