CPM does not automatically run Reconcile after Change Password fails with winRc=5

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

CPM does not automatically run Reconcile after Change Password fails with winRc=5

L2 Linker

Hi everyone,

I have a question about CPM automatic reconciliation.

Environment:

  • CyberArk version: 14.2
  • Target: Windows Server
  • Accounts: Local Windows accounts (not domain accounts)

The reconcile account is a member of the local Administrators group.

When I click Reconcile manually from PVWA, the password is changed successfully without any issue.

However, some of the local users are not members of the Administrators group (they are standard local users). For these accounts, the CPM Change Password operation fails with:

winRc=5 Access is denied

What I would like is for CPM to automatically start a Reconcile operation when the Change Password operation fails.

In my platform, the RCReconcileReasons parameter currently contains:

2114,2115,2106,2101

Do I need to add another error code to RCReconcileReasons (for example for

winRc=5 Access is denied

) so that CPM automatically performs Reconcile?

Or is there another platform setting that controls this behavior?

Thank you for your help.

6 REPLIES 6

L7 Applicator

Have.a look in the additional properties of the platform for chsngepasswordinresetmode and enable .this will then skip changing and instead go straight to a reconcile .

https://community.cyberark.com/s/article/What-is-ChangePasswordInResetMode-in-Platform-Settings-Additional-Policies

 

Thank you for your reply.

My goal is not to use Reconcile for every password change.

I would like CPM to try Change Password first, and only if it fails with winRc=5 Access is denied, automatically trigger Reconcile.

Is this possible by adding another CPM error code to RCReconcileReasons, or is this behavior not supported?

L3 Networker

Yes. Add the error code in RCReconcileReasons and set Autoreconcilewhenunsynceed to yes

068Vy00001atrfzIAA.jpg

L2 Linker

Hi do i need ad in here only : 5 or i need add winRc=5 ?

L4 Transporter

Hello,

You only need to add the value of 5.

 

Also check local policies for a setting that would prevent a password change in particular time periods such as Minimum Password age. For example, if set to 48 hours you would have to wait 48 hours after a successful password change to change again.

 

However, if using the reconcile process the age policy is not applicable.

  • 139 Views
  • 6 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!