CPM/SRS - winRc=8: 'Not enough memory resources are available to process this command.'
Symptom
When CPM/SRS tries to manage a Windows account, a winRc=8 error is returned. Depending on which log is viewed, the error may look like the below:
- .Debug.Log:
- Task [logon] failed with error [8]
- .log:
- Error in verifypass to user <domain>\<username> on domain <address>(\\<address>). Reason: Not enough memory resources are available to process this command. (winRc=8).
- pm.log:
- Error in verifypass to user <domain>\<username> on domain <address>(\\<address>). Reason: Not enough memory resources are available to process this command. (winRc=8).
Environment
Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM);Secrets Rotation Service (SRS)
CPM/SRS
Windows Target
Cause
This error is caused by a lack of available disk space, either on the target Windows device, or occasionally on the CPM server/SRS connector itself (despite the verbiage of the error, the issue is not usually due to a lack of available memory).
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=8 Error Definition:
ERROR_NOT_ENOUGH_MEMORY
8 (0x8)
Not enough memory resources are available to process this command.
Resolution
To resolve this error, the disk space issues must be addressed. On the CPM server/SRS connector, open File Explorer and select This PC. Under Devices and Drives, check to see that the relevant disk drives are not at capacity. Additionally, open Task Manager and check that there are no resource utilization issues.
Assuming no issues are found on the CPM/SRS connector, check the remote target. If the account in question is a domain account, you'll need to check and see which domain controller handled the CPM/SRS action (verify/change/reconcile). Once this is determined, follow the same steps as above.
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