Sql-server – Why use domain account for SQL Server service

active-directorySecuritysql server

I'd like to know the pros and cons of using domain accounts vs using local accounts.

Any help will be appreciated.

Best Answer

If you are interested on how to configure accounts for each service in SQL Server, you can find good articles on MS-Docs.

Configure Windows Service Accounts and Permissions

Each service in SQL Server represents a process or a set of processes to manage authentication of SQL Server operations with Windows. This topic describes the default configuration of services in this release of SQL Server, and configuration options for SQL Server services that you can set during and after SQL Server installation. This topic helps advanced users understand the details of the service accounts.

And let me suggest to have a look at:

Group Managed Service Accounts Overview

Standalone Managed Service Accounts, which were introduced in Windows Server 2008 R2 and Windows 7, are managed domain accounts that provide automatic password management and simplified SPN management, including delegation of management to other administrators.


Group Managed Service Accounts provide a single identity solution for services running on a server farm, or on systems behind Network Load Balance. By providing a group MSA solution, services can be configured for the new group MSA principal and the password management is handled by Windows.