Regain Access to PSM Post-Hardening
Objective
The Issue
After performing a CPM or PSM update and running the hardening scripts, an admin may be unable to log into the PSM connector server. The login attempt returns the error messages “The User Profile Service failed the logon” or “Failed to load user profile”. Is rolling back to the previous snapshot the only solution? A rollback will require the update be reinstalled. Without access to the servers, logs cannot be provided.
Environment
14.2;14.4;14.6 Privileged Access Manager (PAM, self-hosted) Privileged Session Management (PSM)
Procedure
The Solutions
Given that the error points to a corrupted user profile, there are three options.
1. Use Safe Mode to try and recover the problematic user profile. This video contains a thorough explanation of how to do that: https://youtu.be/bBxSSSbm9Ko
2. Use Safe Mode to restore to a recent restore point (possibly before the hardening script was run but after the CPM or PSM update was installed). This video contains a simple walkthrough on how to do that: https://www.youtube.com/watch?v=0hd1t1KBSOo
3. Or perform a rollback using whatever backup software is in place.