CPM/SRS - Windows Return Code (winRc) Master List
Objective
When utilizing CPM/SRS to manage Windows accounts, you may occasionally observe a 'winRc' error. winRc stands for Windows Return Code. Window Return Codes are generated by Windows systems. They are-not generated by CPM/SRS.
This article lists out many of the winRc codes that you may see returned via the PVWA UI and/or CPM/SRS logs. For each winRc code, a knowledge article has been created which includes:
- Examples of how the error may be shown in the various CPM/SRS logs.
- Common causes of the error.
- The official error definition from Microsoft.
- Various potential resolution steps.
Resources:
How does CPM manage Windows accounts passwords
Windows Network Management Error Codes
Windows Routing and Remote Access Error Codes
Environment
Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM);Secrets Rotation Service (SRS)
Procedure
winRc=8: 'Not enough memory resources are available to process this command.'
winRc=50: 'The request is not supported.'
winRc=53: 'The network path was not found.'
winRc=64: 'The specified network name is no longer available.'
winRc=67: 'The network name cannot be found.'
winRc=68: 'The name limit for the local computer network adapter card was exceeded.'
winRc=86: 'The specified network password is not correct.'
winRc=87: 'The parameter is incorrect.'
winRc=121: 'The semaphore timeout period has expired.'
winRc=128: 'There are no child processes to wait for.'
winRc=258: 'The wait operation timed out.'
winRc=317: 'The system cannot find message text for message number 0x%1 in the message file for %2.'
winRc=384: 'Can't obtain windows error.'
winRc=1208: 'An extended error has occurred.'
winRc=1210: 'The format of the specified computer name is invalid.'
winRc=1222: 'The network is not present or not started.'
winRc=1311: 'There are currently no logon servers available to service the logon request.'
winRc=1326: 'The user name or password is incorrect.'
winRc=1327: 'Account restrictions are preventing this user from signing in.'
winRc=1330: 'The password for this account has expired.'
winRc=1331: 'This user can't sign in because this account is currently disabled.'
winRc=1384: 'During a logon attempt, the user's security context accumulated too many security IDs.'
winRc=1396: 'The target account name is incorrect.'
winRc=1726: 'The remote procedure call failed.'
winRc=1727: 'The remote procedure call failed and did not execute.'
winRc=1789: 'The trust relationship between this workstation and the primary domain failed.'
winRc=1792: 'An attempt was made to logon, but the network logon service was not started.'
winRc=1909: 'The referenced account is currently locked out and may not be logged on to.'
winRc=2102: 'The workstation driver is not installed.'
winRc=2202: 'The user name or group name parameter is invalid.'
winRc=2221: 'The user name could not be found.'
winRc=2240: 'The user is not allowed to log on from this workstation.'
winRc=2250: 'This network connection does not exist.'
winRc=8654: 'The account is controlled by external policy and cannot be modified.'