Fix DISM Error 1726: Remote Procedure Call Failed
In this article
- What Causes DISM Error 1726?
- Prerequisites: Run as Administrator and Check Network
- Fix 1: Restart Windows Update and Related Services
- Fix 2: Repair the Windows Imaging Component
- Fix 3: Use a Local Source Instead of Windows Update
- Fix 4: Check RPC and DCOM Configuration
- Fix 5: Disable Antivirus Temporarily
- Frequently Asked Questions
DISM error 1726, "The remote procedure call failed," typically occurs when the Deployment Imaging Service and Management tool cannot communicate with the Windows Update service or the system's Component-Based Servicing (CBS) store. The fix usually involves restarting the Windows Update and Cryptographic services, repairing the Windows Imaging Component, or running the DISM tool with a local source instead of Windows Update. Below is a detailed guide to resolve this error on Windows 10 and Windows 11.
What Causes DISM Error 1726?
DISM (Deployment Imaging Service and Management) is a command-line tool used to repair Windows system images. Error 1726 is a Windows Sockets (Winsock) error that indicates a remote procedure call (RPC) failure. In the context of DISM, this usually means the tool cannot reach the Windows Update servers or the local servicing store. Common triggers include:
- Windows Update service (wuauserv) is stopped or disabled.
- Background Intelligent Transfer Service (BITS) is not running.
- Cryptographic Services (CryptSvc) is malfunctioning.
- Network connectivity issues, including proxy or firewall blocks.
- Corrupted system files affecting the RPC subsystem.
- Antivirus software interfering with DISM's network requests.
Prerequisites: Run as Administrator and Check Network
Before attempting any fix, ensure you are running Command Prompt as an administrator. Right-click the Start button and select "Terminal (Admin)" or "Command Prompt (Admin)". Also, verify that your internet connection is stable and that Windows Update is not blocked by a VPN, proxy, or firewall. If you are on a corporate network, try disconnecting from the VPN temporarily.
Fix 1: Restart Windows Update and Related Services
The most common cause of error 1726 is a stopped or hung Windows Update service. Restarting the relevant services often resolves the communication failure.
- Open an elevated Command Prompt.
- Type the following commands one by one, pressing Enter after each:
net stop wuauservnet stop cryptSvcnet stop bitsnet stop msiserver
- Now restart them with:
net start wuauservnet start cryptSvcnet start bitsnet start msiserver
- Re-run the DISM command that failed, for example:
DISM /Online /Cleanup-Image /RestoreHealth.
If any service fails to start, note the error message. You can also check the Services app (services.msc) to ensure the startup type for these services is set to "Automatic" (or "Manual" for BITS).
Fix 2: Repair the Windows Imaging Component
DISM relies on the Windows Imaging Component (WIC) to process image files. If WIC is corrupted, error 1726 can appear. To repair it, run the System File Checker (SFC) first:
- Open an elevated Command Prompt.
- Run
sfc /scannowand wait for the scan to complete. - If SFC finds issues but cannot fix them, run DISM again with a local source (see Fix 3).
Fix 3: Use a Local Source Instead of Windows Update
If DISM cannot reach Windows Update, you can point it to a local copy of the Windows installation files. This is especially useful if the error is network-related.
- Mount or insert a Windows installation USB or DVD, or download the official Windows ISO from Microsoft.
- Note the drive letter of the mounted ISO (e.g.,
D:). - Run the following command, replacing
D:with your drive letter:
DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim /LimitAccess
If your ISO uses install.esd instead of install.wim, you may need to extract the install.wim from the ESD file using the DISM /Export-Image command, or use a tool like the Windows Media Creation Tool to create a bootable USB that contains the WIM file.
Fix 4: Check RPC and DCOM Configuration
Error 1726 is fundamentally an RPC failure. If the RPC service is disabled or the DCOM configuration is corrupted, DISM will fail. To verify:
- Press
Win + R, typeservices.msc, and press Enter. - Find "Remote Procedure Call (RPC)" and ensure its status is "Running" and startup type is "Automatic".
- Also check "DCOM Server Process Launcher" – it should be running and set to "Automatic".
- If either is not running, right-click and select "Start". If they fail to start, you may need to repair the registry or perform a system restore.
Fix 5: Disable Antivirus Temporarily
Third-party antivirus software can block DISM's network requests, causing error 1726. Temporarily disable your antivirus (or its firewall component) and run the DISM command again. If it works, add DISM to the antivirus's exclusion list. Remember to re-enable your antivirus afterward. Windows Defender usually does not interfere, but if you have a third-party suite, this is a common culprit.
Frequently Asked Questions
Can I run DISM offline to fix error 1726?
Yes. If the online repair fails, you can boot from a Windows installation USB, open Command Prompt (Shift+F10), and run DISM against the offline Windows partition. For example: DISM /Image:C:\ /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim. This bypasses the running system's RPC issues.
What if DISM error 1726 appears during Windows Update?
This error can occur when Windows Update itself tries to use DISM to repair the system. The same fixes apply: restart the Windows Update services, check network connectivity, and run SFC. If the issue persists, use the Windows Update Troubleshooter from Settings > System > Troubleshoot.
Is error 1726 the same as error 1722?
No. Error 1722 is "The RPC server is unavailable," which is a different network-level failure. Error 1726 specifically means the RPC call was made but failed, often due to a timeout or a corrupted RPC endpoint. The fixes overlap but 1726 often requires more in-depth servicing repair.
Will resetting Windows fix error 1726?
Resetting Windows (Settings > System > Recovery > Reset this PC) can fix the error, but it is a last resort. Before doing that, try all the fixes above, including using a local source. If the system image is severely corrupted, a reset may be the only reliable solution.
How long does DISM /RestoreHealth take?
It can take anywhere from 10 to 30 minutes, depending on your system speed and the extent of corruption. If it appears stuck at a certain percentage, wait at least 15 minutes before interrupting. Interrupting the process can cause further issues.