Agent Installation - Network Provider Error
Problem
The Agent/Distribution server installation and patch scanning have failed. The error message that you see on the screen is, ' No network provider accepted the given network path'.
Cause
This error could be due to one or more of the following reasons:
- You do not have access to admin$ of the client system
- You are unable to ping the client system through FQDN
- File and print sharing for Microsoft Networks is not enabled
- File and printer sharing is disabled in the Windows firewall of the client systems
- Security policies are not configured
- Workstation services are not running in the client systems.
- TCP/IP NetBIOS Helper services are not running in the client systems
- You have not opened the following ports in the firewall of the client systems
- 135
- 139
- 445
- 5000
- 5001
- 5002
Note:
- The causes and resolutions that are explained in this article are based on our experiences in our production and client environments. However, there may still be a few unknown causes. In case this article does not resolve your issue and if you have an Active Directory based network, you can automate agent installation using a startup script.
- The resolution provided in this article will help solve problems faced while trying to complete manual patch scanning and inventory scanning. However, this solution could fail to work in some cases, due to various reasons. Hence it is recommended to perform scheduled patch scanning.
Resolution
You can resolve this problem as follows:
Check your access to admin$ of the client systems
To check your access to admin$ of the client systems, follow the steps given below:
- In the computer where the Central server is installed, click Start>Run
- Enter \\<client Computer Name>\admin$
- Click OK
If you get the same error, enable the Remote Administration Exception option in the client systems. Follow the steps given below:
- In the client system, click start>Run
- Enter gpedit.msc
- Click OK
- Expand Administrative Templates>Network>Network Connections>Windows Firewall
- Click the Domain Profile
- Double click the Windows Firewall : Allow remote administration exception option
- Select Enabled
- Click OK
You have successfully enabled the remote administration exception option in the client systems.
Ping the client system using a Fully Qualified Domain Name (FQDN)
Ensure that you are able to ping the client systems from the system where the Central server is installed using a fully qualified domain name (example hostname.domainname.com)
Enable File and Printer Sharing for Microsoft Networks
You are required to enable the file and printer sharing option for the Microsoft networks in the client systems. Follow the steps given below:
- Click start>Settings>Network Connections
- Right click on network connection>select Properties
- In the Local Area Connection Properties dialog box, select the General tab
- Select the File and Printer Sharing for Microsoft Networks checkbox
- Click OK
Note: If you do not find this option, you are required to install the file and printer sharing option.
To install the file and printer sharing option for Microsoft networks, follow the steps given below:
- Click start>Settings>Network Connections
- Right click on Network Connection>select Properties.
- In the Local Area Connection Properties dialog box, select the General tab
- Click Install
- Select Service
- Click Add
- In the Network Service section, select File and Printer Sharing for Microsoft Networks
- Click OK
- Click Close
You have succssfully installed the file and printer sharing option for Microsoft networks.
Enable File and Printer Sharing in the Windows firewalls of the client systems
You are required to enable the file and printer sharing option in the Windows firewalls of the client systems. Follow the steps given below:
- Click start>Settings>Control Panel>Windows Firewall
- Select the Exceptions tab
- Select the File and Printer Sharing check box
- Click OK
You have successfully enabled the file and printer sharing option in the Windows firewalls of the client systems.
If you still get the error that no network provider has accepted the given network path, do the following:
- Verify if you are configuring the file and printer sharing option in the same profile that the Central server computer is using
- Check the profile using which the Central server is installed.In some cases, if the profile used to enable the file and printer sharing option in the domain is different from the one used to install the central server, the file and printer sharing option may not be enabled in the standard profile.
You can use the Netsh tool to determine the following information:
- System profile using which the Central server is installed.
- Profile using which you have enabled the file and printer sharing option
Alternatively, you can enable the file and printer sharing option for all profiles. To do this, follow the steps given below:
- Click start>Run
- Enter cmd
- Enter netsh firewall set service type = FILEANDPRINT mode = ENABLE scope = ALL profile = ALL
- Press Enter
You have successfully enabled the file and printer sharing option for all profiles.
Configure the security policy
To configure the security policy in the system, follow the steps given below:
- Click start>Settings>Control Panel>Administrative Tools
- Double click Local Security Policy>Local Policies>Security Options
- Double click Network security: LAN Manager authentication level
- Select Send LM and NTLM responses
- Click OK
You have successfully configured the security policy in the system.
Start the workstation service in the client computers
You are required to start the workstation service in the client computers. Follow the steps given below:
- Select start>Settings>Control Panel>Administrative Tools>Services
- Right click Workstation>Start
You have successfully restarted the workstation service in the client computers.
Start the TCP/IP NetBIOS Helper service in client computers
- Select start>Settings>Control Panel>Administrative Tools>Services
- Right clickTCP/IP NetBIOS Helper>Start
You have successfully started the TCP/IP NetBIOS helper service in client computers.
Open the required ports
You are required to open the following ports in the firewalls of the client systems:
- 135
- 139
- 445
- 5000
- 5001
- 5002