Installing SQL Server 2017

SQL Server 2017 still installs with the setup wizard below, and setup for 2019, 2022 and 2025 follows the same steps with a few extra pages. 2017 is in extended support until 12 October 2027, which means security fixes only (CU31 was its final cumulative update). For a new install, pick SQL Server 2022 or 2025 unless an application needs 2017. Support dates for every version are in The Evolution of SQL Server on sqldba.blog.

Before starting, read Microsoft’s Planning a SQL Server Installation and SQL Server Installation Guide. For a test environment, SQL Server Developer Edition is free for non-production use. From SQL Server 2025 it comes in two flavours, Standard Developer and Enterprise Developer, matching the paid editions.

How to Install SQL Server 2017

1. Launch Setup
Run Setup.exe from the SQL Server installation files or mount and run the ISO.

SQL Server Installation Setup

2. Start Installation
Navigate to the Installation tab and select the top option, New SQL Server stand-alone installation.

New SQL Server Install

3. Select Edition
Enter a product key, or choose a free edition (Developer, Express or Evaluation). Media with a key built in selects the edition for you.

SQL Server Enter Product Key

4. Accept License Terms
Agree to the terms and proceed.

SQL Server License Terms

5. Check the Install Rules
A Windows Firewall warning here is normal. It means remote connections will need the SQL Server port (TCP 1433 for a default instance) opened in the firewall. A failed rule, such as a pending restart, has to be cleared before setup continues.

SQL Server Install Rules

6. Choose Features
Select required features. A general rule: if you’re unsure about a feature, skip it for now, as features can be added later by running setup again. Fewer features means fewer services running and less to patch. Reporting Services is not on this list from SQL Server 2017; it is a separate download from the Installation tab.

On SQL Server 2022 and 2025, an Azure Extension for SQL Server page comes before this one. Untick it unless you want the server connected to Azure Arc.

SQL Server Feature Selection

7. Instance Configuration
Choose between a default instance (MSSQLSERVER) or a named instance for multiple instance setups.

SQL Server Instance Configuration

8. Set Service Accounts
Use domain service accounts if SQL Server will need to authenticate with other network locations (e.g., for backups). Tick Grant Perform Volume Maintenance Task privilege on this page too. It enables instant file initialisation, so data files grow and restore much faster.

SQL Server Install Set Service Accounts

9. Select Authentication Mode
Windows authentication is the safer default. Choose Mixed Mode only if something needs SQL logins, and set a strong password for the sa account if you do. Click Add Current User so your own account is a sysadmin.

SQL Server Database Engine Configuration

10. Configure Data Directories
Under the Data Directories tab, ensure:
– Data, log, and tempdb files are stored on separate drives for performance and reliability.
– The root directory is on C:\ if sufficient space is available.

SQL Server Data Directory Paths

11. Configure TempDB
From SQL Server 2016, setup sets the number of tempdb files, defaulting to the number of CPU cores up to 8. Put them on their own drive if you can; moving them later is covered in How to Move TempDB Files in SQL Server on sqldba.blog. SQL Server 2019 and later add MaxDOP and Memory tabs to this page, so max server memory can be set during setup.

SQL Server Temp DB Configuration

The FILESTREAM tab is for storing files in SQL Server. It is not required in a standard install and is optional.

12. Review and Save the Configuration File
The Ready to Install page shows the path to the generated ConfigurationFile.ini. Keep a copy: it documents the install and can drive an unattended install of the next server.

SQL Server Ready to Install

13. Complete Installation
Click Install and wait for the process to finish.

SQL Server 2017 Installation Complete

Post-Installation

Your SQL Server services should now be running, ready for database creation. SQL Server Configuration Manager is where you check them, change service accounts and set up network protocols.

Starting with SQL Server 2016, SQL Server Management Studio (SSMS) is not included in the installation package. Download and install SSMS separately; the current release is SSMS 22, and it connects to SQL Server 2017 fine.

Once SSMS is installed, connect to the new instance and patch it to the latest cumulative update before it goes into use. Upgrade or Patch SQL Server covers checking the build and planning the update.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *