Monday, October 3, 2011

How to reset password in SharePoint 2010

Wherever we change our windows password after that we face problems with SharePoint
Webapplication (cannot create webapplication or many more things so we need to change the password here as well. We have many ways to do this)

1. Go in Services and change the password for all SharePoint related service account
2. Go to IIS and update the servicepool password related to SharePoint

OR

The otherway which take cares of every thing. Which is easy and quick process...

Need to execute these commands from DOS prompt
(in SharePoint folder where if got installed)
(e.g. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN)

Go to Run: Open cmd prompt to execute following commands one by one:

stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword -local


stsadm -o updateaccountpassword -userlogin DomainName\UserName -password NewPassword -noadmin

iisreset /noforce