CPM/SRS - winRc=1331: 'This user can't sign in because this account is currently disabled.'
Symptom
When CPM/SRS tries to manage a Windows account, a winRc=1331 error is returned. Depending on which log is viewed, the error may look like the below:
- .Debug.Log:
- Connecting with user [<domain>\<username>] on [\\<address>\ipc$] failed. Error: 1331
- .log:
- Error in verifypass to user <domain>\<username> on domain <address>(\\<address>). Reason: This user can't sign in because this account is currently disabled. (winRc=1331).
- pm.log:
- Error in verifypass to user <domain>\<username> on domain <address>(\\<address>). Reason: This user can't sign in because this account is currently disabled. (winRc=1331).
Environment
Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
CPM/SRS
Windows Target
Cause
This error is generated when the CPM/SRS plugin is attempts to perform a verify or change action against an account, local or domain-based, that is disabled. To note, a reconcile action against a disabled account will still be successful.
winRc stands for Windows Return Code. Windows Return Codes are generated by Windows systems. The return code shown in the CPM/SRS logs and PVWA UI is from the target Windows machine and not from CPM/SRS.
winRc=1331 Error Definition:
ERROR_ACCOUNT_DISABLED
1331 (0x533)
This user can't sign in because this account is currently disabled.
Resolution
To resolve this issue, the account must be re-enabled.
Resources:
How does CPM Manage Windows Accounts Passwords
Windows System Error Codes
Windows Network Management Error Codes
Windows Routing and Remote Access Error Codes
Windows Sockets Error Codes