TheRosiek.com Random tech notes and tutorials

24Jun/110

SharePoint 2010 Error in Managed Service Accounts

When working with SharePoint 2010 Central Administration, I ran into an issue where the page would display a generic "object not set to an instance of an object" when clicking on Configure managed accounts or Configure service accounts. My specific issue was that I changed the SPTimerV4 service to use a different account; I had previously setup an sp_timer account and instead used the sp_farm account. This is changed on the OS level since it is not listed in the Configure service accounts.

Where I went wrong is that I deleted the sp_timer account out of Active Directory before I removed it from Configure managed accounts. It seems that SharePoint should be able to handle this change, but it doesn't. Create the domain account that you removed in Active Directory again. Then open up SharePoint 2010 Management Shell, and be sure to open it As Administrator. The following commands will remove the account from the list of managed accounts:

$rmacct = Get-SPManagedAccount "MYDOMAIN\sp_timer"
# make sure the variable output is coming up and there are no typos
$rmacct
Remove-SPManagedAccount $rmacct

Now you should be able to load the Central Administration web pages that were giving errors before properly. Feel free to remove the old account from Active Directory.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.