In this blog post I will be sharing step by step installation detail for SQL Server with Best Practice for SharePoint.

SQL Software requirements

  • 64-bit edition of Microsoft SQL Server 2012 R2 or SQL Server 2014/16 Standard (Enterprise required for Always On)
  • Named SQL alias recommended.
  • Windows Server 2012/R2/2014/16 with latest patch levels should be installed prior to Installation.
  • SSMS is recommended
  • SQL Agent must be setup to run automatically under a domain account.

SQL Roles for SharePoint Setup Account

User account details for SQL Server and SharePoint setup accounts are listed in SharePoint Farm User Accounts.

Add .NET Windows Server Feature on SQL Server

Make sure you have installed you added .NET windows feature on the SQL Server, if not then follow Add .NET Windows Server Feature on Windows Server for details.

Use a dedicated server for SQL Server

To ensure optimal performance for farm operations, we recommend that you install SQL Server 2012 or SQL server 2012 R2 or SQL Server 2014 on a dedicated server that does not run other roles and does not host databases for other applications.

Add .NET Windows Server Feature prior to SQL Server Installation

  1. To add the .NET Windows Server feature click on Start > All Programs > Administrative Tools > Server Manager.
  2. From the right side of the screen click on Features.
  3. Over on the left side of the screen click on Add Features.
  4. Check the box for .NET Framework 3.5.1 Features.
  5. When you check the box a window for Add Features Wizard will appear telling you the additional required roles. Click Add Required Role Services.
  6. Click Next.
  7. At the Web Server (IIS) screen click Next.
  8. Accept all of the defaults and click Next.
  9. At the Confirm Installation Selections click Install.
  10. At the Installation Results screen make sure everything was successful and then click Close.

Install SQL Server

  1. Verify user is logged in using SQLAdmin account on the SQL machine.
  2. Run exe
  3. From the SQL Server Installation Center click on Installation on the left hand side of the page.
  4. On the right hand side of the page click on New SQL Server stand-alone or add features to an existing installation.
  5. After the Setup Support Rules run, click OK.
  6. Enter your appropriate Product Key and then click Next.
  7. Select I accept the license terms.
  8. Deselect Send feature usage data to Microsoft….
  9. Click Next.
  10. When the Setup Support Rules screen pops up review any errors or warnings you get. Check errors and install any needed software. Click Next.
  11. For Setup Role select SQL Server Feature Installation and click Next.
  12. SharePoint only requires the Database Engine Services.
  13. Management Tools will have to downloaded from an Online Resource.
  14. At this time SQL will conduct checks. Not having the Microsoft .NET Features installed is a common issue. You will need to manually add the feature before moving forward. While you do go ahead and leave this SQL window open. Jump back over to your SQL Installation Rules screen and click the Re-run
  15. If the tests are Passed click Next to continue.
  16. Assuming this is the only install of SQL Server on this server then you are going to want to take all of the default settings for the Instance Configuration screen. If you have other SQL Instances installed on this server you are more advanced than reading this blog post.  Click Next.
  17. At the Disk Space Requirements screen click Next.
  18. For the Server Configuration screen it is asking you what account you want to run SQL Server as. The only service you are worried about right now is the SQL Server Database Engine. This service should always be run as a domain account not a local account. Next to SQL Server Database engine click on NT Service\MSSQLSERVER
  19. Click <<Browse…>>.
  1. Select your SQL Service account(SQLService) and click OK.
  1. Enter the account password and click Next.
  2. On the Database Engine Configuration screen of the defaults. Click Add Current User (SQLAdmin) and add the SPFarm User before you continue on.

Store your data, backup and log files on different volumes. By default SQL Server will store everything on the C: drive. Change this in the production server. Once you are ready click Next.

  1. For the Error Reporting screen select Send Windows and SQL Server Error Reports…
  2. Click Next.
  3. At the Installation Configuration Rules screen click Next.
  4. You are Ready To Install, so click Install.

Installation steps and Screenshots

Mount Installation Media on SQL Server, it will show the installation splash screen as below:

SQL Server 2016 - Installation Center

Under Installation, click on New SQL Server stand-alone Installation or add features to an existing installation.

SQL Server 2016 - setup

Press Next on above screenshot and accept the license terms in below screenshot.

SQL Server 2016 - License Terms

Follow the screenshots below and press next:

SQL Server 2016 - setup installation

SQL Server 2016 - Product Updates

SQL Server 2016 - Setup files

Select the Database Engine Services as shown in below screenshot, you can also change the instance root drive in this step:

SQL Server 2016 - Feature Selection

Select the default instance which is MSSQLSERVER by default:

SQL Server 2016 - Instance Configuration

Add SQLService user account to run SQL Server Agent and SQL Server Database Engine services, follow the screenshot below:

SQL Server 2016 - Server Configuration

Click on the Collation tab before pressing next, Microsoft support any CI collation for the SQL instance (for master, tempdb databases). But they recommend using Latin1_General_CI_AS_KS_WS as the instance default collation (master, tempdb databases). From <>

SQL Server 2016 - Server Configuration 2

Press Next, and add SQLAdmin and SQLService accounts in SQL Service Administrators:

SQL Server 2016 - Database engine Configuration

Choose separate locations other than Server that SQL Server is installed on for data, log and backup files. You can change the default data directories as shown below:

SQL Server 2016 - Data Directories

Setup SQL Server TempDB location, Create SQL Path to maintain consistency  T:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Data

SQL Server 2016 - TempDB

Press next which will take you to the Ready to Install screen. Click in Install button to start the installation of SQL Server:

SQL Server 2016 - Ready to Install

You will see the below screen after successful installation:

SQL Server 2016 - Install complete

Install SQL Server Management Studio (SSMS)

Download SSMS from Run SSMS Installer and click on install button:

SQL Server 2016 - SSMSClick on the Close button after installation is completed.

SQL Server 2016 - SSMS Complete

Adnan, a distinguished professional, boasts an impressive track record as a Microsoft MVP, having achieved this prestigious recognition for the eighth consecutive year since 2015. With an extensive career spanning over 18 years, Adnan has honed his expertise in various domains, notably excelling in SharePoint, Microsoft 365, Microsoft Teams, the .Net Platform, and Microsoft BI. Presently, he holds the esteemed position of Senior Microsoft Consultant at Olive + Goose. Notably, Adnan served as the MCT Regional Lead for the Pakistan Chapter from 2012 to 2017, showcasing his leadership and commitment to fostering growth within the tech community. His journey in the realm of SharePoint spans 14 years, during which he has undertaken diverse projects involving both intranet and internet solutions for both private and government sectors. His impact has transcended geographical boundaries, leaving a mark on projects in the United States and the Gulf region, often collaborating with Fortune 500 companies. Beyond his roles, Adnan is a dedicated educator, sharing his insights and knowledge as a trainer. He also passionately advocates for technology, frequently engaging with the community through speaking engagements in various forums. His multifaceted contributions exemplify his dedication to the tech field and his role in driving its evolution.

Leave a Reply