How to run the PSM post-installation process manually

How to run the PSM post-installation process manually

219
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:02 PM


Symptom


When installing or upgrading via the installation wizard, the wizard will not proceed after completing the Installation Stage and will be stuck at running the Post-installation tasks.


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

The customer can run the installation wizard without the Post-installation tasks, and not select the hardening process with the post-installation tasks below that in the wizard menu.
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.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001FTJCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail