(from the source https://amoghnatu.net/2015/01/15/get-password-for-iis-application-pool-account/)
-
To retrieve password for an app pool identity account, open the command prompt in administrative mode.
-
Navigate to C:\Windows\System32\inetsrv directory. This is the location where appcmd.exe exists.
-
Type the below command and press enter. appcmd.exe list apppool <<app_pool_name>> /text:*
-
find user and pass in the output
Perfect - thanks.
I updated mine to:
Also note that this needs to be run as Admin.