Solved

Best Practices in Creating a Windows Service Account

Posted on 2010-08-18
7
845 Views
Last Modified: 2012-05-10
Hi All,

I have just created a AD account to be used as a service account . It is a member of
- Administrator
- Backup Operators
- Domain Admins
- Domain Users.

My main concern is :
1) How to prevent this account from being used to log in to computers and servers.
2) How to prevent this from being lock out if someone got hold of this account name.
0
Comment
Question by:Decarn
  • 3
  • 3
7 Comments
 
LVL 4

Expert Comment

by:sire_harvey
ID: 33472051
It all depends on which service this account is going to control, or what it needs to do.

Some things you may wish to consider are:
1) A strong password
2) Only allowing logging onto the machine that the service is installed on. This can be done in the user account properties.
3) Confirming what permissions this account actually needs. ie, does it need Domain Admins or could it be granted "Log on as a service" or "Log on as a batch job"
4) Do you need to have the permission "Deny Logon Locally" enabled for this account?
0
 

Author Comment

by:Decarn
ID: 33472309
Hi Sire Harvey,

I have already set a strong password. For the rest, could you point out where and how I can check and change them?

2) Only allowing logging onto the machine that the service is installed on. This can be done in the user account properties. Where to check for this setting?

3) Confirming what permissions this account actually needs. ie, does it need Domain Admins or could it be granted "Log on as a service" or "Log on as a batch job" What is the difference and where to check?

4) Do you need to have the permission "Deny Logon Locally" enabled for this account? - Yes. I do not want this account to log on to any computers.

Thanks.
0
 
LVL 4

Accepted Solution

by:
sire_harvey earned 500 total points
ID: 33472347
2) Properties of the user acount, Account Tab, Logon To button. Specify the computer in there.

3) "Log on as a service" and "Log on as a batch job" can be set by group policy or local machine policy
http://technet.microsoft.com/en-us/library/cc739424(WS.10).aspx

4) "Deny Logon locally" can also be set via group policy
http://technet.microsoft.com/en-us/library/cc728210(WS.10).aspx

hope that helps
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:Decarn
ID: 33472412
Thanks, sire harvey, let me read it up.

One more quick check, if the account is a member of the Domain Administrators group and Domain User group, if I were to remove the Domain User group, will the Domain Administrators privileges be removed as well?
0
 
LVL 4

Expert Comment

by:sire_harvey
ID: 33472420
There should be no reason to remove them from Domain Users. If the account is in AD, i would keep them in Domain Users.
0
 
LVL 3

Expert Comment

by:ren20atom
ID: 33475227
Hi Decarn,

Just curios to know why exactly the Service Account requires Domain Admin rights...
Rest of the rights could be understood so that Scheduled Tasks and other Batch jobs can be run..
Just wondering what is the requirement for the Domain Admin rights...
0
 

Author Comment

by:Decarn
ID: 33612418
Hi ren20atom,

You got me. I'm clueless too. Is there any valid application that require a service account with domain admin rights?
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

830 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