Recover lost service account passwords from SharePoint 2013

By Rinaldo De Paolis


What do you do when a client calls and ask you to start a SharePoint service, but does not have the Service account password?

As most of you reading this article might know, in MOSS 2007 you could retrieve Service Account passwords using SPDocGen ( Then in 2010 and 2013 the passwords are no longer stored as plain text and SPDocGen is unable to retrieve these passwords.

Well there is one method you could try.

  1. Check the IIS Application Pools to see if any of the Application pools is running under the specific service account, lucky for me it was
  2. Run Powershell as Administrator
  3. Application Pools Connected Systems SharePoint
  4. run the following (replace <NAME OF APP POOL> with the name of the app pool)
    cmd.exe /c $env:windir\system32\inetsrv\appcmd.exe list apppool "<NAME OF APP POOL>" /text:ProcessModel.Password
  5. Retrieve Lost Service Account Passwords SharePoint Connected Systems