PSM Installation Failure via Connector Management – Error -2147213312

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PSM Installation Failure via Connector Management – Error -2147213312

L0 Member

I am attempting to deploy the Privileged Session Manager (PSM) component through Connector Management.

The Connector prerequisites script completes successfully and Connector Management is healthy. However, the PSM installation fails during the installation phase.

Error displayed in Connector Management: Installing component failed

 

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 3 error(s) and 0 warning(s).

 

Error #1:

RunInstallation.psm1

 

The installation ended with error:

-2147213312

 

Please check the installation log file before manually restarting the machine,

the log file for the installation is PSMInstall.txt under the Windows\Temp\PSM folder.

 

PSMInstall.txt Contents

13/07/2026, 13:52:46 Silent installation started

13/07/2026, 13:52:46 Silent installation command: 0.0.0.0;Admin.cred

13/07/2026, 13:52:46 Successfully parsed silent installation command

13/07/2026, 13:52:46 Checking if Microsoft Visual C++ 2015-2022 x64 Redistributable Package is installed (by GUID).

13/07/2026, 13:52:46 Checking if Microsoft Visual C++ 2015-2022 x86 Redistributable Package is installed (by GUID).

13/07/2026, 13:52:46 Microsoft Visual C++ 2015-2022 Redistributable Packages are installed.

13/07/2026, 13:52:49 Checking operating system version. Additional information: 3

3 REPLIES 3

L5 Sessionator

Hey @Jerald Doyola​  Is this a first time installation or an upgrade, and has there been a PSM installed on this machine previously? This is most likely caused due to inconsistencies within the registry after an unsuccessful upgrade.

 

You can execute the setup.exe manually by navigating to C:\Program Files\CyberArk\Management Agent\workspace\psm-upgrade-<RANDOM ID>. You'll want to chose the psm-upgrade folder with the latest date.

Hi @Patrick Booth​ 

 

Thanks for the response.

This is a first-time PSM installation, not an upgrade. There has never been a PSM installed on this server before.

The initial installation failure reported by the Management Agent was:

 

ERROR CyberArk.PSMAutoInstallationTool.Program : PSMAI001E

An error occurred: Script failed.

Reason:

RunInstallation.psm1

The installation ended with error: -1073741819

 

The relevant portion of the log is shown below:

13/07/2026, 13:47:22 Silent installation started

13/07/2026, 13:47:22 Successfully parsed silent installation command

13/07/2026, 13:47:22 Microsoft Visual C++ 2015-2022 Redistributable Packages are installed.

13/07/2026, 13:47:25 Checking operating system version. Additional information: 3

13/07/2026, 13:47:32 Installing Oracle Instant Client

13/07/2026, 13:47:32 Repairing Oracle Instant Client

13/07/2026, 13:47:35 DeleteOldPsmociucb() failed

13/07/2026, 13:47:37 VcXsrv Server is already installed

13/07/2026, 13:47:44 Components folder was added to PATH successfully

13/07/2026, 13:47:50 The PSM remote application is already configured in your environment.

13/07/2026, 13:47:50 Installing service ...

13/07/2026, 13:47:51 Successfully set OPENSSL_CONF

13/07/2026, 13:47:51 Successfully set OPENSSL_MODULES

13/07/2026, 13:47:52 The PSMEnvironmentVariables.ps1 script ran successfully with exit code 0.

13/07/2026, 13:47:52 Loading EnvMgr

 

After that failure, I clicked Reinstall from the Connector Management console. The error then changed to:

RunInstallation.psm1

The installation ended with error: -2147213312

 

I also followed your suggestion and manually executed package (setup.exe), but the same issue persists.

 

Additional information:

  • Environment: CloudShare Lab
  • OS: Windows Server 2022 Standard (Build 20348)
  • Connector prerequisite script: Passed
  • Vault connectivity: Passed
  • WMI repository: Consistent
  • VC++ Redistributables: Installed

 

@Jerald Doyola​ Was this ever resolved? What was the solution? Running into the same thing..

 

  • 47 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!