Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

Rescan of Windows Machine in Protection Group Fails With "The network path was not found."

$
0
0

Rescan of Windows Machine in Protection Group Fails With "The network path was not found."

KB ID: 4495
Product: Veeam Backup & Replication
Veeam Agent for Microsoft Windows
Published: 2023-09-21
Last Modified: 2023-09-21

Challenge

During the rescan of a Protection Group or individual Windows machine, the rescan fails with the error:

Unable to install backup agent: failed to connect to <machine_name> Error: The network path was not found. The network path was not found. (ERROR_BAD_NETPATH).
Example Error
Example Log File Content
C:\ProgramData\Veeam\Backup\Rescan\Rescan_of_<protection_group_name>\Task.<machine_name>.log
Info         [KB4495] Trying to install Installer service on 10.10.10.10:6160.
Error        Native method execution failed: install service ex - The network path was not found.
Error        The network path was not found. (ERROR_BAD_NETPATH)
Error        --tr:Error code: 0x00000035
Error        --tr:Failed to create persistent connection to ADMIN$ shared folder on host [10.10.10.10].
Error        --tr:Failed to install service [VeeamDeploySvc] was not installed on the host [10.10.10.10].
Warning      [KB4495] Failed to install Installer service on 10.10.10.10:6160. Reason: The network path was not found.
Warning      The network path was not found. (ERROR_BAD_NETPATH)

A warning similar to the one shown above will occur if the credentials provided are incorrectly formatted. However, it will state "Failed to connect" and be a warning. Credentials must be formatted with a username specified in the down-level logon name format (e.g., either domain\username or hostname\Administrator) and not with a dot slash (i.e., .\Administrator).

Note: Use of a local account other than Administrator will likely fail; see KB4185.

Failed to connect to <name> Details: The network path was not found. The network path was not found. (ERROR_BAD_NETPATH).
Warning

The topics discussed in this article also apply to the error:

The specified network name is no longer available. Failed to connect to share '\\x.x.x.x\ADMIN$'.

Cause

This error occurs when the Administrative share (admin$) of the Windows machine being rescanned cannot be reached.

The error code (0x00000035 or 53 in decimal) is relayed by Veeam Backup & Replication from the underlying Windows OS error "Error 53: The network path was not found."

Possible causes include, but are not limited to:

  • The machine is powered off.
  • DNS is not resolving the hostname or FQDN to the correct IP.
  • A firewall is blocking the connection to the ADMIN$ share.
  • The Windows machine's Server service may be turned off, disabling File and Printer Sharing.
  • The ADMIN$ share is not present.

Solution

Review the troubleshooting steps below, remembering to test rescanning the individual machine in the protection group if a section results in changes being made.

Ensure the Machine is Powered On

Ensure that the Windows machine failing to be rescanned is powered on.

Ensure DNS Resolution is Correct

Note: This stage can be skipped if the Windows machine was added to the Protection Group via IP address.

From the Veeam Backup Server, use nslookup to check the IP of the Windows machine that is failing to rescan. Make sure to use the hostname or FQDN precisely as it was added to the Protection Group. Then, run ipconfig from within the Windows machine and compare the results. If they do not match, resolve the DNS issue.

Ensure Access to Port 445

From the Veeam Backup Server, check if port 445 (default SMB port) can be reached on the Windows machine failing to rescan.

PowerShell example:

Test-NetConnection -ComputerName hostname -Port 445
If the results output states  "TcpTestSucceeded : False," either a firewall is blocking the connection or the Server service is not running within the guest.
Veeam Agent Management Required Ports
While port 445 is the port directly associated with the ADMIN$ share connectivity issue, other ports must be accessible to ensure the full functionality of Veeam Agent for Microsoft Windows. Ensure all firewalls involved have been configured according to the Required Ports for Management of Veeam Agent for Microsoft Windows deployments.

Ensure That the Server Service Is Running

Connect to the Windows machine that is failing to rescan. Open the Services management console (services.msc) and ensure that the Server service is running.

Ensure that the ADMIN$ Share Is Active

Note: By default, the ADMIN$ share is automatically created when the Server service starts. However, this behavior may be disabled if the AutoShareServer value is set to 0 in the HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters key.

Connect to the Windows machine that is failing to rescan and check in Computer Management under Shared Folders > Shares to see if the ADMIN$ share entry is present.

Or use PowerShell to check:

Get-WmiObject -Class Win32_Share | Where-Object { $_.Name -eq 'admin$' }
  • If the ADMIN$ is present, check the other troubleshooting sections.
  • If the ADMIN$ is missing, restart the Server service. If the ADMIN$ share is not automatically created when the Server service is started, open the Registry Editor and navigate to HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters. If the AutoShareServer value is present and set to 0, remove it and restart the Server service again.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Viewing all articles
Browse latest Browse all 4362

Trending Articles