Wingetlywingetly
← Back to Microsoft OLE DB Driver for SQL Server

Silent install command for Microsoft OLE DB Driver for SQL Server 19.4.1.0

The exact silent switches the Microsoft OLE DB Driver for SQL Server 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)
msiexec.exe /i msoledbsql.msi /qn IACCEPTMSOLEDBSQLLICENSETERMS=YES

Run from the directory containing msoledbsql.msi. Download the installer from the Direct link below first.

ArchitectureScopeTypeSilent switchesSource
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
x64-MSI
WiX
Declared by publisher
  • 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 Microsoft OLE DB Driver for SQL Server?
Microsoft OLE DB Driver for SQL Server uses MSI (WiX). After downloading the installer, run: msiexec.exe /i msoledbsql.msi /qn IACCEPTMSOLEDBSQLLICENSETERMS=YES. The silent install switches are /qn IACCEPTMSOLEDBSQLLICENSETERMS=YES.
How do I deploy Microsoft OLE DB Driver for SQL Server via Intune or Configuration Manager?
Use winget for the cleanest path: winget install --id Microsoft.SQLServer.OLEDBDriver --exact 19.4.1.0 --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.
Where do these silent switches come from?
The switches marked "Declared by publisher" come from the winget manifest the publisher (or community maintainer) submitted to microsoft/winget-pkgs. Switches marked "Default for MSI (WiX)" come from the installer framework's documented defaults.

Prefer the winget route? See the full Microsoft OLE DB Driver for SQL Server install page.