Skip to content

Setting Up SQL Server Data Folder

Published: at 02:16 AM

When setting up a SQL Server data folder, it’s important to ensure that the necessary users and permissions are applied to the folder where your SQL Server data files will reside. This ensures that SQL Server can access the folder correctly for storing and managing databases.

(It’s considered a good practice to place you data folder on a separate drive and the backups yet on another drive.)

Users and Permissions to Add

You need to add the following users and permissions to the folder:

Replace <PC Name> with the actual name of your computer.

Accessing SQL Server Configuration Manager

Most services and their properties can be configured using SQL Server Configuration Manager. Below are the paths to the configuration manager for different versions of SQL Server when Windows is installed on the C drive.

SQL Server VersionPath
SQL Server 2019C:\Windows\SysWOW64\SQLServerManager15.msc
SQL Server 2017C:\Windows\SysWOW64\SQLServerManager14.msc
SQL Server 2016C:\Windows\SysWOW64\SQLServerManager13.msc
SQL Server 2014 (12.x)C:\Windows\SysWOW64\SQLServerManager12.msc
SQL Server 2012 (11.x)C:\Windows\SysWOW64\SQLServerManager11.msc

ref: https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/configure-windows-service-accounts-and-permissions?view=sql-server-2017

Note:


Previous Post
Setting Up IIS Website Directory/Folder
Next Post
.NET Custom Error Pages