RPC server is unavailable. How To Fix It?

How To Fix "RPC server is unavailable" Error In Windows

RPC stands for Remote Procedure Call (also known as function or subroutine call) and it is a network programming model for point-to-point communication between (or within) software applications. Remote Procedure Call (RPC) is used by a program on a computer on a network to make a request of a program on another computer on the network. In other words, Remote Procedure Call is responsible for managing devices remotely across a network and usually is used so share access to scanners, printers and other peripherals. If there is a need to share or distribute data over a network, then usually that is where the RPC technology is being used.

If you are reading this, then most probably you have encountered an error message that says "The RPC server is unavailable" and there are problems when trying to communicate with other devices or machines through the network. Possible causes for this problem are that the RPC service has stopped working, the RPC server's name may be resolving the wrong IP address, firewall is blocking the traffic and preventing traffic from reaching the server on Transmission Control Protocol (TCP), or there are some connectivity issues which causes the inability to reach the server due to a general network problem. In order to fix this error you may need to configure firewall settings on your computer, to ensure that the RPC services are running and functioning properly, check your network connection and Windows Registry. In this guide you are going to find several solutions that could possibly fix the "The RPC server is unavailable" error. Read the guide below and follow our thoroughly described steps one by one, and see if any of the methods is going to solve the problem.

NOTE: If "The RPC server is unavailable" error prevents you from starting your Windows or logging into it, then you need to boot your 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 your Windows in Safe Mode with Networking from there.

RPC server is unavailable

Table of Contents:

Check Your 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 a firewall) between trusted internal network and untrusted external network. Firewall filters network traffic and lowers the risk of being affected by malicious software that can impact the security of a private network. One of the ways to solve the "The RPC server is unavailable" error is to check if Windows Defender Firewall (or other installed third-party firewall) is not blocking the network connections for RPC. In this guide we are going to show you how to check those settings using Windows Defender Firewall. If you are using a third-party firewall, then look up Google for the instructions on how to check these settings in a particular firewall software. In order to check if Windows Defender Firewall block the network connections for RPC type "firewall" in Search and click the "Check firewall status" result.

check your firewall settings step 1

In Windows Defender Firewall window find and click the "Allow an app or feature through Windows Defender Firewall" option on the left pane.

check your firewall settings step 2

Find "Remote Assistance" in the allowed apps and features list and make sure that it is allowed. You will be able to change these settings only if you are logged in with administrative account, click "Change settings" and make sure that both "Private" and "Public" checkboxes are ticked. Click "OK" to save the changes and see if this fixed "The RPC server is unavailable" error.

check your firewall settings step 3

[Back to Table of Contents]

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 Windows (Win) key + R, or simply right-click Start and select "Run" from the contextual menu. In Run dialog box type "services.msc" and press Enter or click "OK".

check rcp services step 1

Find "DCOM Server Process Launcher", "Remote Procedure Call (RPC)" and "RPC Endpoint Mapper" services and make sure that their status is "Running" and their startup type is "Automatic".

check rcp services step 2

If one of the services is not running or its startup type is not automatic, then you will need to edit Windows Registry. We are going to show you how to do so in the following guide.

[Back to Table of Contents]

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. In order to edit your registry you will need to use Windows Registry Editor. To open Registry Editor open Run dialog box again (press Windows Windows key + R or right-click Start and select "Run") and type "regedit". Press Enter or click "OK".

edit windows registry step 1

Once Registry Editor is open, follow this path: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs". You can copy it from our article and paste it into Registry Editor's upper bar if you like. Check the items on the right pane and see if any of them is not missing.

edit windows registry step 2

If Remote Procedure Call (RPC) was not running or its startup type was not automatic, then double click the "Start" DWORD on the right pane and set its value data to "2". Click "OK" to save the changes.

edit windows registry step 3

If DCOM Server Process Launcher service was not running or its startup type was not automatic, then find it under the same "Services" key. Look for "DcomLaunch" key , select it and double-click its "Start" DWORD on the right pane, set its value data to "2" as well. Click "OK" to save the changes.

edit windows registry step 4

If RPC Endpoint Mapper service was not running or its startup type was not automatic, then find it under the same "Services" key. Look for "RpcEptMapper" select it and double-click its "Start" DWORD on the right pane, set its value data to "2" as well. Click "OK" to save the changes.

edit windows registry step 5

Close Registry Editor and see if this fixed the "The RPC server is unavailable" error.

[Back to Table of Contents]

Check Network Connections Settings

It is possible that "The RPC server is unavailable" error is caused by some network connection interruptions. It is possible that the devices that are connected to the network that you are using are connected incorrectly. To check your network connection settings open Run dialog box once again and type "ncpa.cpl", press Enter.

check network connections settings step 1

In Network Connections window you will see all available connections. Right-click the network connection you are using and select "Properties" from the contextual menu.

check network connections settings step 2

Find "File and Printer Sharing for Microsoft Networks" and "Internet Protocol Version 6 (TCP/IPv6)" under "This connection uses the following items" list and make sure that these options are enabled (the checkboxes are ticked).

check network connections settings step 3

That's it, we hope this guide was useful and helped you to fix the "The RPC server is unavailable" error. If there is another method that solved the problem for you and it is not mentioned in our guide - do not hesitate to share it with us and with the others by leaving a comment in our comment section below.

[Back to Table of Contents]

Video Showing How To Fix "RPC server is unavailable" Error:

[Back to Top]