CPM/SRS - winRc=1726: 'The remote procedure call failed.'

CPM/SRS - winRc=1726: 'The remote procedure call failed.'

248
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:59 PM


Symptom



When CPM/SRS tries to manage a Windows account, a winRc=1726 error is returned.  Depending on which log is viewed, the error may look like the below:

  • Windows plugin .Debug.Log file:
    • Connecting with user [<domain>\<username>] to [\\<address>\ipc$] failed. Error: 1726.
  • Windows plugin .log file:
    • Error in reconcilepass to user <domain>\<username> on domain <address>(\\<address>). Reason: The remote procedure call failed. (winRc=1726).
  • Windows plugin pm.log file:
    • Code: 2101, Error: Error in reconcilepass to user <domain>\<username> on domain <address>(\\<address>). Reason: The remote procedure call failed. (winRc=1726).
  • Windows Services plugin .Debug.log file:
    • Connecting to <address> with user <username> from domain <domain> - failed.
  • Windows Services plugin .Debug.log file:
    • Failed to open services manager on remote machine <address>.
    Windows Services plugin pm.log file:
    • Failed to open namespace \root\Microsoft\SqlServer on <address> with user <username> at domain <domain>. Error: 0x800706bf Message: The remote procedure call failed.

Also, to note, this error is very similar to winRc=1727: 'The remote procedure call failed and did not execute'.  These errors may occur simultaneously, and the cause and resolution steps are generally the same.
 



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:

  • Remote Procedure Call (RPC) service not running on the target device.
  • RPC port blocked on the target device (inbound), CPM/SRS connector (outbound), or both.
  • TCP dynamic high ports blocked on the target device (inbound), CPM/SRS connector (outbound), or both.
  • WAN optimizer/accelerator device manipulating RPC traffic between the CPM/SRS connector and target device.


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=1726 Error Definition:
RPC_S_CALL_FAILED
1726 (0x6BE)
The remote procedure call failed.

 



Resolution



Steps to resolve the issues listed above:
 

Issue: Remote Procedure Call (RPC) service not running on the target device.
Resolution: Open services.msc, locate the Remote Procedure Call service, and either select the service and click the 'play' button on the menu bar at the top, or right-click on the service and click 'Start'.

Issue: RPC port blocked on the target device (inbound), CPM/SRS connector (outbound), or both.
Resolution: Ensure that TCP port 135 is open, bidirectionally, on the CPM/SRS connector and target device firewalls, as well as any firewall in between that the network traffic may traverse.
Note: If using Windows Defender Firewall, there is an inbound rule called 'Remote Service Management (RPC-EPMAP) that can be enabled on the target device to satisfy this requirement.

Issue: TCP dynamic high ports blocked on the target device (inbound), CPM/SRS connector (outbound), or both.
Resolution: Ensure that the TCP dynamic high ports are open, bidirectionally, on the CPM/SRS connector and target device firewalls, as well as any firewall in between that the network traffic may traverse.  The TCP dynamic high ports consist of the 49152-65535 port range.
Note: If using Windows Defender Firewall, there is an inbound rule called 'Remote Service Management (RPC) that can be enabled on the target device to satisfy this requirement.

Issue: WAN optimizer/accelerator device manipulating RPC traffic between the CPM/SRS connector and target device.
Resolution: WAN optimizer/accelerator devices, such as products made by Riverbed Technology Inc., can manipulate network traffic in such a way that the RPC connection between the CPM/SRS connector and target device completely fails.  Adjust the configuration of the WAN optimizer/accelerator device so that RPC network traffic between the CPM/SRS connector and target device is unaffected.



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=kA1hj00000019MDCAY&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail