Microsoft SQL Server 2012 Native Client Silent Install (How-To Guide)

Microsoft SQL Server 2012 Native Client is a stand-alone data access application programming interface (API), used for both OLE DB and ODBC. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of the Microsoft SQL Server 2012 Native Client from the command line using the MSI installer.

How to Install Microsoft SQL Server 2012 Native Client Silently

Microsoft SQL Server 2012 Native Client Silent Install (MSI) on 32-bit Systems

  1. Navigate to: https://www.microsoft.com/en-us/download/details.aspx?id=50402
  2. Select the ENU\x86\sqlncli.msi
  3. Download the sqlncli.msi to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: MsiExec.exe /i sqlncli.msi IACCEPTSQLNCLILICENSETERMS=YES /qn
  7. Press Enter

After a few moments you will find Microsoft SQL Server 2012 Native Client entries in the Installation Directory and Programs and Features in the Control Panel.

Software Title:Microsoft SQL Server 2012 Native Client
Vendor:Microsoft Corporation
Version:11.0.7001.0
Architecture:32-bit
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i sqlncli.msi IACCEPTSQLNCLILICENSETERMS=YES /qn
Silent Uninstall Switch:MsiExec.exe /x {CC4970BA-B7DD-46E9-8941-192D6246DB5F} /qn
Repair Command:MsiExec.exe /fa {CC4970BA-B7DD-46E9-8941-192D6246DB5F} /qn
Download Link:https://www.microsoft.com/en-us/download/details.aspx?id=50402
PowerShell Script:https://silentinstallhq.com/microsoft-sql-server-2012-native-client-install-and-uninstall-powershell/

Microsoft SQL Server 2012 Native Client Silent Install (MSI) on 64-bit Systems

  1. Navigate to: https://www.microsoft.com/en-us/download/details.aspx?id=50402
  2. Select the ENU\x64\sqlncli.msi
  3. Download the sqlncli.msi to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: MsiExec.exe /i sqlncli.msi IACCEPTSQLNCLILICENSETERMS=YES /qn
  7. Press Enter

After a few moments you will find Microsoft SQL Server 2012 Native Client entries in the Installation Directory and Programs and Features in the Control Panel.

Software Title:Microsoft SQL Server 2012 Native Client
Vendor:Microsoft Corporation
Version:11.0.7001.0
Architecture:64-bit
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i sqlncli.msi IACCEPTSQLNCLILICENSETERMS=YES /qn
Silent Uninstall Switch:MsiExec.exe /x {B9274744-8BAE-4874-8E59-2610919CD419} /qn
Repair Command:MsiExec.exe /fa {B9274744-8BAE-4874-8E59-2610919CD419} /qn
Download Link:https://www.microsoft.com/en-us/download/details.aspx?id=50402
PowerShell Script:https://silentinstallhq.com/microsoft-sql-server-2012-native-client-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Create an Installation Log File

The Microsoft SQL Server 2012 Native Client installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

Microsoft SQL Server 2012 Native Client Silent Install with Logging (MSI)

MsiExec.exe /i sqlncli.msi IACCEPTSQLNCLILICENSETERMS=YES /qn /L*v "%WINDIR%\Temp\SQLNativeClient-Install.log"

How to Uninstall Microsoft SQL Server 2012 Native Client Silently

Check out the Microsoft SQL Server 2012 Native Client Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

Microsoft SQL Server 2012 Native Client Silent Uninstall on 32-bit Systems

MsiExec.exe /x {CC4970BA-B7DD-46E9-8941-192D6246DB5F} /qn

Microsoft SQL Server 2012 Native Client Silent Uninstall on 64-bit Systems

MsiExec.exe /x {B9274744-8BAE-4874-8E59-2610919CD419} /qn

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts