Share via


Get SharePoint App Pool Account Password

This article describes how to retrieve lost SharePoint App Pool Account password.  There was a situation where few clients who lost the passwords of app pool accounts and to manage SharePoint environment you need to have the password available and well documented, when searched over the internet, there are PowerShell scripts to do so but in several cases they just return blank values.

Till found this command that is used and it works efficiently to return the passwords

&$env:windir\\system32\\inetsrv\\appcmd.exe list apppool  "AppPoolName" /text:ProcessModel.Password

You will need to modify the AppPoolName to the name of the app pool that you want to get the password of

References to other articles and scripts to retrieve passwords:

  1. http://blogs.msdn.com/b/rcormier/archive/2012/04/20/how-to-recover-passwords-for-sharepoint-managed-accounts.aspx
  2. https://gallery.technet.microsoft.com/office/Recover-SharePoint-Farm-3ddb6577