The RPC Server Is Unavailable (Error 1722): How to Fix It in Windows 11 and 10

Flat navy illustration of two monitors joined by a cable with a red cross on the link
Flat navy illustration of two monitors joined by a cable with a red cross on the link

Last reviewed: November 25, 2026. Steps were compared with Microsoft documentation where a page could be opened; none was run on a real PC. The top picture is an illustration, not a screenshot.

When Windows says The RPC server is unavailable, a program could not reach a helper service it needs. The usual causes are a network path problem, a stopped or blocked service, or a firewall rule that does not match your network, and error 1722 (code 0x800706BA) is the number shown with the message.

Quick answer

Quick fix summary

  1. Restart this PC, and the other PC if you can reach it.
  2. Check that the other PC is on and answers ping by name and by IP address.
  3. Clear the name cache with ipconfig /flushdns, then test the name with nslookup.
  4. Look, without changing anything, at the RPC, RPC Endpoint Mapper and DCOM Server Process Launcher services.
  5. Check that the firewall rule for the feature you need is present, and check your network profile.
  6. Confirm the date and time, then run sfc /scannow, and DISM only if SFC cannot repair files.
  7. Install pending Windows updates, and stop and get help if the error remains.

In this guide

What RPC is

Remote Procedure Call, or RPC, is a Windows method that lets one program ask another program to do a job. A tool on your PC may ask a service on another PC for a printer list, a shared folder or a remote screen. The request travels over your network, so the network and the helper services both matter.

Two helpers sit at the front of this process. The RPC service handles the requests, and the RPC Endpoint Mapper helps a caller find the right service on the other side. If either one is stopped, a caller can fail with the RPC server is unavailable message, even when the other PC is working.

Why the RPC server is unavailable appears

The message means the caller could not reach the RPC service it needed. Windows reports this failure as error 1722, which is the same failure as code 0x800706BA. You may see it in printing, remote tools, management consoles or Windows Update, and the wording is the same in each place.

The message does not say which side failed. The cause can be on this PC, on the other PC, or on the network between them. That is why the checks below start with the simplest steps and move toward system repair.

Local or remote cause

Remote cause: the other PC or the network

A remote cause means the other PC is off, asleep, blocking the request with a firewall rule, or cannot be found by name. A VPN, a router setting or a broken network path can cause the same result. Remote causes usually appear when you connect to another PC, a printer or a remote tool.

Local cause: this PC

A local cause means a service on this PC is stopped or failing, or Windows system files are damaged. Local causes often show up in one tool, such as an MMC snap-in or Device Manager, while other network work still succeeds. A wrong date and time can also break the checks that sign PCs in to each other.

The Microsoft Learn page we opened is labelled for Windows Server. It names incorrect DNS settings, incorrect time and time zone settings, and two services, TCP/IP NetBIOS Helper and Remote Registry, as causes. The page does not say these apply to Windows 10 or 11 home PCs, so the steps below treat them as general guidance.

Symptoms and likely causes

Match what you see to the table first. It shows where to start, and it is not a final diagnosis.

SymptomLikely causeFirst check
Error when you open a shared folder, printer or remote PC by nameName lookup problem, or the other PC is offPing the other PC by name and by IP address
Error only in one local tool, such as Device Manager or an MMC snap-inA local RPC or DCOM service is stopped or failingLook at the three services in Services
Error after a crash, a failed update or a power lossDamaged Windows system filesRun sfc /scannow, then DISM if needed
Error when you connect across networks or over a VPNFirewall rule, VPN or network profileCheck the firewall rule and the network profile
Error on a PC whose clock is wrongDate or time is wrong, so sign-in checks failCheck the date and time

Which tool shows the error

The same message can come from several Windows tools. Use this table to see which tool you are in, then read the matching check.

Where you see itWhat it is trying to reachCheck first
Printing, when you choose a shared printerA shared printer or the PC it is attached toPing the PC that holds the printer
Remote DesktopAnother PC's remote serviceIs the remote PC on, and does ping work by name?
MMC snap-ins, such as Event Viewer or Services, set to another PCThe other PC's management servicesPing by name, then check services on that PC
Device Manager set to another PCRemote device information over RPCConfirm the other PC is on and reachable
Windows Update or other local toolsLocal services and system files on this PCDate and time, then system file repair

If the error appears when you choose a shared printer, read our guide to printer offline and not printing fixes. Printer problems can also have causes that have nothing to do with RPC. For a printer-specific code, see our guide to printer error 0x0000011b.

Decision tree

Follow the branch that matches your case. Stop at any point where the list says to get help.

  • Does the error happen when you reach another PC?
    • Yes: Does ping by IP address work?
      • No: Check that the other PC is on and that both PCs have a network connection, then retry.
      • Yes: Does ping by name work?
        • No: Run the name lookup steps with ipconfig /flushdns and nslookup.
        • Yes: Check the firewall rule and network profile on the other PC, then its services.
    • No: The error happens only on this PC, inside a local tool.
  • Are RPC, RPC Endpoint Mapper and DCOM Server Process Launcher all shown as Running?
    • No: Note the name of the service that is not running, then stop here and get help.
    • Yes: Run sfc /scannow, then DISM if SFC cannot repair files, then check Windows Update.

Safe checks in order

Work through these steps in order. Each one is low risk. Stop when the error goes away, and note which step fixed it. None of these steps needs a registry edit, a firewall change or a service change.

Step 1: Restart both PCs

  1. Restart this PC. Save open work first, then restart the PC.
  2. Restart the other PC if you can reach it or sit in front of it.

StartPowerRestart

You should see: the desktop return after the restart, and the connection tool work again without the message.

If this fails: Go to Step 2 and keep a note of exactly what the message said.

Step 2: Confirm the other PC is on and reachable

  1. Open Command Prompt. Press Win, type cmd, and press Enter.
  2. Ping the other PC by name. Type the command below and press Enter.
  3. Ping the other PC by IP address. On the other PC, open Command Prompt, run ipconfig, and read the IPv4 Address. Then ping that address from this PC.
ping OTHER-PC-NAME
ping 192.168.1.20

You should see: four lines that start with Reply from, for each ping.

If this fails: Request timed out or could not find host means the other PC is off, asleep, or on another network. Check its power and network first. If this PC has no network at all, read our guide to Wi-Fi connected but no internet fixes. If a cable is the problem, read our Ethernet troubleshooting steps.

Step 3: Check name lookup

  1. Clear the local name cache. In Command Prompt, run the first command below.
  2. Test the name. Run the second command with the other PC's name.
ipconfig /flushdns
nslookup OTHER-PC-NAME

You should see: Successfully flushed the DNS Resolver Cache after the first command. The second command should show a Name line and an Address line for the other PC.

If this fails: Non-existent domain or a timeout means your network does not know that name. Use the IP address from Step 2 in the remote tool instead. Then check that both PCs are on the same network. If names still fail after this, see how to reset Winsock and the TCP/IP stack as a possible next step.

Step 4: Look at the three services, without changing them

This step only reads the status. Do not stop, start, pause or change the startup type of any service here. The Microsoft pages for these service names could not be opened, so this step is general guidance.

  1. Open Services. Press Win and R, type services.msc, and press Enter.
  2. Find these three names and read the Status column: Remote Procedure Call (RPC), RPC Endpoint Mapper, and DCOM Server Process Launcher.

You should see: each of the three names with the status Running.

If this fails: Note the name of any service that is missing or not Running, and stop here. Do not try to restart it yourself. If the service is reported as missing, read our guide to service missing error 1060 fixes. If the event log shows Service Control Manager errors 7000, 7009 or 7011, read Service Control Manager timeout errors. For DCOM event 10016, read DCOM event 10016 explained.

Step 5: Check firewall rules, without changing them

Look at the rules only. Never turn the firewall off to test the connection, because that exposes the PC to other devices on the network.

SettingsPrivacy and securityWindows SecurityFirewall and network protection

  1. Open the allowed apps list. Choose Allow an app through firewall.
  2. Find the feature you need. Look for File and Printer Sharing for shared folders and printers, or Remote Desktop for remote sessions.

You should see: the feature listed with a tick in the box for the network type you are on, Private or Public.

If this fails: Do not turn the firewall off. If the rule is missing, stop and get help, because adding the wrong rule can open the PC to others. For background, read our guides to file sharing between two Windows PCs and Remote Desktop connection errors.

Step 6: Check the network profile

SettingsNetwork and internetWi-Fi or Ethernet

  1. Open your connection. Click the network you are connected to.
  2. Read the profile. Find Network profile type and read whether it says Private or Public.

You should see: Private or Public, shown next to Network profile type.

If this fails: Public hides this PC from other devices on the network. Private is usually the right choice for a home network you trust (general guidance). Change it only on a network you trust, and never to make a risky connection work.

Step 7: Check the date and time

SettingsTime and languageDate and time

  1. Check the time zone and clock. Read the date, the time and the time zone shown.
  2. Turn on automatic time. If Set time automatically is off, turn it on, then check the result again.

You should see: the correct date, time and time zone for where you live.

If this fails: Fix the time zone, then retry the connection. Microsoft's page we opened lists time settings as a cause of this error, so a clock that is far off is worth fixing before any other step (general guidance).

Step 8: Repair system files with SFC, then DISM

Before you start

Back up important files first, as explained in how to back up your Windows PC. If the error began after a change you can recall, System Restore steps may help. Open Command Prompt as administrator: press Win, type cmd, right-click Command Prompt, and choose Run as administrator.

Microsoft's sfc page describes sfc /scannow as a scan that verifies protected system files and repairs them when possible. Microsoft's Repair a Windows Image page calls sfc /scannow a quick check and describes DISM as the more extensive check and repair of the component store. This guide runs SFC first and runs DISM only when SFC reports files it cannot fix. This order is general guidance, because the SFC page we opened does not say DISM must come first.

sfc /scannow

You should see: Windows Resource Protection did not find any integrity violations, or a message that it repaired files. If it says it found corrupt files but could not fix some of them, go on to DISM.

DISM /Online /Cleanup-Image /RestoreHealth

You should see: The operation completed successfully once the progress reaches 100 percent. DISM can take a long time (general guidance). Microsoft's Repair a Windows Image page says DISM uses Windows Update as a repair source by default, so it needs an internet connection unless you give it another source. When it finishes, run sfc /scannow once more and read the result.

If this fails: If DISM reports an error you cannot match in Microsoft's documentation, stop here and get help. For the full step-by-step, read our SFC and DISM repair guide.

Step 9: Check Windows Update

SettingsWindows Update

  1. Check for updates. Choose Check for updates.
  2. Install and restart. Install any pending updates, then restart the PC.

You should see: no updates waiting, or the updates installed after the restart.

If this fails: If updates stay stuck or keep failing, follow our guide to stuck or failing Windows Update fixes. Then retry the connection test from Step 2.

When WMI is involved

Some RPC errors appear in tools that use Windows Management Instrumentation, or WMI. WMI keeps its data in a store called the repository. A damaged repository can lead to errors like this one (general guidance). If the message names WMI, or your checks point to a WMI fault, follow our WMI repository repair steps rather than repeating these checks.

If the WMI Provider Host process uses high CPU on the same PC, read our WmiPrvSE high CPU guide. That guide covers CPU use, not this error, so use it only for that symptom.

When to stop and get help

Stop and ask for help if any of these apply. Bring the list of steps you tried and what each one showed.

  • The error remains after Steps 1 to 9, and both PCs are on and reachable.
  • RPC, RPC Endpoint Mapper or DCOM Server Process Launcher is missing or not Running.
  • SFC or DISM reports files it cannot repair, or DISM ends with an error you cannot match.
  • The PC is a work or school PC, or it belongs to a company network domain.
  • A VPN, a router or a company network sits between the two PCs. See our VPN not connecting fixes.
  • A website or video asks you to edit the registry or turn the firewall off for this error. For registry basics without making changes, read our registry basics guide.
  • You are not sure whether a change is safe. Use the Repair Assistant to choose a next step, or ask a qualified technician.

Windows 10 note

Windows 10 support ended on October 14, 2025. Consumer Extended Security Updates run until October 12, 2027, as Microsoft's Extended Security Updates page explains. Menu names on Windows 10 can differ from the Windows 11 names used above, so read each menu path as a guide to where to look.

For more step-by-step help on other Windows problems, visit the PC repair guides on our home page.

Frequently asked questions

Causes and checks

Does this error mean my PC is broken?

Not always. The message usually points to a network path, a stopped service, or a firewall rule, and each of those can be checked. If the error appears in several tools, or SFC and DISM report damaged files, the system needs repair work. Start with the restart and ping checks, and write down each result so you can describe the problem clearly.

Should I turn off the firewall to fix error 1722?

No. Turning off the firewall exposes this PC to other devices and does not fix the underlying cause. Instead, check that the rule for the feature you need, such as File and Printer Sharing or Remote Desktop, is present for your network type. If a rule is missing and you are not sure which one to add, stop and get help before changing anything.

Can I fix this error by editing the registry?

This guide does not use registry edits, and a wrong change can stop Windows from starting correctly. Most causes are handled by network checks, a look at the three services, system file repair or Windows Update. If a website asks for a registry change for this error, stop and try the safer checks first. Ask for help if the safer checks do not work.

Why does the error appear in Remote Desktop?

Remote Desktop connects to another PC, so it depends on the same network path, name lookup and firewall rules as the other tools. Check that the remote PC is on, that ping works by name, and that the Remote Desktop rule is present for your network type. A separate Remote Desktop guide covers the settings that are specific to that tool.

Repairs and next steps

Should I run SFC or DISM first?

For this guide, run SFC first, because Microsoft describes it as the quick check. Run DISM only when SFC reports files it cannot repair, then run SFC again. The Microsoft pages we opened do not say DISM must always come first, so treat this order as general guidance. Back up important files before either tool runs.

Does this work on Windows 10 too?

The checks are the same on Windows 10 and Windows 11, but some menu names differ. Windows 10 support ended on October 14, 2025, so a consumer Extended Security Updates enrollment or a move to Windows 11 may be worth considering if your PC qualifies. The steps are general guidance and were not tested on a real PC.

How long do these checks take?

There is no fixed time. Restart, ping and name lookup checks are quick, while the DISM repair can take much longer, depending on the PC and the internet connection. Keep the PC plugged in and let each command finish before you start the next one. Do not close the window while a repair is still running.

When should I call a professional?

Call a qualified technician or your work IT team if the PC belongs to a company or school, if a core service is missing, or if SFC and DISM cannot repair files. Get help before changing anything you are unsure about. Bring the list of steps you tried and what each one showed, because it shows them where you stopped.

How this guide was checked

We opened three Microsoft Learn pages and one Microsoft consumer page: the Windows Server article on the RPC server error, the sfc command page, the Repair a Windows Image page, and the Windows 10 Extended Security Updates page. The SFC page does not say DISM must run first, so the SFC-first order here is general guidance. A Microsoft Learn page on RPC error codes that we tried returned not found, so the service and endpoint mapper points are general guidance too.

We could not confirm from Microsoft that RpcSs or DcomLaunch cannot be stopped from the console, so this guide does not make that claim. Nothing here was run on a real PC, and the top picture is an illustration, not a screenshot.

Sources