Microsoft WindowsWindows 10Windows 11

How to Fix the RPC Server is Unavailable

In this blog, we will explore how to fix the error the RPC server is unavailable that stops you from connecting to your VPN servers when using the Windows operating system. We will provide a solution for the issue of the system not logging you on due to the following error: the RPC server is unavailable, and Windows 10 can’t log.

The RPC server is unavailable

What is RPC?

The RPC (remote procedure call) is a protocol that allows multiple processes on a computer to communicate with each other to perform a task. An RPC server cannot communicate with another computer on the same network, resulting in an error.

the RPC server is unavailable when logging on; the Proton VPN app can’t configure DNS settings properly.

Reason

There are some reasons for this problem.
Incorrect DNS settings.
Incorrect time and time zone settings are necessary.
The TCP/IP NetBIOS Helper service is not working.
The Remote Registry service is not working.

Possible Fix to RPC server unavailable Error

Follow the steps below the instructions.
If the first step doesn’t work, then move on to the second step.

Reset your PC
Flush your DNS cache
Make sure all RPC services are running on your computer
Verify RPC isn’t blocked by your firewall
Boot PC using a normal startup
Enable IPv6 and file & printer sharing
Edit your registry settings

Flush your DNS cache to Fix RPC server unavailable error

Search for the command prompt and Run as administrator.

ipconfig /flushsdns
ipconfig /renew
Flushdns command

Now, attempt to connect to Proton VPN and see if the issue is resolved.

The screenshots used in this blog are from Windows 10; however, the instructions for Windows 11 are almost the same as the instructions for earlier versions of Windows.

Restart Services to Fix the RPC server is unavailable remote desktop

Make sure that all RPC services are running on your computer.
Search for the Services app and run as an administrator.

Find the DCOM Server Process Launcher service and right-click on it, then choose properties.

Services

Ensure that:
The startup type is set to Automatic.
Service status is running.
If they don’t, set the Startup type to Automatic and start the service.

Remote Procedure Call (RPC).

Remote Procedure Call (RPC) Locator

RPC Endpoint Mapper

Restart your computer and check if the issue is fixed.

Boot Using Normal Startup

Open the run box (Windows + R key), type msconfig, and open it.

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

Verify Internet Protocol

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

Right-click on the network connection and select Properties.

Network connections

Click the following boxes, then click OK.
File and Printer Sharing for Microsoft Networks
Internet Protocol Version 4 (TCP/IPv4)
Internet Protocol Version 6 (TCP/IPv6)

Ethernet properties

Restart your computer and see if the problem is fixed.

Verify that RPC Isn’t Blocked by your Firewall

Search for the Firewall & network protection system settings and open it.
Click Allow an app through the firewall.
Locate Remote Assistance and ensure that both its Public and Private boxes are checked.
If you make any changes, select Save and restart your system to verify if the issue is resolved.
A selective startup is suitable for troubleshooting problems, but it may prevent RPC services from loading.

Edit your registry settings

Type regedit in the run box and select ok.

Back up your registry by clicking File and Export.

Warning: Do not skip this step. Changing the registry can seriously damage your Windows installation. Always make sure that you possess a backup to restore.

Go to the following path.

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs
Double-click on Start.
RPC server is unavailable registry editor

Set Value data to 2 and click OK.

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

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DcomLaunch
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcEptMapper

Jamil Parvez

Jamil Pervez works as a Network Administrator, based in Kuwait with a Primary focus on Microsoft technologies. Microsoft Certified MCSE, MCTP, MCITP, CCNP, CCIP, CCVP with 20 years of experience in administering Windows Servers, Exchange, VMWare, Veeam B&R, Veritas BackupExec.

Related Articles

Leave a Reply

Back to top button