SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to start Microsoft SharePoint Foundation Sandboxed Code Service

But it threw The password for the account domainName\empID, as currently stored in SharePoint, is not the same as the current password for the account within Active Directory

I recently changed my domain Password.So that is the possible reason.

But, I also updated the new password in the application pools.

and still getting the same error. what wrong?

where should I need to change the password to make work it.

share|improve this question
up vote 2 down vote accepted

In SharePoint 2010, accounts for Farms, Web Applications and Service App pools can be set from a central location in Central Admin called "Managed Account".

Visit this technet blog for the detailed explanation on Managed Accounts -

In your case, follow these steps to change the password for SharePoint,

  • Open up the SharePoint PowerShell command prompt
  • Set-SPManagedAccount - UseExistingPassword -Identity DOMAINA\SPSAdmin
  • Where DOMAINA\SPSAdmin is service account that had it's password changed in the AD
  • You will then be prompted for the existing\new password for "DOMAINA\SPSAdmin"
  • Run "Repair-SPManagedAccountDeployment" to verify the passwords are now in sync
  • Next do an IISRESET command
  • Run Repair-SPManagedAccountDeployment to verify that you do not get this message: Repair-SPManagedAccountDeployment : The password for the account DOMAINA\spsadmin, as currently stored in SharePoint, is not the same as the current password for the account within Active Directory. To fix this with PowerShell, run Set-SPManagedAccount -UseExistingPassword

  • The Set-SPManagedAccount -UseExistingPassword command will update the config database and service using by this account.

share|improve this answer
Thanks a lot, It worked. Could you please tell me how to change this identiey. I want to change this user. – Mohit Feb 29 '12 at 9:10
You can add a new managed account using the New-SPManagedAccount command. Please refer this blog for details -… – Deepu Nair Feb 29 '12 at 11:14

Your Answer


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.