Monday, April 9, 2012

How to change the Farm Service Account in SharePoint 2010

Copyright from: TSLS - Luke Smith
The Following steps describes how to change the Farm Service Account Credentials in SharePoint 2010:
complete the following on each server
Launch SharePoint 2010 Central Administration (logon as Setup Farm Account)
Navigate to ‘Application Management’
In ‘Security’ Section Click
‘Configure Manage Accounts
Click Register Managed Account

Add the New Account
User Name (NEW USER)
Password (NEW PASSWORD)

From the command prompt execute the following commands on all SharePoint servers
REM On First CA Server
“c:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14Binstsadm.exe” -o
updatefarmcredentials -userlogin “NTSP_SPIT05_MGN” -password “P@ssw0rd
REM On each of the other Servers
“c:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14Binstsadm.exe” -o
updatefarmcredentials -userlogin “NTSP_SPIT05_MGN” -password “P@ssw0rd” -local
REM IISRESET
iisreset /noforce
Update Security Groups on Each SharePoint Server.
Start – Administrative Tools – Computer Management
Expand System Tools -> Local Users and Groups – Groups
Set the permissions as below:
ADMINISTRATORS – add the new farm accountconfirm it exists
WSS_WPG – add the new farm accountconfirm it exists
WSS_ADMIN_WPG – add the new farm accountconfirm it exists
Launch Central Administration
Select Security
Select Configure Service Accounts
  Update the following Accounts:
• Farm Account
• Windows Service – Microsoft SharePoint Foundation Sandboxed Code Service
• Windows Service – User Profile Synchronization Service
• Windows Service – Web Analytics Data Processing Service
• Service Application Pool – SecurityTokenServiceApplicationPool
• Service Application Pool – SharePoint Web Services System
Remove the old Manage Account�
Confirm that the application pools and Services have been updated, if not repeat on each sharepoint server to refresh
The Post Applies to:
  • SharePoint Server 2010
  • SharePoint Foundation 2010
  • Search Server 2010 (ExpressStandard)