Support Center / How to fix an “RPC server is unavailable” error

How to fix an “RPC server is unavailable” error

In this support article, we discuss how to fix an RPC server is unavailable error that prevents you from connecting to our VPN servers when using Windows.

RPC server is unavailable  warning

What is RPC?

A remote procedure call (RPC) is a protocol that allows different processes on a computer to communicate with each other to perform a task. An RPC server is unavailable error occurs when a Windows PC cannot communicate with another computer on the same network.

If the RPC server is unavailable, the Proton VPN app cannot configure DNS settings correctly.

Possible solutions to RPC server unavailable error

We suggest trying each of the solutions below in the following order. If step 1 doesn’t work, then move to step 2. 

  1. Ensure all RPC services are running on your PC
  2. Check RPC isn’t blocked by your firewall
  3. Boot using normal startup
  4. Enable IPv6 and file & printer sharing
  5. Flush your DNS cache
  6. Edit your registry settings
  7. Reset your PC

The screenshots used in this article are from Windows 10, but instructions for Windows 11 are almost identical. Instructions for earlier versions of Windows are similar. 

Ensure all RPC services are running on your PC

1. Search for the Services app and Open it. 

Open the Services app

2. Find DCOM Server Process Launcher and double-click on it.

Find the DCOM Server Process Launcher and double-click on it.

3. Ensure that:

  • Startup type is set to Automatic
  • Service status is Running.

If they aren’t, set Startup type to Automatic and Start the service. 

Set Startup type to Automatic and Start the service

4. Repeat steps 2 and 3 for the following services:

  • Remote Procedure Call (RPC)
  • RPC Endpoint Mapper
  • Remote Procedure Call (RPC) Locator

5. Restart your PC and see if the problem is resolved. 

Check RPC isn’t blocked by your firewall

1. Search for the Firewall & network protection system settingsOpen.  

Open Firewall & network protection

2. Click Allow an app through firewall.

Allow an app through firewall

3. Locate Remote Assistance and make sure both its Public and Private boxes are checked

Locate Remote Assistance and make sure both its Public and Private boxes are checked

4. If you make any changes, be sure to click Save and restart your PC to see if the problem is resolved. 

Boot using normal startup

A selective startup is useful for troubleshooting problems, but it may prevent RPC services from loading.

1. Search for the System Configuration app and Open it.  

the System Configuration app

2. In the General tab, ensure Normal startup is selected. If it isn’t, select it, then click OK and restart your PC to see if the problem is resolved. 

n the General tab, ensure Normal startup is selected

Enable IPv6 and file & printer sharing

An RPC server is unavailable error may be caused by a misconfigured local network connection. Enabling IPv6 and File & Printer sharing on your network can fix the problem.

1. Search for the View network connections setting and Open it.  

1. Search for the View network connections setting and Open it.  

2. Right-click your network connection → Properties.

Go to Properties

3. Check the following boxes, then click OK

  • File and Printer Sharing for Microsoft Networks 
  • Internet Protocol Version 6 (TCP/IPv6)
Enable File and Printer Sharing and IPv6

4. Restart your PC and see if the problem is resolved. 

Flush your DNS cache

1. Search for the Windows PowerShell app and Run as administrator.

Open Windows PowerShell

2. Type the following commands, hitting enter after each one.

ipconfig /flushsdns

ipconfig /renew

exit

Windows PowerShell

Now try to connect to Proton VPN and see if the problem is resolved. 

Edit your registry settings

1. Search for the Registry Editor app and Open it.  

Open the Registry Editor

2. Back up your registry by going to File → Export

Backup your registry

Warning: Do not skip this step! Making any changes to the registry can seriously damage your Windows installation. Always ensure you have a backup to restore from.

3. Navigate to: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs and double-click on Start.

Edit registry settings

4. Set Value data to 2 and click OK.

Set Value data : 2

Repeat step 4 (with Value data : 2) for the following Registry keys:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DcomLaunch

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcEptMapper

5. Restart your PC and see if the problem is resolved. 

Reset your PC

If all else fails, you can reset your PC.

1. Search for the Reset this PC system setting and Open it.

Reset this PC

2. Go to Reset this PCGet started.

Get started

3. Choose whether or not to keep your personal files, then wait for Windows to reset. 

Keeps files or not

Secure
your internet

Get Proton VPN
Get Proton VPN