Upgrading pCloud PSM via CM the Installation Stage is Blocked
Symptom
When attempting an upgrade of pCloud PSM server via the Connector Management the following message is shown on the UI:
Failed to execute command: Command failed at step: 'Installing component', with error exit status 2
Error : The installation stage of the installation is blocked due to 2 error(s) and 0 warning(s).
Error #1: InternalException
Check the log to resolve the error(s) and then click Reinstall.
After downloading the log files as suggested in the UI the "PSMInstallation-MMDDYYYY-HHmmSS.log" file will contain the following log stack on it:
2026-09-15 10:49:19:342 - PSM Execute-Stage.ps1 ERR - Step RunInstallation has failed with the following error : The term 'Reg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
2026-09-15 10:49:19:374 - PSM Execute-Stage.ps1 INF - PSM version is 14.9.1.8.
2026-09-15 10:49:19:374 - PSM Execute-Stage.ps1 INF - No need to write the 'RunInstallation' step in 'Installation' stage to the registry.
2026-09-15 10:49:19:374 - PSM Execute-Stage.ps1 INF - Successfully wrote all the required steps to the registry for 'Installation' stage.
2026-09-15 10:49:19:374 - PSM Execute-Stage.ps1 INF -
2026-09-15 10:49:19:374 - PSM Execute-Stage.ps1 ERR - Installation stage completed with the following script/s failure:
RunInstallation
2026-09-15 10:49:19:389 - PSM Execute-Stage.ps1 INF - Please see the log for more details.
You can run the failed steps separately, automatically by disabling all other steps,
or manually, in order to complete the installation.
2026-09-15 10:49:19:405 - PSM Execute-Stage.ps1 ERR - InternalException
2026-09-15 10:49:19:405 - PSM GlobalFunctions.ps1 INF - Removing registry values at HKLM:\SOFTWARE\Wow6432Node\Idira Installation Automation\Recovery
Environment
15.0 Privilege Cloud Privilege Cloud PSM
pCloud PSM for Shared Services (ISPSS) environment
Cause
This issue is usually related to the Windows OS environment variables not being correctly set under "Path"
Resolution
This issue can be resolved with the following steps:
- Login to the PSM server where the installation/upgrade process is failing
- Start the application "Edit the system environment variables" (C:\Windows\System32\SystemPropertiesAdvanced.exe)
- Click on the option "Environment Variables..."
- Under "System Variables" select "Path"
- Click on the option "Edit..."
- Check if the "%SystemRoot%\System32" variable is present in the list. In case it is not add a new entry and place it as the first one using the "Move Up" option (should be similar to the image)
- Click on "OK" until all the menus are closed
- Restart the server and wait for the "Idira Management Agent" to start running
- Attempt the upgrade process once again
If the same error happens, please double check on the folder "C:\Windows\System32" if the executable "reg.exe" is present, in case it is not reach out to your Windows server responsible team to place the correct file on the PSM machine.