• What the “RPC server is unavailable” error means
  • Quick checks to try first
  • Basic fixes that often resolve RPC errors
  • Preventing common RPC errors
  • FAQ: Common questions about the “RPC server is unavailable” error
  • What the “RPC server is unavailable” error means
  • Quick checks to try first
  • Basic fixes that often resolve RPC errors
  • Preventing common RPC errors
  • FAQ: Common questions about the “RPC server is unavailable” error

How to fix the “RPC server is unavailable” error on Windows

Featured 11.03.2026 13 mins
Shauli Zacks
Written by Shauli Zacks
Ata Hakçıl
Reviewed by Ata Hakçıl
Kate Davidson
Edited by Kate Davidson
fix-rpc-server-unavailable

The “RPC server is unavailable” error appears when Windows can’t communicate with a required service or another system, such as during disk management tasks or when connecting to a domain controller.

Fortunately, you can usually resolve this error by following a few simple troubleshooting steps. In many cases, you’ll be able to fix it yourself without needing professional repair or advanced technical support. In this article, we’ll explain the steps to take and how to reduce the likelihood of this kind of error recurring.

What the “RPC server is unavailable” error means

A Remote Procedure Call (RPC) error occurs when Windows can’t communicate with a required service, either on your computer or over the network. It’s similar to making a phone call to a number that’s been disconnected; because the connection can’t be established, the system can’t complete the request, and the error message appears.

What RPC is and why Windows uses it

RPC is the protocol Windows uses to enable various programs to communicate and coordinate tasks. Windows components don’t operate in isolation. RPC allows one component to request services from another.Infographic outlining six steps of RPC communication and common failure points such as service down and firewall blocks.

Windows depends on RPC for many core functions, including managing disks, connecting to printers, logging into domain accounts, and running system services. You don’t notice it when everything’s running smoothly, but if the communication pathway is interrupted or blocked, you’ll see the “RPC server is unavailable” error.

Common reasons this error appears

The RPC error appears when Windows can’t establish or maintain a stable connection with a required service. This happens when there's something in between that interrupts the connection pathway. Some common causes include:

  • Required Windows services aren’t running: To work correctly, RPC needs three background services to be running. These are:
    • Distributed Component Object Model (DCOM) server process launcher: Starts and manages system services and COM components that RPC relies on.
    • Remote procedure call: Handles communication between Windows processes and services.
    • RPC Endpoint Mapper: Directs requests to the correct service and assigns the communication port.

If any of these stop running, the communication breaks down.

  • Firewall or antivirus is blocking RPC: RPC uses Transmission Control Protocol (TCP) port 135 as its initial contact point. This allows the RPC Endpoint Mapper to identify the correct service and assign a communication port. Firewalls and antivirus software may block port 135 on unsecured networks or in enterprise environments with strict security policies to prevent unauthorized remote access.
  • Network connectivity issues: If your computer loses network access, there’s an invalid IP configuration, or network discovery and related sharing features are disabled in scenarios that rely on them, Windows can’t communicate with the requested service.
  • Domain Name System (DNS) or name resolution failures: When a DNS server doesn’t respond, Windows can’t translate a system name into an IP address, so the RPC request won’t reach the correct destination.
  • Disabled network features or sharing settings: Turning off certain components, such as file or printer sharing, can prevent RPC-dependent services from functioning correctly.

Quick checks to try first

On personal or small-office systems, an RPC error generally isn’t a major issue. Before you adjust settings or disable your firewall or antivirus, do these quick checks. There are a few simple solutions that typically resolve the issue and allow communication to resume.

Restart your PC and network connection

Rebooting your computer and the network is the first step in fixing problems like the RPC error. The background services, network connections, and ports that RPC relies on to work can temporarily fail after:

  • System updates
  • Sleep mode
  • Network changes

When you restart your PC, this resets system services and restores regular communication between the various components, which often fixes the problem.

Make sure you’re connected to the internet or a local network

If rebooting your computer didn’t resolve the issue, check to make sure your internet is connected. RPC requires local system services to communicate properly, and it also needs a working network connection when accessing remote systems.

If you’re connected to Wi-Fi, confirm that you’re still connected to the correct network and that internet access is available. Connections can drop when switching networks, waking from sleep mode, or due to network misconfiguration issues. You can try:

  • Restarting your router and modem.
  • Reconnecting to your Wi-Fi network.
  • Testing access to another website or network device.

If you’re on a local network (like in an office), make sure you can reach other systems on the network. Firewall settings or incorrect network configuration can also prevent RPC communication.

Check date, time, and basic system services

It might seem like having the wrong date or time on your computer is insignificant, but it can represent a slightly larger problem: a break in the secure communication between Windows components.

Windows uses time-based security mechanisms such as Kerberos authentication, which requires the system clock to be accurate. If your clock is off by more than a few minutes, authentication fails, and RPC communication is rejected, even though the service itself is running.

It’s similar to showing up at a secure building with an ID card that expired yesterday. The building is open, the receptionist is there, but your credentials are considered invalid because the timestamp doesn’t match.

Make sure your system date, time, and time zone are correct. In Windows settings, you can enable automatic time sync to keep your clock aligned with a trusted time server and avoid authentication issues. Here’s how:

  1. Hover your mouse over the clock and right-click to open the menu. Select Adjust date and time.Screenshot showing the Windows taskbar clock. Right-clicking the clock opens a menu where you can select “Adjust date and time.”
  2. The time setting window will open. Check that the options for Set time zone automatically and Set time automatically are enabled. If not, enable them, and click the Sync now button.Windows Time settings window showing options to “Set time automatically” and “Set time zone automatically,” with the “Sync now” button higlhighted.

Temporary service or network glitches explained

Windows has multiple background services and communication channels continuously running to ensure the computer is operating at peak performance. However, all it takes is for one of them to disconnect or stop responding to create a domino effect that stops programs from communicating.

For example, a required service may still be installed but temporarily unavailable, a network session may fail to establish properly, or the system may fail to bind to a required communication port. If your RPC error is caused by one of these temporary glitches, the issue isn’t a system or configuration error, and a computer restart will often fix the problem.

Basic fixes that often resolve RPC errors

If the checks above didn’t fix your issues, follow the troubleshooting steps below to ensure that your settings and services are configured and running properly.

Check that the required Windows services are running

  1. Press the Windows key + R and type services.msc in the space provided. Then, click OK.Windows Run system window showing the services.msc input.
  2. Check that the three RPC services (DCOM Server Process Launcher (not pictured below), Remote Procedure Call (RPC), and RPC Endpoint Mapper) are all set to Running and Automatic.Windows services window shows that Remote Procedure Call (RPC) and RPC Endpoint Mapper are highlighted.
  3. If they’re not set to Running and Automatic, right-click the service to open the menu, and click Properties.The Windows services window showing the menu option for DCOM server process launcher with properties highlighted.
  4. Open the menu options next to Startup type, and select Automatic.Windows service options window showing the settings are changed from Manual to Automatic.

How to check your firewall settings

If the three services are running properly, the issue might be that your firewall is blocking port 135 rather than allowing the connections to pass. The steps below are for Windows 11 Microsoft Defender Firewall, but the process will be similar for any firewall.

  1. Type Control panel in the Windows search bar, and open the program.Control panel is typed in the Windows search bar.
  2. Click on System and Security.Windows control panel showing the System and Security setting highlighted.
  3. Under Windows Defender Firewall, click Allow an app through Windows Firewall.Windows control panel showing the Systems and security section, and Allow an app through Windows Firewall is highlighted.
  4. Locate File and Printer Sharing and Remote Assistance (not pictured below), and ensure they’re enabled to allow connection for public and private if you’re accessing remote services such as shared printers or Remote Assistance. Click the checkboxes, then the OK button.Windows Defender window showing allow app for connections and Files and Printer Sharing.
  5. Next, check that the required ports are open. Go back to the Windows search bar, type wf.msc, and open the program. If port 135 is blocked by a custom firewall rule, you may need to create an inbound rule allowing TCP port 135 on trusted networks.

Note: This rule usually needs to be configured on the device receiving the RPC connection (the RPC server). If you’re connecting to another computer or service and seeing the “RPC server unavailable” error, the firewall rule may need to be changed on that remote system rather than on the device making the request.wf.msc is typed in the Windows search bar.

  1. To create an inbound rule, click Inbound Rules on the sidebar menu.WIndows Defender advanced settings window showing Inbound rules highlighted.
  2. Press New Rule… on the menu on the right sidebar.WIndows Defender advanced settings window showing New rules is highlighted.
  3. Select Port, and then click Next.Windows inbound rules window, showing the port option.
  4. Enter 135 in the blank field next to the Ports, and click Next.Windows inbound rules wizard showing 135 entered next to the Port.
  5. Click Allow the connection, and press Next.Window Inbound port rules window showing the Allow the connection option highlighted.
  6. Click Finish.Final page of the Windows Inbound Rule settings, with the Finish button highlighted.

Don’t open port 135 on public networks unless necessary, as it can expose system services to external traffic.

Reconnect to the network and try again

A weak network connection is another common cause of the "RPC is unavailable" error. Sometimes, even when the network reconnects, RPC-dependent services may fail to re-establish communication properly.

To reconnect and reset your network, follow these steps:

  1. Type View network connections in the Windows search bar, and open the program.View network connections is written in the Windows search bar, and the Start menu is open.
  2. Put your mouse over your network and right-click. Click on the Properties option on the menu.Windows network connection page is open, highlighting the Properties option.
  3. Check that File and Printer Sharing for Microsoft Networks is enabled if you’re accessing shared folders, printers, or other devices on your network. Also, ensure that Internet Protocol Version 6 (TCP/IPv6) has a check next to it; Windows uses IPv6 internally for certain services and features, so if IPv6 is disabled, some RPC-dependent services may fail to communicate properly. If it’s unchecked, click the box to enable it, then press OK.Windows Wi-Fi properties window is open highlighting the Files and printer sharing for Microsoft networks.
  4. Restart your computer.

Clear your DNS cache

Issues with your DNS configuration can also cause an RPC unavailable error. Follow these steps to clear the DNS cache.

  1. Type CMD in the Windows Start menu, then press Enter.CMD is entered in the Windows search bar.
  2. Type ipconfig /flushdns, and press Enter. This will clear the DNS resolver cache, removing outdated or corrupted address records.Windows CMD window showing the command ipconfig /flushdns.

Run built-in Windows network troubleshooting tools

Windows comes with a network troubleshooter that can identify and fix common issues that may be blocking RPC communication.

  1. Type Settings in the Windows Start menu, and click on Settings.Settings is typed in the Windows search bar, and the settings gear is highlighted.
  2. Click System in the menu bar if it isn’t already selected.The System option is highlighted in the Windows Settings.
  3. Scroll down until you find Troubleshoot, and click it.The Windows system menu is open and Troubleshoot is highlighted.
  4. Select Other troubleshooters.The Windows troubleshoot menu shows Other troubleshooters is highlighted.
  5. Click the Run button next to Network and Internet.The Windows troubleshoot page shows the Run button next to Network and Internet.
  6. Press the Run network tests button, and the troubleshooter will scan your system, then diagnose and fix common connectivity issues. This may resolve connectivity problems that interfere with RPC communication.The Windows network and internet troubleshooter highlights the Run network tests button.

Adjust registry settings (advanced users only)

In rare cases, the “RPC server is unavailable” error may be caused by incorrect registry configuration related to essential Windows services. This step performs the same check as the Services Manager method above but directly verifies the registry values controlling how these services start. This can be useful if the Services Manager interface isn’t accessible or the settings don’t appear to apply correctly.

Note that this step is recommended for advanced users only; if you’re not comfortable working with system settings, consider seeking technical assistance.

Important: Making a mistake while making changes to your computer’s registry can cause system instability or prevent Windows from starting properly. It’s best to create a backup of your files and data before making any changes.
  1. Press the Windows key + R, type regedit, and hit Enter.Windows Run box with regedit inputted in the open field.
  2. Locate HKEY_LOCAL_MACHINE, and click the arrow next to it to open the folders.Windows registry window showing HKEY_LOCAL_MACHINE.
  3. Open the SYSTEM folder, and then open the CurrentControlSet folder.Windows registry folders with SYSTEM and CurrentControlSet highlighted.
  4. Open the Services folder, and scroll down until you find RpcSs.Windows registry folders with RpcSs highlighted.
  5. Find Start, and check if the data is set to 0x00000002 (2).Windows RpcSs folder showing Start at 0x0000002 (2).
  6. If not, right-click on Start and select Modify.Windows RpcSs start menu with Modify highlighted.
  7. Set the Value data to 2, and press OK.Registry editor window showing a value being set to 2.
  8. Go back to the list of folders and locate DcomLaunch.Windows registry editor showing a list of folders, with the folder “DcomLaunch” highlighted.
  9. Find Start, and check if the data is set to 0x00000002 (2).Windows DCOMLaunch folder showing Start at 0x0000002 (2).
  10. If not, right-click on Start and select Modify.Dcom Launch start menu is open highlighting Modify.
  11. Set the Value data to 2, and press OK.Registry editor window showing a value being set to 2.
  12. Restart your computer.

Setting the value to 2 configures the service to start automatically when Windows boots, which is the same as selecting “Automatic” in the Services Manager. If the value is set to Disabled (4) or Manual (3), RPC-related processes may not run correctly.

Preventing common RPC errors

The good news is that, on most personal systems, the “RPC server is unavailable” error is really more of an inconvenience than a major problem with your Windows PC. However, it can still interrupt important tasks, especially if it happens repeatedly. For example, you may see the error when trying to print a document, access system tools, or connect to another computer or network resource.

You may not be able to eliminate the error completely, since something as simple as a dropped connection after your computer wakes from sleep can trigger it. However, following these tips can reduce the frequency with which the error appears and help keep your system running smoothly.

Keep Windows and drivers up to date

Windows updates include fixes for system services, network components, and communication protocols that RPC depends on. Outdated network drivers or system files can cause compatibility issues or prevent services from functioning properly. Install updates regularly to help ensure that RPC and its supporting components remain stable and compatible with your system.

Avoid aggressive firewall or security app misconfigurations

Firewalls and security software protect your system, but overly restrictive settings can block legitimate RPC communication. This is especially important for environments that rely on remote services, printers, or domain authentication.

Don’t disable essential Windows services or block system communication ports unless you understand the impact. Keeping default or recommended security settings helps ensure RPC can function normally while your system remains protected.

Maintain a stable network connection

RPC depends on consistent system and network communication between services, whether on your local computer or across a network. Frequent network interruptions, switching between networks, or unstable connections can prevent Windows from reaching required services.

To reduce the risk of errors:

  • Use a reliable wired connection when possible, and ensure your network is configured correctly.
  • Verify your system has a valid IP address.
  • Ensure your network adapter is enabled.
  • Confirm you can reach other devices or services on the network.

You can test this with tools like ping or traceroute, or by accessing shared folders, printers, or other network resources. These checks help ensure RPC can contact the Endpoint Mapper, receive an assigned port, and establish a communication channel.

FAQ: Common questions about the “RPC server is unavailable” error

What does “RPC server is unavailable” mean?

The “RPC server is unavailable” error means Windows can’t communicate with a required service. Remote Procedure Call (RPC) acts like a messenger between programs, allowing them to request information or perform tasks. Interrupting this communication pathway prevents Windows from completing the request, leading to the error.

Can this error be caused by my internet connection?

A weak or unstable network connection can trigger Remote Procedure Call (RPC), especially when accessing remote printers or network services. Local RPC calls don’t typically require internet access, but an unstable or misconfigured network can prevent Windows from reaching remote services.

Is this a Windows bug or a network problem?

In most cases, it’s neither a bug nor a permanent system problem. The error usually occurs because a required service isn’t running, the network connection failed, or communication was blocked by your firewall or security settings. These are typically configuration or temporary communication issues rather than defects in Windows itself. Restarting your computer or restoring network connectivity often fixes the issue.

When should I seek professional IT help?

Before reaching out to your IT team or a computer repair service, try some of the basic Remote Procedure Call (RPC) fixes and troubleshooting steps to see if you can resolve the issue yourself. If nothing is working, there may be a deeper system error that’s preventing the services from communicating. That’s when you should reach out to the professionals.

Take the first step to protect yourself online. Try ExpressVPN risk-free.

Get ExpressVPN
Content Promo ExpressVPN for Teams
Shauli Zacks

Shauli Zacks

Shauli Zacks is a cybersecurity writer at ExpressVPN who specializes in online privacy, VPNs, and emerging digital trends. With years of experience researching and reviewing security tools, he’s passionate about helping readers take control of their data and understand the tech shaping their world. When he isn’t writing, Shauli enjoys running, traveling, and testing new gadgets.

ExpressVPN is proudly supporting

Get Started