How To Fix "RPC server is unavailable" Error In Windows
RPC (Remote Procedure Call), also known as a function or subroutine call, is a network programming model for point-to-point communication between (or within) software applications. RPC is used by programs on networked computers to make requests to programs on other computers on the network. This model is responsible for managing devices remotely across a network by sharing access to scanners, printers, and other peripherals. If there is a need to share or distribute data over a network, RPC technology is often used.
You might have encountered the error message "The RPC server is unavailable" and experienced problems when the system attempts to communicate with other devices or machines through the network. Possible causes of this problem are: the RPC service has stopped working; the RPC server name is resolving the wrong IP address; the firewall is blocking traffic and preventing it from reaching the server on the Transmission Control Protocol (TCP), or; there are general connectivity issues thus resulting in problems reaching the server. To fix this error, you may need to configure firewall settings on your computer, ensure that RPC services are running and functioning correctly, and check the network connection and Windows Registry. In this guide, we outline several possible solutions to fix the "The RPC server is unavailable" error.
NOTE: If "The RPC server is unavailable" error prevents you from starting Windows or logging in, you need to boot Windows into Safe Mode with Networking. Read this guide and use the "Interrupt Windows Boot Process" method, or use the Windows Installation CD/DVD/USB. Then start Windows in Safe Mode with Networking from there.
Table of Contents:
- Check Your Firewall Settings
- Check The RPC Services
- Edit Windows Registry
- Check Network Connections Settings
- Video Showing How To Fix "RPC server is unavailable" Error
Check Firewall Settings
A Firewall is a network security system that is responsible for monitoring and controlling incoming and outgoing network traffic. It builds a barrier (a 'wall' or 'firewall') between trusted internal network and untrusted external networks. A firewall filters network traffic and lowers the risk of being affected by malicious software that can impact the security of a private network. One way to resolve the "The RPC server is unavailable" error is to check if the Windows Defender Firewall (or other installed third-party firewall) is blocking network connections for RPC. Here, we show how to check these settings using Windows Defender Firewall. If you are using a third-party firewall, search Google for the instructions on how to check these settings for your particular firewall software. To check if Windows Defender Firewall is blocking network connections for RPC, type "firewall" in Search and click the "Check firewall status" result.
In the Windows Defender Firewall window, find and click the "Allow an app or feature through Windows Defender Firewall" option on the left pane.
Find "Remote Assistance" in the allowed apps and features list and ensure that it is allowed. You will be able to change these settings only if you are logged in with an administrative account. Click "Change settings" and ensure that both "Private" and "Public" check-boxes are ticked. Click "OK" to save the changes and see if this fixes the "The RPC server is unavailable" error.
Check The RPC Services
Windows Services (also know as services.msc), are used to modify how Windows services run on your system. These services are responsible for running available programs and managing many system settings and resources. You can modify a service's settings for security, troubleshooting, and performance-related reasons. In this case you will need to check the "DCOM Server Process Launcher", "Remote Procedure Call (RPC)", and "RPC Endpoint Mapper" services. To open Services, press the Windows (Win) key + R, or simply right-click Start and select "Run" from the contextual menu. In the Run dialog box, type "services.msc" and press Enter or click "OK".
Find the "DCOM Server Process Launcher", "Remote Procedure Call (RPC)", and "RPC Endpoint Mapper" services and ensure that the status for each is "Running" and startup type is "Automatic".
If one of the services is not running or its startup type is not automatic, edit Windows Registry as shown in the following guide.
Edit Windows Registry
Windows Registry, usually referred to as just 'the registry', is a collection of databases of configuration settings in Microsoft Windows operating systems. It is used to store much of the information and settings for software programs, hardware devices, user preferences, operating system configurations, and much more. Many of the options exposed in the registry are not accessible elsewhere in Windows. To edit the registry, you need to use Windows Registry Editor. To open Registry Editor, first open the Run dialog box (press Windows Windows key + R or right-click Start and select "Run") and type "regedit". Press Enter or click "OK".
Once Registry Editor is open, follow this path: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs". You can copy it from here and paste it into Registry Editor's upper bar if you wish. Check the items on the right pane and see if any of them is missing.
If Remote Procedure Call (RPC) is not running or its startup type is not automatic, double click the "Start" DWORD on the right pane and set its value data to "2". Click "OK" to save the changes.
If the DCOM Server Process Launcher service was not running or its startup type is not automatic, find it under the "Services" key. Look for the "DcomLaunch" key , select it and double-click "Start" DWORD on the right pane, and then set its value data to "2". Click "OK" to save the changes.
If the RPC Endpoint Mapper service is not running or its startup type was not automatic, find it under the "Services" key. Look for "RpcEptMapper", select it, and double-click "Start" DWORD on the right pane, and then set its value data to "2". Click "OK" to save the changes.
Close Registry Editor and see if this fixes the "The RPC server is unavailable" error.
Check Network Connections Settings
It is possible that "The RPC server is unavailable" error is caused by network connection interruptions. Devices connected to the network that you are using might be connected incorrectly. To check network connection settings, open the Run dialog box and type "ncpa.cpl". Press Enter.
In the Network Connections window, you will see all available connections. Right-click the network connection you are using and select "Properties" from the contextual menu.
Find "File and Printer Sharing for Microsoft Networks" and "Internet Protocol Version 6 (TCP/IPv6)" under "This connection uses the following items" list and ensure that these options are enabled (the checkboxes are ticked).
We hope this guide was useful and fixed the "The RPC server is unavailable" error. If you know of other solutions to this problem, not mentioned in our guide, please share them with us by leaving a comment in the section below.