Wingetlywingetly
← All apps

Microsoft ODBC Driver 17 for SQL Server

by Microsoft Corporationv17.11.1.1

Last updated

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

Install with winget

$ winget install --id Microsoft.msodbcsql.17 --exact --version 17.11.1.1

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Silent install command for Microsoft ODBC Driver 17 for SQL Server

Microsoft ODBC Driver 17 for SQL Server uses MSI (WiX). The silent install switches are /quiet /norestart IACCEPTMSODBCSQLLICENSETERMS=YES.

One-line silent install (x64, machine scope)
msiexec.exe /i msodbcsql.msi /quiet /norestart IACCEPTMSODBCSQLLICENSETERMS=YES

See the full silent install reference for Microsoft ODBC Driver 17 for SQL Server

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

About

The Microsoft ODBC Drivers for SQL Server are stand-alone ODBC drivers which provide an application programming interface (API) implementing the standard ODBC interfaces to Microsoft SQL Server.

The Microsoft ODBC Driver for SQL Server can be used to create new applications. You can also upgrade your older applications which currently use an older ODBC driver. The ODBC Driver for SQL Server supports connections to Azure SQL Database, Azure Synapse Analytics, and SQL Server.

Installers · v17.11.1.1

ArchitectureTypeScopeInstallDownload
x86MSI
WiX
machineDirect
x86MSI
WiX
machineDirect
x86MSI
WiX
machineDirect
x86MSI
WiX
machineDirect
x86MSI
WiX
machineDirect
x86MSI
WiX
machineDirect
x86MSI
WiX
machineDirect
x86MSI
WiX
machineDirect
x86MSI
WiX
machineDirect
x86MSI
WiX
machineDirect
x86MSI
WiX
machineDirect
x64MSI
WiX
machineDirect
x64MSI
WiX
machineDirect
x64MSI
WiX
machineDirect
x64MSI
WiX
machineDirect
x64MSI
WiX
machineDirect
x64MSI
WiX
machineDirect
x64MSI
WiX
machineDirect
x64MSI
WiX
machineDirect
x64MSI
WiX
machineDirect
x64MSI
WiX
machineDirect
x64MSI
WiX
machineDirect

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

23 known CVEs via NVD

  • high8.8Patched in wingetCVE-2024-29043affects before 17.10.6.1, 18.3.3.1Apr 9, 2024

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

  • high8.8Patched in wingetCVE-2024-28943affects before 17.10.6.1, 18.3.3.1Apr 9, 2024

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

  • high8.8Patched in wingetCVE-2024-28941affects before 17.10.6.1, 18.3.3.1Apr 9, 2024

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

  • high8.8Patched in wingetCVE-2024-28938affects before 17.10.6.1, 18.3.3.1Apr 9, 2024

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

  • high8.8Patched in wingetCVE-2024-28937affects before 17.10.6.1, 18.3.3.1Apr 9, 2024

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

  • high8.8Patched in wingetCVE-2024-28936affects before 17.10.6.1, 18.3.3.1Apr 9, 2024

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

  • high8.8Patched in wingetCVE-2024-28935affects before 17.10.6.1, 18.3.3.1Apr 9, 2024

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

  • high8.8Patched in wingetCVE-2024-28934affects before 17.10.6.1, 18.3.3.1Apr 9, 2024

    Microsoft ODBC Driver for SQL Server Remote Code Execution Vulnerability

Showing 8 of 23. Source: NVD, updated 4h ago. Patch status is best-effort: NVD's fix version is compared against the latest version in winget, but the two version formats don't always align. Confirm with the vendor advisory before treating any specific build as safe.

See a CVE that affects your fleet? Push the patched version to Intune in one click with Pckgr - automated patching is the only way to keep up.

Related apps

  • PowerShellMicrosoft Corporation
    Microsoft.PowerShellv7.6.6.0

    PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.

  • Windows App Runtime 1.8Microsoft Corporation
    Microsoft.WindowsAppRuntime.1.8v1.8.10

    Microsoft Windows App Runtime 1.8

  • Gaming Services Repair Tool for PCMicrosoft Corporation
    Microsoft.Gaming.GamingServicesRepairToolv10.0.26100.9546 (WinBuild.160101.0800)

    A portable standalone tool to repair and fix problems with the following apps:Xbox App; Xbox Identity Provider; Game Bar; and Gaming Services. It can (and will) also try to update or install those apps, though not silently.

  • Microsoft Visual C++ v14 Redistributable (x64)Microsoft Corporation
    Microsoft.VCRedist.2015+.x64v14.51.36247.0

    The Microsoft Visual C++ v14 Redistributable Package (x64).

  • Microsoft .NET Windows Desktop Runtime 10.0Microsoft Corporation
    Microsoft.DotNet.DesktopRuntime.10v10.0.12

    .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

  • Visual Studio BuildTools 2026Microsoft Corporation
    Microsoft.VisualStudio.BuildToolsv18.10.0

    These Build Tools allow you to build Visual Studio projects from a command-line interface.

More from Microsoft Corporation or browse odbc, sql, sql-server.

Frequently asked questions

How do I install Microsoft ODBC Driver 17 for SQL Server on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id Microsoft.msodbcsql.17 --exact --version 17.11.1.1. winget downloads the installer from Microsoft Corporation and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install Microsoft ODBC Driver 17 for SQL Server silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id Microsoft.msodbcsql.17 --exact 17.11.1.1 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
What are the silent install switches for Microsoft ODBC Driver 17 for SQL Server?
Microsoft ODBC Driver 17 for SQL Server uses MSI (WiX). Run the downloaded installer with: msiexec.exe /i msodbcsql.msi /quiet /norestart IACCEPTMSODBCSQLLICENSETERMS=YES. The silent switches are /quiet /norestart IACCEPTMSODBCSQLLICENSETERMS=YES.
How do I uninstall Microsoft ODBC Driver 17 for SQL Server via winget?
Run: winget uninstall --id Microsoft.msodbcsql.17 --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from Microsoft ODBC Driver 17 for SQL Server's Apps & Features entry.
Is Microsoft ODBC Driver 17 for SQL Server free?
Microsoft ODBC Driver 17 for SQL Server is distributed under Proprietary. Refer to the publisher (https://learn.microsoft.com/sql/connect/odbc/microsoft-odbc-driver-for-sql-server) for the full license terms - Wingetly itself does not charge for installation.
Does Microsoft ODBC Driver 17 for SQL Server work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls Microsoft ODBC Driver 17 for SQL Server directly from the publisher.
How do I keep Microsoft ODBC Driver 17 for SQL Server up to date?
Run winget upgrade --id Microsoft.msodbcsql.17 --exact, or winget upgrade --all to update everything winget tracks. We index 2 versions of Microsoft ODBC Driver 17 for SQL Server from microsoft/winget-pkgs.

Recent versions

  • 17.11.1.1latest
  • 17.10.6.1