CPM/SRS - winRc=1210: 'The format of the specified computer name is invalid.'
Symptom
When CPM/SRS tries to manage a Windows account, a winRc=1210 error is returned. Depending on which log is viewed, the error may look like the below:
- .Debug.Log:
- Logon with user [<domain>\<username>] to [\\<address>\ipc$] failed. Error: 1210.
- .log:
- Error in verifypass to user <domain>\<username> on domain <address>(\\<address>). Reason: The format of the specified computer name is invalid. (winRc=1210).
- pm.log:
- Error in verifypass to user <domain>\<username> on domain <address>(\\<address>). Reason: The format of the specified computer name is invalid. (winRc=1210).
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 generated when a domain account is locked out via Active Directory Federation Service Extranet Smart Lockout (AD FS ESL). For more information on AD FS ESL, review the following documentation from Microsoft: AD FS Extranet Lockout and Extranet Smart Lockout Overview
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=1210 Error Definition:
ERROR_INVALID_COMPUTERNAME
1210 (0x4BA)
The format of the specified computer name is invalid.
Resolution
To resolve this error, you must unlock the account in AD FS using the Reset-ADFSAccountLockout Powershell command.
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