Month: September 2015

Is ‘sysadmin’ role required for the SQL Server and SQL Server Agent Service Accounts?

Need to know if ‘sysadmin’ role is required for the startup account for SQL Server Service and the SQL Server Agent Service; And if so, what is the reason behind the requirement etc. what will not be working properly if ‘sysadmin’ is not granted to startup account? 

When SQL Server is installed on Windows Server 2008 or later, SQL Server uses a Virtual Account (Managed local account) that is in the form of “NT Service\MSSQL$<InstanceName>”. These accounts are automatically provisioned as login and as sysadmin in SQL Server. If these accounts are removed from sysadmin role, issues documented in KB  can occur. 

If one uses the Local System account then it will have unrestricted access to all local system resources and since it’s a member of the Windows Administrators group, it is a member of the SQL Server sysadmin fixed server role.

If one uses a Windows Domain Account, then this account must have the following permissions: 

§  SeServiceLogonRight

§  SeChangeNotifyPrivilege

§  SeAssignPrimaryTokenPrivilege

§  SeIncreaseQuotaPrivilege

§  SeBatchLogonRight


SQL Server Agent must be a member of: 

§  sysadmin fixed server role.

§  To use multiserver job processing, the account must be a member of msdb database role TargetServersRole on the master server.

The msdb stored procedure ‘sp_start_job’ is used by the SQL Server Agent.  By default, members of the sysadmin fixed server role can execute this stored procedure. Other users must be granted one of the following SQL Server Agent fixed database roles in the msdb database:  

·        SQLAgentUserRole

·        SQLAgentReaderRole

·        SQLAgentOperatorRole

 Members of SQLAgentUserRole and SQLAgentReaderRole can only start jobs that they own.

Members of SQLAgentOperatorRole can start all local jobs including those that are owned by other users.

Members of sysadmin can start all local and multiserver jobs.



I want to become a SQL Server DBA. Do you have any books you recommend?

This is the #1 best book to learn about SQL. It isn’t “this is how to backup a database” or “how to administer sql server”, it is “this is how sql server works”

This link is about SQL Server performance:
SQL Performance Whitepaper

Paul Randal used to work at Microsoft and, in fact, wrote a lot of the SQL Server code:

This is a great Q&A website:

This is a presentation I did at SQL Saturday Oklahoma City
Troubleshooting SQL Server Performance

Join SQL PASS. There are virtual chapters that meet every month and knowledgeable folks give presentations on various SQL topics::
Professional Association SQL Server