Seeking official written response on managing NT Service\MSSQLSERVER and NT Service\MSSQL$MSSQL2016 service account password

Ryan Wong 40 Reputation points
2024-08-28T04:04:12.4233333+00:00

Hi,

Need your assistance, I am working with a client whom password policy, strongly required an official explanation on why users are ill advice/cannot self manage this NT Service\MSSQLSERVER and NT Service\MSSQL$MSSQL2016 account.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,675 questions
{count} votes

Accepted answer
  1. CathyJi-MSFT 21,866 Reputation points Microsoft Vendor
    2024-08-29T02:48:13.09+00:00

    Hi @Ryan Wong ,

    NT Service\MSSQLSERVER and NT Service\MSSQL$MSSQL2016 are virtual accounts automatically created during SQL server installation.

    Quote from MS document Virtual accounts

    Virtual accounts (beginning with Windows Server 2008 R2 and Windows 7) are managed local accounts that provide the following features to simplify service administration. The virtual account is auto-managed, and the virtual account can access the network in a domain environment. If the default value is used for the service accounts during SQL Server setup, a virtual account using the instance name as the service name is used, in the format NT SERVICE<SERVICENAME>. Services that run as virtual accounts access network resources by using the credentials of the computer account in the format <domain_name><computer_name>$. When specifying a virtual account to start SQL Server, leave the password blank.

     8-29-1


    If the answer is helpful, please click "Accept Answer" and kindly upvote it.


2 additional answers

Sort by: Most helpful
  1. Olaf Helper 44,301 Reputation points
    2024-08-28T09:46:50.84+00:00

    Your post is not very clear for me.

    When you install SQL Server and you don't define an existing local/AD account for the services, then those service account are create and used.

    https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-service-accounts

    0 comments No comments

  2. Erland Sommarskog 110.4K Reputation points MVP
    2024-08-28T21:27:06.4166667+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.