'The RPC server is unavailable' is a simple error that you may face while using Outlook or any other Windows service on a shared network. If you are a new user, you might take this error as a fatal one. But in reality, it’s just a common network error. Sometimes the disturbance is caused just because the File and Printer Sharing is disabled on your system.

However, various other causes lead to RPC Server error, which we will be discussed later in this section. First, let’s have a brief introduction of RPC Server and why RPC Server error is caused. Later we will discuss methods to undo this mere error.

Remote Procedure Call (RPC)

Remote Procedure Call, better known with its short form RPC, is a network-based protocol that connects different Windows processes through the inter-process communication technology. The benefit of RPC is that the processes can share the Windows based resources within the same network more effectively. It can be considered as a request-response protocol, that can be structured using a Client-Server communication model.

The clients gain the ability to connect with the email server more securely through the RPC protocol. The following versions of Exchange Server and Outlook prefers the RPC connection.

  • Microsoft Outlook version 2007
  • Microsoft Outlook version 2010
  • Microsoft Outlook version 2013
  • Microsoft Exchange Server version 2007
  • Microsoft Exchange Server version 2010
  • Microsoft Exchange Server version 2013

A request is initiated by the user, which is then transported to the server via RPC; in return, a response is generated by the server and sent back to the user.

Note: Here, the client system and the server can either be different machines in a network or different processes within a single machine.

RPC plays a crucial role in managing devices across a network. Any disturbance caused within the network can result in RPC Server unavailable error.

RPC Server unavailable error

Reasons Behind the "RPC Server is unavailable" Error

Well, there can be several reasons behind this error. Still, the most reported one is the improper configuration or disturbance caused in the connection of peripheral devices like printer or scanner. A connection disturbance can be easily fixed with a few steps.

In this section, we have listed some of the root causes that lead to the RPC Server is unavailable error.

  • Windows Firewall: Sometimes a security application within the client machine or any other third-party firewall running on the server denies the RPC Server requests. It, in turn, blocks the traffic reaching the TCP ports of the Server machine. Allowing the RPC server to communicate through your Windows Firewall freely is the first thing you must do to solve this issue.
  • Invalid Windows Registry Settings: RPC requires valid Windows registry settings to function; any modified, invalid or corrupt entry will disable RPC services on your machine.
  • Inappropriate Network Configuration: A network is a combination of PC’s, network cables, peripheral devices, routers, etc. Any damaged component or improper network configuration leads to server unavailability issues. In such scenarios, a procedure call from the user’s end fails to reach the server resulting “RPC server unavailable” error.
  • Name Resolution Errors: A procedure call initiated by the user is specified by a name, IP address, and port addresses. All these specifications are needed by the server to respond to the correct machine. In case an RPC server’s name is mapped to a wrong IP address, the request might get deviated to a wrong server. This will result in server issues, mostly the RPC server unavailable error.
Workarounds to fix the “RPC server is unavailable” Outlook error

To make RPC functional and get the server issues sorted, you have to complete the following fixes one after the other.

Fix 1: Change the Windows Firewall settings
  1. Go to Start, click Windows Search bar, type Windows Firewall and click the Windows Firewall icon.
  2. Select “Allow apps to communicate through Windows Firewall.”
  3. Click on the Change Settings button. Click on the Change Settings
  4. Allow Remote Assistance to access both Private and Public networks. access both Private and Public networks
  5. Save the changes and reboot your machine. Check whether you still get the server error messages or not. If everything seems to be fine, stop and don’t go for other steps; if not, follow the remaining fixes.
Fix 2: Check whether the RPC services are running

Always make sure that the RPC-related services are running on your machine. Sometimes by default, these services are disabled by the operating system. You can manually change the settings anytime by following these simple steps:

  1. Press Win + R key to launch the Run Command dialog box.
  2. Type “Services.msc” and hit Enter.
  3. Look for three services, namely Remote Procedure Call Locator, Remote Access Connection Manager, and Remote Access Auto Connection Manager. Simultaneously, make sure that these services are actively running in the background. If not, select each service individually, right-click and select Properties, and select the Startup Type as “Automatic.” Click OK to save the changes. Select each service individually
Fix 3: Check Windows Registry Settings

An invalid, corrupt, or modified Windows Registry entry might disable the RPC. Make sure that the registry entries are appropriate. Follow the steps given below to make RPC functional on your machine.

Note: Be careful while making changes to your Windows Registry, any unnecessary changes might affect your system’s functionality.

  1. Press Win + R and launch the Run dialog box.
  2. Type “regedit” and hit Enter.
  3. Navigate all way to: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs". Command
  4. Look for any missing or invalid registry, if found, consider either re-installing Windows or use any third-party tool to fix the issue.
Fix 4: Flush DNS
  1. Go to Windows Search, type CMD, right-click and select Run as Administrator.
  2. Type the commands as given below and hit Enter after each one as per the order given.

    -ipconfig/flushdns
    -ipconfig/registerdns
    -ipconfig/release
    -ipconfig/renew
    -netsh winsock reset

    Type the commands as given below

Once you have executed all the commands, reboot your PC and launch Outlook.

Conclusion

Getting an RPC Server error is common for Windows-based Outlook users, especially when they are working in a network environment. RPC Server Error is a network-based error that not only appears in Outlook but other Windows services as well. Here, we have discussed various methods to fix it.