Remote procedure call (RPC) is a technology present since the emergence of computers and uses the inter-process communication technique. Its main objective is to allow a client and a server to communicate with each other on the network. Some users after upgrading to newer version of Windows 10 may notice that remote command execution fails with error message RPC server is unavailable – Before upgrading, these remote commands execute successfully. In this article, we will identify potential causes and then provide possible solutions that you can try to resolve this problem.
The error message RPC server is unavailable can be triggered by any of the following:
- One or more services required by RPC are disabled.
- Remote assistance is disabled by the firewall.
- Sharing of IPV6 printers or files is disabled.
- The IP address crashes the RPC server.
- RPC services are disabled through the registry.
Lily: How to resolve errors and problems related to remote procedure calls.
RPC server is unavailable
If you are facing this error, you can try the recommended solutions below.
- Check the RPC service on your computer
- Activate remote desktop / firewall assistance
- Change the start selection from selective start to normal start
- Enable IPV6 and file and printer sharing for the connected network
- Empty the DNS and renew
- Force the RPC services to start using Registry Editor.
Now let’s take the detailed steps of these solutions.
1]Check the RPC service on your computer
This solution implies that conflicts with other third-party applications or modification of system systems can force the RPC service to change from the default value (Automatic) to manual. This means that RPC may not start automatically when needed.
To check the RPC service on your computer, follow these steps:
- Press Windows + R, type services.msc in the dialog box and press Enter.
- Once in the Services window, locate the following processes:
Remote procedure call (RPC)
RPC endpoint mapper or remote procedure call locator (RPC)
DCOM service process launcher
- Right click on each service one by one and select Properties.
- Once in the properties, make sure the service is Start and the Startup type is defined as Automatic.
- Save the changes and exit.
Restart your computer and see if the problem is resolved.
2]Activate remote desktop / firewall assistance
To allow remote assistance in the firewall on your computer, follow these steps:
- Press Windows key + R, type control in the dialog box and press Enter.
- Once the control panel appears, type Firewall in the search bar at the top right of the window and press Enter.
- In the results, click Allow an application through Windows Firewall which is a subcategory below firewall window.
- Click on Modify the parameters and make sure that entries applying RPC are checked such as Remote Support.
Restart your computer and see if the problem is resolved.
3]Change the start selection from selective start to normal start
Selective boot is a boot method that allows your computer to turn on with a minimum number of charged items. This is usually done when troubleshooting problems with your computer that could involve other third-party applications. However, each time you start using selective boot, your computer also does not load all of the RPC components on your computer. In this case, we will select normal boot and see if that fixes the problem. Here’s how:
- Press Windows key + R, type msconfig in the dialog box and press Enter.
- Once in the startup configuration, select the tab General and choose the option Normal start.
- Click on Apply > Okay to save the changes and exit.
You will be asked to reboot. Restart immediately using the pop-up window and check if the error message is resolved.
4]Enable IPV6 and file and printer sharing for the connected network
In some cases, you may experience the Error 1722: the RPC server is not available problem in cases where there is a network connection interruption caused by one or more parameters. In this case, enabling IPV6 and file and printer sharing for the connected network could solve the problem. Proceed as follows:
- hurry Windows key + R then type ncpa.cpl in the Run dialog box and press Enterr to open the Network connections window.
- In the Network Connections window, right-click the network to which you are currently connected and click Properties.
- Once in the properties of your network connection, go to the Network tab and scroll through the list of items.
- Locate File and Sharing Printers for Microsoft Networks and Internet Protocol version 6 (TCP / IPv6) and make sure the two associated boxes are checked.
- Click on Okay to save the changes.
Restart your computer and see if the problem is resolved the next time you start it.
5]Empty the DNS and renew
This solution requires that you make sure that the services involved in the RPC connection are running (as indicated in solution 1 above) before emptying the DNS and renewing the connection.
If you are sure that the required services are running, follow the instructions below to clear the DNS and renew the connection.
ipconfig /flushdns
- Once the command is correctly registered, type the following command and press Enter to renew the IP configuration:
ipconfig /renew
Once the IP is renewed, close the elevated command prompt and run the commands remotely and see if the problem has been resolved.
6]Force RPC services to start using Registry Editor
To use Registry Editor to force RPC services to start, follow these steps:
-
Launch the Registry Editor.
- In the Registry Editor, use the left pane to navigate to the following location:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesRpcSs
- With the RpcSs selected key, go down in the right pane and double-click Start to modify its properties.
- In the properties box, put it on Based at Hexadecimal and the Value data at 2.
- Click on Okay to activate the Delete procedure call (RPC).
Then use the left pane or the navigation bar at the top (paste the registry path and press Enter) to access this location:
ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDcomLaunch
- Once there, double click Start in the right pane.
- Then define the Based at Hexadecimal and the value data to 2.
- Click on Okay in order to allow the DCOM server process launcher.
Finally, navigate to the following location using the navigation bar at the top or using the left pane:
ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesRpcEptMapper
- Go to the right pane and double-click Start.
- Then define the Based at Hexadecimal and the Value data at 2.
- Click on Okay.
Close the Registry Editor, restart your computer and see if the ‘RPC server is not available » the problem was resolved the next time the system was started.
POINT: This message will help you if you receive 0x800706BA Activation error RPC server is not available.