Problem
You see the following warning appear in the Review problems and solutions list in SharePoint 2010 Central Administration:
If, after performing the steps above, the warning message remains, try the following:
This posting presented steps for resolving the Health Analyzer warning, Accounts used by application pools or service identities are in the local machine Administrators group. It has also presented troubleshooting steps for resolving this warning, if the usual approach appears to fail. For additional detail on this topic, see the references below.
References
You see the following warning appear in the Review problems and solutions list in SharePoint 2010 Central Administration:
Accounts used by application pools or service identities are in the local machine Administrators groupSolution
- Click on the warning title. The warning description dialog appears:
- The error description dialog identifies the cause of the problem: the farm administration and timer service accounts are members of the local machine Administrators group.
During initial deployment, the farm account is provisioned as a domain user account with local machine administrator privileges. The farm account only needs local administrator privileges during SharePoint farm provisioning. Once farm provisioning is completed, this account can be removed from the local administrators group. You will need to add this back to the local Administrators group during subsequent provisioning tasks, such as User Profile Provisioning.
- In Central Administration, go: Security > General Security > Configure service accounts.
- From the service dropdown (upper one), select Farm Account. This refers to the Central Administration service. The page is updated to show the service components and the account running the service.
- Verify that the farm account (in this case, Contoso\sp_farm) is running the Central Administration service:
- Login to the machine hosting your SharePoint 2010 farm Central Administration.
- Go: Start > Administrative Tools > Services.
- Scroll down to the SharePoint 2010 Timer service.
- Double-click this service, and then select the Log On tab.
- Verify that the farm account is entered:
- On the local machine, go: Start > Administrative Tools > Computer Management
- In the tree console at left, expand Local Users and Groups, and then select Groups. The results panel in the middle updates to list local machine groups.
- Double-click the Administrators group. This is the local machine administrators group.
- Verify that the farm account appears:
- In the Members pane, select the farm account, and then click Remove. The account no longer appears.
- Click OK, and then logout of the local machine hosting Central Administration.
- In Central Administration, in the message bar, click View these issues.
- On the Review problems and solutions page, click the warning message link, Accounts used by application pools or service identities are in the local machine Administrators group. The warning description dialog appears:
- Click the Reanalyze Now button, and then click Close.
- Wait a minute of two, and then refresh the page. The warning message no longer appears:
- This concludes this procedure.
If, after performing the steps above, the warning message remains, try the following:
- Re-run Rule Definition:
- In Central Administration, go: Monitoring > Health Analyzer > Review rule definitions.
- On the Health Analyzer Rule Definitions page, in the Category: Security group, click the rule definition link, Accounts used by application pools or service identities are in the local machine Administrators group.
- Click the Run Now button, then click Close.
- Wait a minute or two, and then return to Review problems and solutions page.
- Verify that the warning no longer appears.
- Reset Farm Service
- Login to the local machine hosting the farm Central Administration application.
- Go: Start > Administrative Tools > Services.
- Scroll down to the SharePoint 2010 Administration service.
- Double-click this service. The services properties dialog appears.
- Select the Log On tab.
- If not selected, select the This account option.
- Enter or re-enter the farm account. For this posting, the farm account is Contoso\sp_farm
- At the warning prompt, "The new login name will not take effect until you stop and restart the service," click OK.
- Stop and restart the service, and then click OK.
- Wait a minute or two, and then return to Review problems and solutions page.
- Verify that the warning no longer appears.
- Reset the Farm Timer Service
- Login to the local machine hosting the farm Central Administration application.
- Go: Start > Administrative Tools > Services.
- Scroll down to the SharePoint 2010 Timer service.
- Double-click this service. The services properties dialog appears.
- Select the Log On tab.
- If not selected, select the This account option.
- Enter or re-enter the farm account. For this posting, the farm account is Contoso\sp_farm:
- At the warning prompt, "The new login name will not take effect until you stop and restart the service," click OK.
- Stop and restart the service, and then click OK.
- Wait a minute or two, and then return to Review problems and solutions page.
- Verify that the warning no longer appears.
This posting presented steps for resolving the Health Analyzer warning, Accounts used by application pools or service identities are in the local machine Administrators group. It has also presented troubleshooting steps for resolving this warning, if the usual approach appears to fail. For additional detail on this topic, see the references below.
References
- Accounts used by application pools or service identities are in the local machine Administrators group (SharePoint Server 2010)
- Account permissions and security settings (SharePoint Server 2010)
- Plan administrative tasks in a least-privilege environment (SharePoint Server 2010)
- Initial deployment administrative and service accounts (SharePoint Server 2010)
- Service Account Suggestions for SharePoint 2010
- Configure profile synchronization (SharePoint Server 2010)
- Should my farm account be in the local admins group?
- If you have not previously modified the services directly, through the Windows Services control applet, you will likely see the account entered as "[domain]\[account name]." This is how it looks after a fresh install. Once you edit the account, it will change to "[account name]@[domain]." This is one way to tell if you need to restart the service.
3 comments:
In case of a farm with multiple Web Front Ends and Application Servers, do you need to do this on each server?
Yes: the health analyzer message will indicate what servers are triggering this warning. The rule is executed against each server in the farm hosting SharePoint.
Thank you for your post. It helped me!! Cheers
Post a Comment