- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
06-05-2025 03:24 AM
Hello,
I am setting the PAReplicate utility, I have seen the following article about how to use the tool:
https://community.cyberark.com/s/article/PAReplicate-Configuration-and-Usage
But the problem is everytime I use the command as described in the guide (I use my own password and user of course) then it fails with following error:
CASCF034E Cannot decrypt password from file [backup.cred] using application verifiers - are you authorized to use this credentials file? Rc = -2166007.
CASGE007E Cryptography error: Failed to decrypt buffer (code -1, reason: Failed to unseal data, diagnostics: 7)
PAREP003E PAReplicate ended with errors.
If I use the CreateCredFile tool in the way that I only set Entropy file to Yes then the replication goes well. Why is the suggested method in guide to use the command in this way ? :
'CreateCredFile.exe backup.cred Password /Username Backup /AppType CABACKUP /IpAddress /Hostname /ExePath "C:\Program Files (x86)\PrivateArk\Replicate\PAReplicate.exe" /OSUsername "NT AUTHORITY\SYSTEM" /EntropyFile /DPAPIMachineProtection /Password CyberArk1
Thank you
06-08-2025 11:04 PM
Thanks guys, I have decided to try the command to create credential file that is in the guide but without most of the switches. So basically I ran command like this: "./CreateCredFile backup.cred Password /Username Backup /OSUsername "NT AUTHORITY\SYSTEM" /EntropyFile /Password XXXX
And it worked after that using the scheduled task
06-05-2025 03:31 AM
One of the restrictions is failing when you run it.
So you have the path, os user, hostname and ip address all fixed when you create the cred file .
My guess is validate this
OSUsername "NT AUTHORITY\SYSTEM"
Check the scheduled task is running as the nt authority\system user.
06-05-2025 10:53 AM
If you are running PARepliace by urself you cannot set /OSUsername "NT AUTHORITY\SYSTEM"
Only use it if you are running it as a schedule task WITH SYSTEM user
06-08-2025 11:04 PM
Thanks guys, I have decided to try the command to create credential file that is in the guide but without most of the switches. So basically I ran command like this: "./CreateCredFile backup.cred Password /Username Backup /OSUsername "NT AUTHORITY\SYSTEM" /EntropyFile /Password XXXX
And it worked after that using the scheduled task
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!

