x
login about faq Site discussion (meta-askssc)

Accounts created when SQL Server 2008 installed on Win2008

We have installed SQL Server 2008 on a Win2008 server. We use a domain\SQLServices account for both the instance service and the Agent. When we looked at the accounts created in the new instance, we found: NT SERVICE\MSSQLSERVER and NT SERVICE\SQLSERVERAGENT both with Sysadmin privs. What are these used for? Why don't we see the domain\SQLServices account that is running the services added? We found this article - http://support.microsoft.com/kb/955763 that warns against removing these accounts, but I can't find additional docs on the 2 accounts. Thanks!

more ▼

asked Dec 16 '09 at 06:21 PM in Default

SailAway gravatar image

SailAway
37 1 1 2

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

Aren't those the IDs associated with the groups that contain the account domain\SQLServices? Ie... if you go to the "Local Users & Groups" section of Computer Management, you will see a bunch of groups in there, as a way of assigning sufficient permission to a user to run the particular service.

So if you look in the group for SQL Agent, you should see your SQLServices account in there. If you go into SQL Config Mgr and change the service account for SQL Agent, you should see the SQLServices account removed from that group and the new account put in. This is how the system lets you use a low privilege account for those services.

To be able to run the SQL & SQL Agent services, the accounts used need to be in the sysadmin role. But that's okay, because no-one other than the service should be logging on as that account.

more ▼

answered Dec 16 '09 at 11:15 PM

Rob Farley gravatar image

Rob Farley
5.7k 13 17 19

You're right I do see the NT SERVICESQLSERVERAGENT in the OS groups created for SQL Agent. However, we used to see the domainaccount in this group. Where is that connection? In otherwords where do I see that domainaccount is a member of NT SERVICESQLSERVERAGENT?

Dec 17 '09 at 11:53 AM SailAway
(comments are locked)
10|1200 characters needed characters left

the service for SQL does not need to be sysadmin.

more ▼

answered May 28 '10 at 10:47 AM

alex 3 gravatar image

alex 3
1

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x1601
x145
x61

asked: Dec 16 '09 at 06:21 PM

Seen: 5291 times

Last Updated: Dec 16 '09 at 06:21 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.