Microsoft ODBC Driver 18 for SQL Server silent install and uninstall

The stand-alone ODBC drivers providing an application programming interface (API) that implements the standard ODBC interfaces to Microsoft SQL Server.

MSI x86x64arm64 Updated 19 Oct 2026
Vendor
Microsoft Corporation
Category
Runtimes
Installer
Windows Installer (MSI, built with WiX)
Architecture
x86, x64, arm64
Checked version
18.7.1.1
winget ID
Microsoft.msodbcsql.18
Product code
{3BDB4B75-1142-441B-9313-FFE275EFEB34}
License
Proprietary
Download
Official download

Silent install

msiexec /i msodbcsql.msi /quiet /norestart IACCEPTMSODBCSQLLICENSETERMS=YES
  1. Download the installer from the direct download link.
  2. Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
  3. Change to the folder with the installer, for example cd C:\Temp.
  4. Run the command above. Adjust the file name if you downloaded a different version.

Or install with winget

winget install --id Microsoft.msodbcsql.18 --exact --silent --scope machine --accept-package-agreements --accept-source-agreements

Silent uninstall

MSI
msiexec /x {3BDB4B75-1142-441B-9313-FFE275EFEB34} /qn /norestart
winget
winget uninstall --id Microsoft.msodbcsql.18 --exact --silent --accept-source-agreements

Run the command from an elevated Command Prompt.

About the Windows Installer (MSI, built with WiX) installer

An MSI built with the WiX Toolset. It is installed with msiexec and accepts the standard MSI switches.

SwitchWhat it does
/qnNo user interface.
/norestartNever restart, even if the installation needs it.
/l*v "C:\Temp\install.log"Verbose log file.

Deploy Microsoft ODBC Driver 18 for SQL Server with Microsoft Intune

Package the installer as a Win32 app (.intunewin) and use these settings:

Install commandmsiexec /i msodbcsql.msi /quiet /norestart IACCEPTMSODBCSQLLICENSETERMS=YES
Uninstall command msiexec /x {3BDB4B75-1142-441B-9313-FFE275EFEB34} /qn /norestart
Install behaviorSystem
Detection ruleMSI product code {3BDB4B75-1142-441B-9313-FFE275EFEB34}

More runtimes apps