?
Solved

SQL - Setting Windows Service Acount

Posted on 2013-01-24
2
Medium Priority
?
251 Views
Last Modified: 2013-02-10
I am installing SQL server 2008 R2.  As I am about to setup Account for each of the SQL Service.

It recommend to use different account for different service with minimal privilege  However,  I do not know how to setup specific account for it might have one of the following services  (Domain. Localsystem, Local-Service and Network Service)

Fore example, How do I setup a user account with Network Service
0
Comment
Question by:tommym121
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 25

Accepted Solution

by:
chaau earned 2000 total points
ID: 38817359
Most of the time you would use a local user account created on the server you are installing SQL Server. Just go to your Server Manager and create new user. You can set the strongest password for the user you can think of and make the password to "Password Never Expires". Also, for a better security you can disable "User Can Login Locally".

If you are planning to use some external stored procedures that execute some script that requires network access to some domain resources, then you would create an account in your active directory.

For the SQL Agent it is a different story. You can user the same user, but if you are planning to run some automated backups that will store the files on a network share, you would have to create a user in Active Directory.

MS suggests using the SQL management console (or the installer) when changing the user accounts. In this case the security options will be properly adjusted for the users. If you change the accounts via Services.msc, not all rights could be assigned and SQL service may not work properly
0
 

Author Closing Comment

by:tommym121
ID: 38874830
Thanks
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

752 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