Synchronizer: Creating credentials file for the Synchronizer Vault user with VCS installation does not work
111
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:54 PM
Symptom
In some specific cases, the installation of VCS 13.2+ can't be finished due to the next error during creating credentials for the Synchronizer Vault user.
===
LogMsg : System.Management.Automation.RuntimeException: ScriptHalted
At D:\_INSTALL\Vault Synchronizer\VaultConjurSynchronizer-Rls-v13.2.1\Installation\Modules\PVWAapi.ps1:497 char:9
+ LogMsg -Type Error -Msg $_.Exception
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,LogMsg
===
Installation.log:
[2024-05-28 02:55:46] [INFO] *******************************************************************
[2024-05-28 02:55:46] [INFO] *** Welcome to Idira Vault Synchronizer installation ***
[2024-05-28 02:55:46] [INFO] *******************************************************************
[2024-05-28 02:55:46] [INFO] Starting installation...
[2024-05-28 02:55:47] [INFO] > Should Synchronizer run in multi-node mode? Enter 'yes' or 'no'
[2024-05-28 02:56:14] [INFO] yes
[2024-05-28 02:56:14] [INFO] > Enter the cluster key
[2024-05-28 02:56:22] [INFO] Synchronizer
[2024-05-28 02:56:22] [INFO] > Specify Idira Vault Synchronizer installation target path, default: [C:\Program Files\CyberArk\Synchronizer]
[2024-05-28 02:56:24] [INFO] C:\Program Files\CyberArk\Synchronizer
[2024-05-28 02:56:25] [INFO] > Specify an alias for the Vault
[2024-05-28 02:56:29] [INFO] Vault
[2024-05-28 02:56:29] [INFO] > Enter the PVWA/Privilege Cloud Portal URL (for example:https://cyberarkvault.mycompany.com)
[2024-05-28 02:56:43] [INFO] https://cyberarkvault.mycompany.com
[2024-05-28 02:56:43] [INFO] > Enter the IP address or the FQDN of the Vault. If the Vault has multiple IP addresses or FQDNs, list them separated by commas and without spaces
[2024-05-28 02:56:57] [INFO] 10.0.0.1
[2024-05-28 02:56:57] [INFO] > Enter the Vault port, default: [1858]
[2024-05-28 02:56:58] [INFO] 1858
[2024-05-28 02:56:58] [INFO] > Specify the Vault admin username. Note that the Vault admin must be a member of the Safe and have both Access and Workflow permissions.
[2024-05-28 02:57:04] [INFO] administrator
[2024-05-28 02:57:04] [INFO] > Specify the Vault user's password (will not be echoed)
[2024-05-28 02:57:16] [INFO] > Specify the name of the Safe for storing accounts used to manage this Synchronizer
[2024-05-28 02:57:23] [INFO] SyncSafe
[2024-05-28 02:57:23] [INFO] Retrieving PVWA certificate
[2024-05-28 02:57:59] [INFO] Creating credentials file for the Synchronizer Vault user
[2024-05-28 02:57:59] [INFO] Sync_user
[2024-05-28 02:57:59] [INFO] FBgPBkjSUD2qe1TanFq=79iQYYs4`4tc0YT`:1t
[2024-05-28 02:57:59] [ERROR] System.Management.Automation.RuntimeException: ScriptHalted
Environment
13.2 Conjur Vault Conjur Synchronizer Vault Conjur Synchronizer
Cause
The cause of getting this error could be that C:\Program Files\CyberArk\Synchronizer folder is missing some .dll files (such as msvcr120.dll and msvcp120.dll).
Resolution
It was discovered that the 32-bit version of Visual C++ is necessary to be installed on the same VCS server.
Accordingly, check if you see only the 64-bit version installed via the Program list, and if so, download and install the 32-bit version of Visual C++ from:
https://aka.ms/vs/17/release/vc_redist.x86.exe
Reference: Microsoft Visual C++ Redistributable latest supported downloads
Once this is done, restart the server and try to install the VCS again.