CPM/SRS - winRc=384: 'Can't obtain windows error.'

CPM/SRS - winRc=384: 'Can't obtain windows error.'

120
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:11 PM


Symptom



When CPM/SRS tries to manage a Windows account, a winRc=384 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: 384
  • .log:
    • Error in prereconcilepass to user <domain>\<username> on domain <address>(\\<address>). Reason: Can't obtain windows error. (winRc=384).
  • pm.log:
    • Error in prereconcilepass to user <domain>\<username> on domain <address>(\\<address>). Reason: Can't obtain windows error. (winRc=384).


Environment


Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM);Secrets Rotation Service (SRS)


CPM/SRS
Windows Target

 



Cause



This error could be caused by multiple issues including, but not limited to, the following:

 

  • Accounts that reside on/in old, unsupported Windows operating system (OS) and/or Active Directory (AD) domain versions.
    • NOTE:  The actual culprit is usually due to the use of older, unsupported TLS and/or SMB versions on those systems.
  • Significant system time differences between the CPM/SRS connector and target device.
  • Certain network-related issues (other winRc errors that are more commonly associated with network issues are generally seen first).


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=384 Error Definition:
ERROR_CANT_OBTAIN_WINDOWS_ERROR
384 (0x180)
Cannot obtain Windows error.

 



Resolution



To resolve the issues listed above:
 

Issue: Accounts that reside on/in old, unsupported Windows operating system (OS) and/or Active Directory (AD) domain versions.
Resolution: The root cause is usually that the target device only has older, possibly unsupported versions of TLS and/or SMB enabled.  While newer TLS/SMB versions, matching what the CPM has enabled, could also be enabled on the target, generally these situations occur only with old, unsupported Windows systems.  Ensure that the account in question resides on a supported Windows operating system and/or in a supported Active Directory domain.  For a list of currently supported Windows OS's and AD domains, see below:

    Issue: Significant system time differences between the CPM/SRS connector and target device.
    Resolution: Ensure that the CPM/SRS connector and target device are both using valid NTP (Network Time Protocol) sources.

    Issue: Certain network-related issues (other winRc errors that are more commonly associated with network issues are generally seen first).
    Resolution: As noted above, if/when winRc=384 is thrown due to a network-related issue, it has already been preceded by more common network issue-generated winRc errors.



    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
     



    Actions
    • Print
    • Copy Link

      https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001aMRCAY&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail