Wednesday, September 9, 2015

SharePoint 2010 Service Account Password Change



My SharePoint Farm has multiple application pools including SharePoint Services running and each Application Pool is running on different service account.
To check which application pool is running using which service account.
Go to Run >> Type inetmgr. This will open Internet Information Services Manager.
Click on Application Pool and you can see Identity of Application pool which is Service account.



When we create Application Pool or Application Service and choose new service application pool account, this account get registered to Manage Accounts under Security.
Path will be Central Administration >  Security > Manage Accounts
We can see here are all service accounts are registered.

If you want to Check password of service account you can check using PowerShell command.
Open Windows PowerShell Module from All Application Program & type below PowerShell Command.

Get-WmiObject –Namespace root/MicrosoftIIsV2 –Class IIsApplicationPoolSetting –Property Name, WAMUserName, WAMUserPass | Select Name, WAMUserName, WAMUserPass

Then it will show all passwords of particular service account name.



This will help you in case you forget your AppPool Service Account password.
Now, we will change password of service account which is running a web application name Test – 45380. And you can see the service account name is spdev\testpass and password is P@ssw0rd3

For changing password of spdev\testpass go to Central Administration > Security > Manage Accounts
Look for spdev\testpass and edit.
Now check box named Change Password Now and select Set account password to new value.
Enter new password and click on ok.


 To confirm password is changed or not you can run above PowerShell script.


No comments:

Post a Comment