CPM/SRS - winRc=53: 'The network path was not found.'

CPM/SRS - winRc=53: 'The network path was not found.'

375
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:59 PM


Symptom


 

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

 

  • .Debug.Log:
    • Login with user [<domain>\<username>] on [\\<address>] failed. Error: 53.
  • .log:
    • Error in verifypass to user <domain>\<username> on domain \\<address>(\\<address>). Reason: The network path was not found. (winRc=53).
  • pm.log:
    • Error in verifypass to user <domain>\<username> on domain \\<address>(\\<address>). Reason: The network path was not found. (winRc=53).

 



Environment


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

 

CPM/SRS

Windows Target

 



Cause


 

This error can be generated due to multiple different reasons including, but not limited to:

 

  • Target device is offline or otherwise inaccessible across the network.
  • Antivirus/firewall misconfigurations.
  • DNS resolution issues.
  • Server Message Block (SMB) is disabled on the target and/or CPM/SRS connector, or mismatched versions are enabled.
  • Network Interface Card (NIC) issues, including outdated drivers and/or misconfigurations.
  • 'File and Printer Sharing for Microsoft Networks' is disabled on the target.
  • Leading/trailing whitespaces in account object properties in PVWA and/or general property misconfigurations.

 


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=53 Error Definition:
ERROR_BAD_NETPATH 
53 (0x35) 
The network path was not found.

 



Resolution


 

To resolve the various potential reasons for this error listed above:

 

Issue: Target device is offline or otherwise inaccessible across the network.

Resolution: Ensure that the device is powered on, as well as connected to, and accessible, across the network.

 

Issue: Antivirus/firewall misconfigurations.

Resolution: Ensure that all antivirus applications on the target device are configured appropriately such that they do not hinder the network connection.  Confirm that all required (by Microsoft) network ports are open:

 

        • Domain Accounts:
          • 53 -- DNS
          • 88 -- Kerberos
          • 139 -- SMB
          • 445 -- SMB
          • 49152 - 65535 -- TCP Dynamic Ports
        • Local Accounts:
          • 135 -- RPC/WMI (Required if 'VerifyMachineNameBeforeAction' platform parameter is set to ‘Yes’)
          • 139 -- SMB
          • 445 -- SMB
          • 49152 - 65535 -- TCP Dynamic Ports

 

Note: For more details regarding network port requirements for CPM/SRS, refer to the documentation here: Network Port Requirements

 

Issue: DNS resolution issues.

Resolution:

        • Verify that the device hostname on the target is correct.
        • Flush the DNS cache by running the following two commands, in order, in an elevated command prompt session on the target:
          • -ipconfig /flushdns
          • -ipconfig /registerdns

 

        • When the 'DisableAddressResolving' platform parameter is set to 'No' (this is the default setting), the plugin uses Microsoft's 'DC Locator' function to get the name of the best domain controller (DC) to communicate with.  The target device (either the Active Directory domain environment or a specific local host, depending on what value is populated for the 'Address' parameter of the account object in question) returns the hostname of the DC (or of the local host); it does not return the FQDN.  This means that the connection attempt will use the targets hostname (IE: 'dc1' rather than 'dc1.remotedomain.fqdn').  If hostname resolution functionality (IE: WINS or GlobalNamesZone), which allows for resolution of this short name, does not exist, the connection attempt will fail because it can't find the IP address of the target to communicate with.

If/when this situation occurs, the solution is to add the remote domain suffixes to the DNS Suffix Search list on the network interface of the CPM/SRS connector so it will attempt to append those domains as well for name resolution.  To do so: 

          • Access the Properties of the network adapter.
          • Select 'Internet Protocol Version 4 (TCP/IPv4) -> Properties -> Advanced -> DNS tab -> 'Append these DNS suffixes (in order)' -> Add
          • Add the DNS suffixes of the remote domains as needed.
          • When finished, select 'OK' -> 'OK' -> 'Close'

Note: For more information on the DC Locator function, refer to the following documentation from Microsoft: Locating domain controllers in Windows and Windows Server

 

        • If needed, engage internal network team for further troubleshooting assistance.

 

Issue: Server Message Block (SMB) is disabled on the target and/or CPM/SRS connector, or mismatched versions are enabled.

Resolution: Ensure that at least one matching SMB protocol is enabled on the both the CPM/SRS connector and target device.  Refer to the following KB for more information: CPM - What SMB protocol versions are supported by CPM?

 

Issue: Network Interface Card (NIC) issues on the target, including outdated drivers and/or misconfigurations.

Resolution: Ensure that the latest NIC driver is installed and confirm there are no misconfigured settings such as speed and/or duplex misconfigurations.

 

Issue: 'File and Printer Sharing for Microsoft Networks' is disabled on the target.

Resolution: Access the Properties of the relevant network adapter on the target device and enable 'File and Printer Sharing for Microsoft Networks'.

 

Issue: Leading/trailing whitespaces in account object properties in PVWA and/or general property misconfigurations.

Resolution: Copy/paste account object properties from PVWA into a text editor and check for leading and/or trailing whitespaces.  Also check for basic misconfigurations such as a misspelled address and/or username.

 

 

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