RPC server is unavailable error is fairly common on Windows. This error means that there was an complication while sharing data between two machines on network.
Here we have shown how you can solve this error, so have a look.
Also read: Why Remote Desktop Can’t Connect To The Remote Computer?
How To Fix The RPC Server Unavailable Error?
Follow the solutions we have provided here and perform them carefully to fix this error.
1. Check Network Connection
You may get RPC server unavailable error if the network connection is not set properly.
To check that, follow the steps below:
- Open the Run utility and enter ncpa.cpl in the command box. Hit the Enter key.
- Right-click on your network adapter and select its Properties.
- Check the boxes for File and Printer Sharing for Microsoft Networks and Internet Protocol Version 6 (TCP/IPv6).
If this does not solve the problem, then go to the next solution.
2. Check RPC Service
When you are getting the server unavailable error, check if the RPC services are running properly.
To check that, follow the steps below:
- Press Windows + R to open the Run utility.
- Copy & paste or type services.msc command and hit the Enter key.
- After the Services window opens, find each of the following services:
DCOM Server Process Launcher, Remote Procedure Call (RPC), and RPC Endpoint Mapper.
- Check that all these services are Running and startup status is set to Automatic.
Otherwise go to the next solution and alter the settings in the Registry to enable them.
3. Changes Service Settings Using Registry Editor
If you find the above mentioned services are not running, then you can enable them by editing the Registry.
But before moving on to the solutions, make sure that you have backed up your registry keys and created a system restore point.
To enable the services from the Registry editor, follow the steps given below:
- Log in to your PC as an Administrator.
- Open the Run utility.
- Type regedit command and hit the Enter key.
- After the registry window opens, navigate to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RpcSs
If you do not find the above items shown in the picture, then reinstall your Windows.
- If everything is present, then double-click on the Start value and enter 2 in the Value Data. Click on Ok to save the changes.
- Now navigate to the following paths and check if both the Start values in these registry keys are set to 2. If not then set the values to 2.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\DcomLaunch
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RpcEptMapper
4. Allow Remote Assistance Through Firewall
The firewall you are using can also prevent traffic of RPC server and cause server unavailable error.
To fix the problem, allow Remote assistance through Windows Defender Firewall following the steps given below:
- Open Run utility.
- Enter control.exe in the command box and press the Enter key.
- Click on the Windows Defender Firewall option and select Allow an app through Windows Firewall as shown below.
- Click on Change Settings.
- Search for the Remote Assistance option and make sure to check all the check boxes with this option.
Conclusion
So, there you have it. Now you know how to fix the RPC server is unavailable error.
If you still have queries regarding this issue, ask us in the comment section below.