CPM/SRS - winRc=1222: 'The network is not present or not started.'
134
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 13:03 PM
Symptom
When CPM/SRS tries to manage a Windows account, a winRc=1222 error is returned. Depending on which log is viewed, the error may look like the below:
- .Debug.Log:
- Password verification failed for user [<domain>\<username>] on [\\<address>\ipc$] failed. Error: 1222.
- .log:
- Error in verifypass to user <domain>\<username> on domain <address>(\\<address>). Reason: The network is not present or not started. (winRc=1222). The CPM is trying to verify this password because its status matches the following search criteria: ResetImmediately.
- pm.log:
- Error in verifypass to user <domain>\<username> on domain <address>(\\<address>). Reason: The network is not present or not started. (winRc=1222). The CPM is trying to verify this password because its status matches the following search criteria: ResetImmediately.
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 the Workstation service not running on the target device. No note, the display name is 'Workstation'. The actual service name is 'LanmanWorkstation'.
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=1222 Error Definition:
ERROR_NO_NETWORK
1222 (0x4C6)
The network is not present or not started.
Resolution
To resolve this issue, start the Workstation service on the target device. To do so:
- Open services.msc
- Locate the Workstation service, right-click, and select Properties.
- Click Start
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
Additional Information
Details
SYMPTOM:During CPM operations the following error is received:
Code: 2101, Error: Error in verifypass to user MyDomainName\UserXYZ on domain MyDomainName(\\MyDomainName). Reason: The network is not present or not started. (winRc=1222). The CPM is trying to verify this password because its status matches the following search criteria: ResetImmediately.
PROBLEM:
The "Workstation" service is not started on the target machine.
SOLUTION:
To start the "Workstation Service" on the target machine:
To start the "Workstation Service" on the target machine:
- Go to the Start Menu
- Click on "Run..."
- Type in "Services.msc" and then click on OK
- Find the Workstation Service in the list and right click
- Select Start from the popup menu