How to run the PSM post-installation process manually
Symptom
Environment
12.2;12.6;13.0;13.2;14.0;14.2;14.4 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM)
PSM 12.2.10 and later
Cause
Issue/Cause
In the installation log the process is stuck on:
Running PostInstallation...
The following steps are going to be executed: ReduceWinCertificateWaitTime EnablePrintSessions DisableScreenSaver ConfigurePSMUsers ImproveNonRDPConnectorPerformance WebApplications
Resolution
Resolution
This process can be done manually after finishing the installation with the installation wizard.
After installing/upgrading the fix without the hardening part,
Step 1: Perform the post-Installation using PowerShell
Open the Windows PowerShell with administrator and navigate to the “Privileged Session Manager-Rls-vX.X.X\InstallationAutomation” folder.
Sample command:
CD "<CD-Image Path>\InstallationAutomation"
**Please ensure that the file path is surrounded with double quotes "".
Then, execute the Execute-Stage.ps1 script with the location of the PostInstallationConfig.xml file.
Sample command:
.\Execute-Stage.ps1 "<CD-Image Path>\InstallationAutomation\PostInstallation\PostInstallationConfig.xml"
**Please ensure that the file path is surrounded with double quotes "".
This will run all the post-installation tasks that the installation wizard did not run.
Step 2: Perform the hardening using PowerShell
After the post-Installation is completed, we can run the hardening script from the "Privileged Session Manager-Rls-vX.X.X\InstallationAutomation" folder.
Open the Windows PowerShell with administrator and navigate to the "Privileged Session Manager-Rls-vX.X.X\InstallationAutomation" folder.
CD “<CD-Image Path>\InstallationAutomation”
**Please ensure that the file path is surrounded with double quotes "".
Then, execute the Execute-Stage.ps1 script with the location of the HardeningConfig.xml file.
Sample command:
.\Execute-Stage.ps1 “<CD-Image Path>\InstallationAutomation\Hardening\HardeningConfig.XML"
**Please ensure that the file path is surrounded with double quotes "".
This will run all the hardening tasks that the installation wizard did not run.
If this is a fresh installation and the PSM is not yet registered to the Vault, please proceed with the Registration stage to register the PSM to the Vault.