Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Many of the service is running under some x user account suddenly the user relived from the company, So his account is no more available, since it wide organization we cant add the user again. Now we are facing deployment issue due to the user account is removed. But the service still looking the user to deploy or run some service. How to fix this?

Is that possible to replace the user with new user. Or we need to create SharePoint_config data base again?

share|improve this question
1  
I think it's possible to replace the user with some other user, but instead of going for a tedious manual job write code (powershell script or object model code) to replace those user with system account(or any other valid account), but for this task you need to know exactly which group of services are affected, there are no easy way/command I guess –  Diptarag Oct 9 '12 at 7:16
add comment

1 Answer

up vote 1 down vote accepted

First of all : "Never" use Employee Domain Accounts to be used as Service Accounts for any application, let alone SharePoint.

You should look into these following articles from Technet that explains the correct practice to do so. Plan for Service Accounts - SharePoint 2010

Said so, there is a way to take over the farm once again using the following approach in the right sequence :-

  1. Create a Service Account in the Active Directory and for now do not enable any password expiry policy. You might want to add replication rights incase you have used User Profile Service Application in the farm.
  2. Add the service account user as local administrator on all the servers in the farm.
  3. Login to the SQL Server where your SharePoint Configuration and Content Databases reside with "sa". Add a new SQL Login for the SharePoint Service Account with db_creator and securityadmin role and map the service account as dbo for all the SharePoint Databases.
  4. Now login to any one of the web servers with the local administrator. Try to open Central Admin. Chances are if you havent removed the default BUILTIN Administrators from the farm administrators group , the central administration site will open to the local system administrator with full access to the farm.
  5. Add your new SharePoint Account as the farm administrator through the Central Admin.
  6. Configure all farm services (central admin , owstimer and trace host) to run on the context of this service account.
  7. Validate the entire activity.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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