SQL Server installation guide
Applies to: SQL Server (all supported versions) - Windows only
This article is an index of content that provides guidance for installing SQL Server on Windows.
For other deployment scenarios, see:
Beginning with SQL Server 2016 (13.x), SQL Server is only available as a 64-bit application. Here are important details about how to get SQL Server and how to install it.
Editions and features: Review the supported features for the different editions and versions of SQL Server to determine which best suits your business needs.
Requirements: Review hardware and software installation requirements for SQL Server 2016 & 2017, SQL Server 2019 or SQL Server on Linux, as well as system configuration checks, and security considerations in Planning a SQL Server Installation
Sample databases and sample code:
- They are not installed as part of SQL Server setup by default but can be found
- To install them for non-Express editions of SQL Server, see the Where are samples
The download location for SQL Server depends on the edition:
- SQL Server Enterprise, Standard, and Express Editions are licensed for production use. For the Enterprise and Standard Editions, contact your software vendor for the installation media. You can find purchasing information and a directory of Microsoft partners on the Microsoft licensing page.
- If you have a volume licensing agreement, for example an Enterprise Agreement, you can download software from the Volume Licensing Service Center (VLSC).
- Free versions.
Other SQL Server components can be found here:
- All cumulative updates
- SQL Server Reporting Services.
- SQL Server Management Studio
- Azure Data Studio
Installation fails if you launch setup through Remote Desktop Connection with the media on a local resource in the RDC client. To install remotely the media must be on a network share or local to the physical or virtual machine. SQL Server installation media may be either on a network share, a mapped drive, a local drive, or presented as an ISO to a virtual machine.
SQL Server Setup installs the following software components required by the product:
- SQL Server Native Client
- SQL Server Setup support files
SQL Server installation
|Installation Wizard||Install SQL Server using the Installation Wizard GUI launched from the setup.exe setup media.|
|Command Prompt||Sample syntax and installation parameters for running a SQL Server installation from the command prompt.|
|Server Core||Install SQL Server on Windows Server Core.|
|Check Parameters for the System Configuration Checker||Discusses the function of the System Configuration Checker (SCC).|
|Configuration File||Sample syntax and installation parameters for running Setup through a configuration file.|
|SysPrep||Sample syntax and installation parameters for running Setup through SysPrep.|
|Add Features to an Instance||Update components of an existing instance of SQL Server.|
|SQL Server Failover Cluster Installation||Install a SQL Server failover cluster instance.|
|Repair a Failed SQL Server Installation||Repair a corrupt SQL Server installation.|
|Rename a computer with SQL Server||Update system metadata that is stored in sys.servers after the hostname of a computer hosting a stand-alone instance of SQL Server has been renamed.|
|Install SQL Server Servicing Updates||Install updates for SQL Server.|
|Setup Log Files||View and read the errors in the SQL Server setup log files.|
|Validate an Installation||Review the use of the SQL Discovery report to verify the version of SQL Server and the SQL Server features installed on the computer.|
Individual component installation
|SQL Server Database Engine||Install and configure the SQL Server Database Engine.|
|SQL Server Replication||Install and configure SQL Server Replication.|
|Distributed Replay||Lists articles to install the Distributed Replay feature.|
|SQL Server Management Tools with SSMS||Install and configure SQL Server management tools.|
|SQL Server PowerShell||Considerations for installing SQL Server PowerShell components.|
SQL Server configuration
|Configure Windows Firewall (SQL Server)||Overview of firewall configuration and how to configure the Windows firewall to allow access to SQL Server.|
|Configure the Windows Firewall (SSAS)||Configure both port and firewall settings to allow access to Analysis Services or Power Pivot for SharePoint.|
|Configure a Multi-Homed Computer||Configure SQL Server and Windows Firewall with Advanced Security to provide for network connections to an instance of SQL Server in a multi-homed environment.|
Upgrade SQL Server
Uninstall SQL Server
Install SQL Server Reporting Services (SSRS)
Install SQL Server Analysis Services (SSAS)
Install SQL Server Business Intelligence Features
High Availability Solutions (SQL Server)
Submit and view feedback for