I'm setting up a new SQL Server instance. Which of these SQL Server/Windows logins should have the sysadmin role?
- NT AUTHORITY\SYSTEM
- NT SERVICE\SQLWriter
- NT SERVICE\Winmgmt
- NT SERVICE\MSSQLSERVER
- NT SERVICE\SQLSERVERAGENT
permissionsservice-accountssql serversql-server-2016
I'm setting up a new SQL Server instance. Which of these SQL Server/Windows logins should have the sysadmin role?
Best Answer
I'm not sure about NT AUTHORITY\SYSTEM. But according to the SQL Server documentation the others are added to the sysadmin role by SQL Server Setup, so I'm guessing it is required.
https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/configure-windows-service-accounts-and-permissions?view=sql-server-2016#DE_Prov