RPC Server Unavailable in Windows: Fix It Fast
In this article
The "RPC server is unavailable" error means Windows cannot reach the Remote Procedure Call service that many system features depend on. The quickest fix is to restart the Remote Procedure Call (RPC) service, then restart your PC. If that does not clear it, check that the RPC service and its dependencies are running and set to Automatic, verify network connectivity and firewall rules, and run the built-in Windows troubleshooters.
What You'll Need
- Administrator rights on the Windows PC.
- A recent backup or restore point if you plan to change services or registry settings.
- The exact wording of menus can differ slightly by Windows version, edition and region.
Step-by-Step
- Restart the PC. A simple reboot clears temporary service stalls and is the first thing to try. Save your work first.
- Open Services. Press Windows key + R, type
services.msc, and press Enter. If prompted by User Account Control, choose Yes. - Find the Remote Procedure Call (RPC) service. Scroll to it in the list. Its status should read Running and its startup type should be Automatic.
- Restart RPC. Right-click Remote Procedure Call (RPC) and choose Restart. If Restart is greyed out, choose Start. Do not disable this service.
- Check RPC dependencies. Right-click Remote Procedure Call (RPC), open Properties, and go to the Dependencies tab. Make sure each dependent service listed there is also running. If one is stopped, start it the same way.
- Restart the DCOM Server Process Launcher and RPC Endpoint Mapper. In Services, find DCOM Server Process Launcher and RPC Endpoint Mapper, right-click each, and choose Restart. These are core services; leave their startup type as configured.
- Test the original task. Try the action that produced the error, such as opening a shared folder, joining a domain, or using a management tool.
- Run the Network and Internet troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters (labels vary by version) and run the Network and Internet troubleshooter. This can reset adapter settings that block RPC traffic.
- Check firewall and network rules. If the error appears when connecting to another PC, make sure File and Printer Sharing is allowed on the private network and that both machines are on the same network profile. In Windows Security, open Firewall & network protection and confirm the private profile is active.
- Verify time and DNS settings. On a domain network, a large clock skew or wrong DNS server can break RPC authentication. Confirm the PC is set to obtain time and DNS automatically, or matches your network's requirements.
- Run System File Checker and DISM. Open Command Prompt as administrator and run
sfc /scannow, thenDISM /Online /Cleanup-Image /RestoreHealth. Restart when finished. These repair damaged system files that services rely on. - Try a clean boot. Open
msconfig, go to the Services tab, tick Hide all Microsoft services, then disable the remaining services and restart. If the error disappears, re-enable services in small groups to find the culprit. Re-enable everything when done.
Common Mistakes
- Disabling the RPC service to "stop the error." This breaks many Windows features and is not a fix.
- Changing startup types for core services without noting the original values. Record them before editing.
- Assuming the error is always network-related. It can also come from a stopped local service or corrupted system files.
- Ignoring dependencies. RPC depends on other services; if one is stopped, RPC may fail even when it shows as running.
- Skipping the reboot after service changes. Many fixes only take effect after a restart.
Tips
- Create a restore point before changing services or registry settings so you can roll back.
- Note the exact error text and which action triggers it; that narrows whether it is local or network-related.
- If the error appears only on one shared folder or printer, check that device's permissions and availability first.
- Keep Windows updated through Settings > Windows Update; service fixes often arrive there.
- On a work or school network, contact IT before changing firewall or domain settings.
Troubleshooting
If the RPC service will not start, open Event Viewer (press Windows key + R, type eventvwr.msc) and check Windows Logs > System for errors around the time you tried to start it. The message often names the failing dependency or file. If a dependency service is missing or disabled, re-enable it and set it to Automatic, then restart.
If the error happens only when connecting to another computer, test from a different PC on the same network. If that works, the problem is local to your machine; if it fails too, the remote device or network is likely at fault. Confirm the remote device is on and reachable, and that its firewall allows the connection.
If System File Checker reports it cannot repair files, run DISM as shown above and then run SFC again. If both fail, use Settings > System > Recovery > Reset this PC, choosing Keep my files. This removes installed apps and settings but keeps personal files; back up important data first.
If the error persists after all steps, a repair install using the official Windows installation media can replace system files without deleting personal data. Download it only from Microsoft's official site.
Frequently Asked Questions
What does "RPC server is unavailable" actually mean?
It means Windows could not contact the Remote Procedure Call service, which many features use to communicate between processes and computers. The cause is usually a stopped service, a blocked network connection, or damaged system files.
Is it safe to restart the RPC service?
Yes. Restarting it is a normal maintenance action. Do not disable it, because other services and Windows features depend on it.
Why does the error appear only when opening shared folders?
That points to a network or permission issue rather than a local service failure. Check that the other PC is on, that File and Printer Sharing is allowed, and that both machines use the same network profile.
Can a firewall cause this error?
Yes. A firewall blocking RPC-related traffic can produce it when connecting to another device. Allow File and Printer Sharing on private networks and confirm the correct network profile is active.
Will resetting Windows fix it?
It often does when system files are damaged, but it is a last resort. Try restarting services, SFC, DISM and a clean boot first. A reset with Keep my files removes apps and settings, so back up before proceeding.