Recovering TpiAdmin password

Author:Aaron
Last Updated:April 06, 2022 11:00 AM

If the TpiAdmin password is wrong in keepass and the Platform web.config file is encrypted, the below steps can be used to recovered the password.

TPI uses the same algorithm to encrypted web.config files as the httputility aspnet_regiis.exe.

  1. Remote to the server where the instance is hosted. aspnet_regiis.exe will only be able to encrypt files on the same machine, attempted to encrypt from a remote machine will produce incorrect results.
  2. Open a command prompt as an administorator.
  3. Navigate to C:\Windows\Microsoft.NET\Framework\v4.0.30319
  4. Run aspnet_regiis.exe -pdf "appSettings" "[physical path to the web.config]"

This will allow you to recover the password from the web.config.

top