?
Solved

SQL 2008 R2 and Service Accounts

Posted on 2016-08-28
5
Medium Priority
?
174 Views
Last Modified: 2016-09-01
Documentation and articles say when installing SQL Server (2012) you must use a service account when installing on an active directory domain controller (Windows Server 2008 R2 Standard).  Says that Local System won't work.  I've seen one domain controller server where all SQL services were set to Local System.  So is this really true and forced by the SQL installer?  There are tons of other services on a domain controller that run as Local System.  Also noticed that the sql installer forces you to use Local System on the SQL Browser account, even on a domain controller.  So is this just good advice to use a service account, or is it really a functionality problem?

This is in a small office 5 to 20 users situation.
0
Comment
Question by:AnthonyMCSE
5 Comments
 
LVL 85

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 total points
ID: 41774027
good advice only.. System works just fine but has no bars or restrictions (system is the god account).. Many times I've HAD to use system when the generated accounts fail on installation.
0
 
LVL 54

Expert Comment

by:Vitor Montalvão
ID: 41774417
There are tons of other services on a domain controller that run as Local System.
Local System is an account that is used by many programs so very good for an hacker to install a program that uses Local System to access to your SQL Server so is really not a good idea to use it as Service Account.
I've an article written about the SQL Server Service Accounts. Give it a read to know what options do you have.

Also noticed that the sql installer forces you to use Local System on the SQL Browser account, even on a domain controller.  
About the SQL Browser, that's a service only needs by Named Pipes protocol and doesn't have access to any SQL Server instance and that's why you can use Local System.
0
 
LVL 72

Expert Comment

by:Qlemo
ID: 41774641
Vitor, SQL Browser is required as soon as the TCP/IP port is dynamic (and/or unknown). Named Pipes does not need SQL Browser at all.
0
 
LVL 54

Expert Comment

by:Vitor Montalvão
ID: 41774660
Thanks Qlemo.
I went to re read the SQL Browser service article and I guess his need is related to named instances and TCP/IP:

"However, if the SQL Server Browser service is not running, the following connections do not work:

•Any component that tries to connect to a named instance without fully specifying all the parameters (such as the TCP/IP port or named pipe).
•Any component that generates or passes server\instance information that could later be used by other components to reconnect.
•Connecting to a named instance without providing the port number or pipe.
•DAC to a named instance or the default instance if not using TCP/IP port 1433.
•The OLAP redirector service.
•Enumerating servers in SQL Server Management Studio, Enterprise Manager, or Query Analyzer."
0
 

Author Closing Comment

by:AnthonyMCSE
ID: 41780785
Thanks!
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question