PAReplicate

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PAReplicate

L2 Linker

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

1 accepted solution

Accepted Solutions

L2 Linker

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

View solution in original post

3 REPLIES 3

L7 Applicator

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.

 

L4 Transporter

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

L2 Linker

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

  • 1 accepted solution
  • 316 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!