We are using a single Farm account in our sharepoint 2010, would like to manage the service applications and web applications with the proper service accounts. What would be the best and reliable way of doing(except from the central administration)?

2 Answers 2


Not entirely sure why you add "except CA". Sure you can automate security using PowerShell. But this gives you only real value if you have multiple farm environments that you want to stay as much "the same" as possible.

The important thing here is to harden security for your farm, not really how you do it. As a primer you should read Plan security hardening (SharePoint Server 2010).

Theres several blogs that point out how to seperate security to several service accounts. An example: http://www.ericharlan.com/Moss_SharePoint_2007_Blog/sharepoint-2010-service-account-reference-guide-a184.html

The point is to minimize your attach surface by giving minimal privileges to the specific accounts.

Each service should have its own account. Each application pool should have its own account. You can share web service application pool across Service Apps in the same proxy group (if no specific demand require isolation).

Also you should never ever log into your farm or CA using the farm service account. This is a big no-no! The install account should only be used initially for install and patching. When the farm is created you should create an administrative account to use for everyday configuration in PowerShell and CA. This account should be farm administrator and be shell admin. If your admin account need access to services on server or account security, or need to add farm solutions, it need to be local administrator too. Check out Todd Klindts excellent guide here.


PowerShell can, so by implication so can the SharePoint API, check out: http://technet.microsoft.com/en-us/library/ff724280.aspx#section1

and here too:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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