CPM / SRS - Does the CPM lock out Windows accounts?

CPM / SRS - Does the CPM lock out Windows accounts?

209
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM


Symptom


Customer sees accounts locked out in the AD or on target machines and thinks it is the CPM/SRS that locks the accounts.
The fact is that CPM/SRS password rotation can only lock password objects stored in the vault.  It does not perform the actual lockout of accounts on targets or in the AD.  

To clarify, let's say, for example, that the vault has an incorrect password stored. The target domain has a maximum retry of 3 login failures before an account will get locked, and the CPM/SRS has a maximum retry of 5.  It is possible for the CPM/SRS to try to verify or change the password 3 times in a row and then cause the lockout of the account in the AD/target, but the CPM/SRS does not actually perform the lockout.



Environment


14.6 Privilege Cloud Central Policy Manager (CPM);Discovery and Accounts Feed;Secrets Rotation Service (SRS)

CPM/SRS



Cause


Confusion of a lock on a password object in the vault vs. account lockout on a target or AD



Resolution


CPM/SRS password rotation can only lock password objects stored in the vault. It does not perform the actual lock on accounts on targets or in the AD.  

Troubleshooting suggestion to find out the source of an account lockout by using the Event Viewer logs

Before getting started, make sure that your audit policies are set to audit logon events. To do this:

  • Step 1: Go to the Group Policy management console →  Computer configuration → Policies → Windows Settings → Security Settings → Local Policies → Audit Policy.
  • Step 2: Enable Audit account logon events and Audit logon events. Turn on auditing for both successful and failed events.
  • Step 3: Now, go to the Event Viewer and search the logs:

    - Check if you can see multiple Event ID 4771 or 4776 via Security log on DC/PDC.

    - Check if you can see Event ID 4740 via Security log on DC/PDC.  The log details of the user account's lockout will show the caller computer name.

    - If these user accounts are not locked out by the same change or the same cause, we may need to check one domain user account first.

    - Find one locked account and for this domain user account, if you can see Event ID 4771 or 4776 and Event ID 4740 related this domain account, can you see which machine locked the user account?  If so, login to the machine that locked out this account to try to check the reason. 
    - For Event ID 4740, the log details of the user account's lockout will show the caller computer name:

  • Step 4: Go to this caller computer, and search the logs for the source of this lockout. 
  • Step 5: Search the logs for the events that happened around the time when the user was locked out.
  • Step 6: Check the user's recent logon history, login attempts, services, and applications using the user account's credentials, scheduled tasks, mapped drives, etc.
  • Step 7: If any of the above are using a stale password, update the user's password, and force replication. 
  • Step 8: Check Credential Management to see if the user's old credentials are cached (Control Panel).
  • Step 9: Check whether the network disk is mounted with the wrong password.
  • Step 10: Check if the user started the service with the wrong password, run scheduled tasks, etc.
  • Step 11: Are there other third-party programs that cache incorrect passwords for users?


Use Microsoft's LockoutStatus tool to determine where the lockout is coming from
https://www.microsoft.com/en-us/download/details.aspx?id=18465

  • LockoutStatus.exe. Determines all the domain controllers that are involved in a lockout of a user in order to assist in gathering the logs. LockoutStatus.exe uses the NLParse.exe tool to parse Netlogon logs for specific Netlogon return status codes. It directs the output to a comma-separated value (.csv) file that you can sort further, if needed.


Actions
  • Print
  • Copy Link

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