Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am installing SQL Server 2008 Developer here, and on the Server Configuration step of the installation it asks me about Service Accounts. What do I choose here?

I can see the available ones in the screen shot, although on most of them I can only select two or three of those. When I click the Use the same account for all SQL Server 2008 services button I can choose between NT AUTHORITY\NETWORK SERVICE and NT AUTHORITY\SYSTEM.

What do I choose here, and why?

Screenshot

share|improve this question
add comment (requires an account with 50 reputation)

2 Answers

up vote 24 down vote accepted

From Microsoft:

Local System account. The name of this account is NT AUTHORITY\System. It is a powerful account that has unrestricted access to all local system resources. It is a member of the Windows Administrators group on the local computer, and is therefore a member of the SQL Server sysadmin fixed server role

Network Service account. The name of this account is NT AUTHORITY\NetworkService. It is available in Microsoft Windows XP and Microsoft Windows Server 2003. All services that run under the Network Service account are authenticated to network resources as the local computer.

So unless you need your Dev SQL Server to use Network Services, you can use Local System account.

Update:

To Configure your surface area go Start->Microsoft SQL Server->Configuration Tools->SQL Server Surface Area Configuration.

Thats how you setup for incoming connections. Also make sure the SQL Browser server is running.

I would also recommend either SQL 2005 for Dummies or SQL Server 2005 Bible to do some study on some of the basic stuff of SQL Serve. The bible will also go more indepth should you be beyond the dummies type book.

share|improve this answer
How do I know if I need to use Network Services? Do I have to use Network Services account if I am going to connect to it from a different computer? – Svish Aug 13 '09 at 12:42
No. If you sql server needs to connect out. You need to configure the SQL surface area to allow things to connect in. – Preet Sangha Aug 13 '09 at 13:18
... Huh? surface area? – Svish Aug 13 '09 at 13:26
Thanks =) – Svish Aug 14 '09 at 6:47
add comment (requires an account with 50 reputation)

If you want to play it safe, make a local account like "SQLServices" on your machine, with no special rights or access. Then install SQL and choose that account, and the SQL installer will add only those rights that the service account requires. I do it this way so that the service account will have only minimal OS rights.

share|improve this answer
good advice. will try that the next time I install sql server. – Svish Aug 14 '09 at 6:48
add comment (requires an account with 50 reputation)

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.