How to Troubleshoot and Resolve “Access is denied (winRc=5)” When Resetting or Reconciling Passwords for Domain Admin / Protected Accounts

How to Troubleshoot and Resolve “Access is denied (winRc=5)” When Resetting or Reconciling Passwords for Domain Admin / Protected Accounts

289
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 15:59 PM


Objective


When attempting to rotate, reset, or reconcile the password for a Domain Admin or any other protected account, the delegated service account may receive:

Error: Reason: Access is denied (winRc=5)

This error indicates that Active Directory permission inheritance for the target account is blocked, and the delegated account lacks the required password-reset permissions due to how AD’s AdminSDHolder and SDProp mechanisms enforce security on high-privilege accounts.

This article explains:

  • Why the error occurs
  • How AdminSDHolder governs permissions
  • How to review and correct the permissions
  • A real example illustrating the troubleshooting steps and resolution


Environment


12.0;12.1;12.2;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1;14.0;13.3;14.2;14.3;14.4;13.4;13.5;14.1;14.5;14.6;13.6;13.7;15.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)

Procedure


1. Confirm manual password reset

Log in as the reconcile/delegated service account and attempt to Reset Password on the Domain Admin account.

  • If manual reset fails → this is an Active Directory permissions issue
  • If manual reset succeeds → troubleshoot CPM configuration instead

2. Check whether the target account is protected

Protected accounts include:

  • Domain Admins
  • Enterprise Admins
  • Schema Admins
  • Administrators
  • Other Tier‑0 service accounts

If the target account is in one of these groups, it inherits permissions only from AdminSDHolder, not its OU.

3. Review AdminSDHolder ACL

  1. Open Active Directory Users and Computers (ADUC)
  2. Enable View → Advanced Features
  3. Navigate to:
CN=AdminSDHolder,
CN=System,
DC=<domain>,DC=<suffix>
  1. Right‑click → Properties → Security

Check that the delegated group or service account is present.

4. Verify correct permissions

The delegated identity must have the following Allow rights:

  • Reset password
  • Write pwdLastSet
  • Write lockoutTime

Optional but recommended:

  • Read/Write Account Restrictions

5. Verify correct ACE scope (CRITICAL)

The correct value must be:

Apply to: This object only

and NOT:

Apply to: user child objects

Reason:
AdminSDHolder contains no child user objects, so an ACE scoped to “user child objects” is ignored and SDProp will copy a non-effective ACE to protected accounts → resulting in Access is denied (winRc=5).

6. Apply corrections

If incorrect:

  • Edit the ACE
  • Add required permissions
  • Set Apply to = This object only
  • Save changes

7. Allow or trigger SDProp

SDProp runs every 60 minutes by default.

You may:

  • Wait for the cycle
  • Or force SDProp (advanced AD operation)

Once SDProp runs, the corrected AdminSDHolder ACL is propagated to protected accounts.

8. Retest manual reset

After propagation:

  • Log in again as the delegated account
  • Attempt Reset Password

If successful → reconciliation will now work.

9. Re-run CPM reconcile

Trigger a reconcile in Privilege Cloud / CPM.

Expected result:
Success - no winRc=5 errors.




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj000000188XCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail