Key Takeaways
- Error 1722 almost always comes down to three things: an RPC-related service that is not running, a firewall or a blocked port between two computers, or a stale network setting getting in the way.
- Start with the Services console. Remote Procedure Call, DCOM Server Process Launcher, and RPC Endpoint Mapper should all be Running and set to Automatic.
- If you recently used msconfig for a clean boot, switch back to Normal startup. Ordinary selective startup still loads Microsoft’s own services, so it only matters if system services were switched off during that clean boot.
Error 1722, “The RPC server is unavailable,” usually shows up during Windows updates, printing, or connecting to another computer on your network. In plain terms, it means Windows tried to reach a service and got no answer, either because that service is not running or because something is blocking the connection. First, work out which 1722 you have, because the fix depends on it: if it appears only while Windows updates, the update machinery itself is the likely fault; if it appears only with a shared printer or folder, the network path between the two computers is; and if it appears only when reaching one specific computer, the connection to that machine is. The fixes below are ordered from most to least likely.
If the error appears only as a failed update, start with the update machinery itself rather than the network: restart the Windows Update, Background Intelligent Transfer, and Cryptographic services, then try the update again. Microsoft has no dedicated article for this exact code in Windows Update, which is why it is often misdiagnosed as a network problem.

Basic fixes to try first
- Restart your PC. A surprising number of 1722 errors clear after a clean restart, since it relaunches every RPC-dependent service.
- Check your date and time. Go to Settings > Time & language and make sure Set time automatically and Set time zone automatically are on. Wrong clocks break network authentication, but only on a PC joined to a work domain, where sign-in checks fail if the clock is more than five minutes out. On a home PC, a wrong clock points at a different update error instead, so treat this as a check for work laptops, not a general fix.
- Undo selective startup. If you have been troubleshooting with msconfig, press Win + R, type msconfig, and on the General tab choose Normal startup, then restart. Ordinary selective startup still loads Microsoft’s own services, including RPC, so it cannot starve the RPC service on its own. Switching back to Normal startup only matters if you deliberately put the PC into a clean-boot state for testing and switched system services off.
Fix 1: Make sure the RPC services are running
This works when the error appears out of nowhere on a PC that was fine yesterday: one of the core services has stopped or been set to manual.
- Step 1: Press Win + R, type services.msc, and press Enter.
- Step 2: Find Remote Procedure Call (RPC). Its status should be Running and its startup type Automatic. (The change options are greyed out for this service; that is normal. If the service is actually disabled rather than just stopped, the repair is in the registry: open Registry Editor, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs, and set the Start value to 2, which means Automatic, then restart.)
- Step 3: Do the same for DCOM Server Process Launcher and RPC Endpoint Mapper. If either is stopped, double-click it, set startup type to Automatic, click Start, then OK.
- Step 4: If the error happened while printing, also right-click Print Spooler and choose Restart.
You should now see the original task, whether printing, updating, or connecting, proceed without the 1722 message. If a service refuses to start, note its exact error and continue to the firewall fix, since a blocked connection produces the same symptom.

Fix 2: Let RPC through Windows Firewall
This works when the services are all running but the error appears during network tasks, reaching another PC or a shared printer: the firewall is silently dropping the traffic. It does nothing for a purely local 1722, such as a Windows Update failure on the same PC, so skip it if the error never involves another machine.
- Step 1: Search for Allow an app through Windows Firewall and open it.
- Step 2: Click Change settings (you need administrator rights).
- Step 3: In the list, make sure Remote Service Management is checked. If the error involves printing or shared folders, also check File and Printer Sharing.
- Step 4: Click OK and retry your task.
You should now see the connection succeed where it was refused before. On a corporate network, your security team may need to allow the same rules on the network firewall too. One more printing detail: on Windows 11 version 22H2 and later, shared printing changed how it talks between computers, so a printer that worked before an update and then fails with this error is often a transport mismatch rather than a stopped service, and that needs the print connection setting, not the services list.

Fix 3: Check File and Printer Sharing on the adapter (and leave IPv6 alone)
This works when the error happens between two computers on a local network: sharing is switched off on the adapter. It is also the fix to try when copying files across the network keeps failing with odd errors. Leave the IPv6 box ticked while you are here: Microsoft advises against switching IPv6 off, since parts of Windows expect it to be there, and a switched-off IPv6 binding is not a documented cause of this error.
- Step 1: Press Win + R, type ncpa.cpl, and press Enter.
- Step 2: Right-click your active network connection and choose Properties.
- Step 3: On the Networking tab, check File and Printer Sharing for Microsoft Networks, then click OK. Leave Internet Protocol Version 6 (TCP/IPv6) checked as well; unchecking it does not fix this error and can break other things.
You should now see the network task complete. If your Wi-Fi adapter itself keeps vanishing from this list, see our guide to fixing Wi-Fi that disappeared in Windows 11.
Fix 4: Flush the DNS cache
This works when the error is tied to reaching a specific computer by name: stale DNS entries send Windows to the wrong place.
ipconfig /flushdns
Open an elevated Command Prompt or Terminal (right-click Start, choose Terminal (Admin)), run the command above, and retry. You should now see the name resolve and the connection go through. The second command people often pair with this one, ipconfig /renew, does a different job: it asks the router for a fresh address, which only helps if the PC’s own address looks stale or missing, not if a saved name lookup is wrong. If network problems persist beyond this point, the nuclear option is to reset network settings in Windows 11, which restores every adapter to a clean state.
Fix 5: Test whether the other computer answers at all
This works when the error involves another computer and every local fix has failed: it tells you whether the connection itself is the problem, before you change anything else. Windows reaches another PC in two steps, first a knock on port 135, then a connection on a dynamic port, and Microsoft’s own guidance says a blocked port is the most common cause of this error. From the PC showing the error, open PowerShell and run Test-NetConnection -ComputerName NAME -Port 135, replacing NAME with the other computer’s name or address. If that first knock gets no answer, the problem is the connection or a firewall in between, not a service on your own PC, and no amount of restarting local services will fix it. Check the firewall on the other computer too, and any third-party antivirus or firewall, which can block port 135 even when Windows Firewall allows it.
- How to Fix the Automatic Repair Loop on Windows 11 [Fix] - December 4, 2026
- How to Install Docker on Ubuntu 24.04 (Step-by-Step Guide) - December 3, 2026
- How to Fix Windows Update Error 0x80073712 [Fix] - December 2, 2026
