Windows Update is essential for keeping your system secure and stable โ yet it is also one of the most frustrating features when it refuses to work. Whether you see a cryptic hex error code or the progress bar simply freezes, there is almost always a clear cause and a reliable fix. This guide covers the full spectrum of solutions for both Windows 10 and Windows 11, ordered from quickest to most thorough.
Why Windows Updates Fail: Root Causes to Know
Understanding the source of an error makes the fix obvious. Rather than trying methods at random, identify which category your problem falls into โ then jump to the relevant section below.
โฆ Most Common Causes
- Corrupted update cache (SoftwareDistribution folder)
- Disabled or crashed Windows Update services
- Insufficient free space on the system drive
- Corrupted Windows system files (SFC / DISM needed)
โฆ Less Obvious Causes
- Third-party antivirus blocking update processes
- VPN or proxy settings blocking Microsoft servers
- Conflicting startup programs or services
- Driver or firmware incompatibility (feature updates)
Most Common Windows Update Error Codes Explained
When Windows Update fails it logs a hexadecimal error code in Settings โ Windows Update โ Update history. The table below maps the most frequently reported codes to their meanings and the recommended fix.
| Error Code | Meaning | Recommended Fix |
|---|---|---|
| 0x80070005 | Access denied โ insufficient permissions | Run SFC / DISM (Section 6) |
| 0x800705b4 | Operation timed out | Reset services (Section 4) |
| 0x80240034 | Update not applicable / metadata error | Clear cache (Section 5) |
| 0x80070020 | File locked by another process | Clean boot (Section 10) |
| 0x80073712 | Required file is missing | DISM /RestoreHealth (Section 6) |
| 0x8007000D | Data invalid โ corrupted update file | Clear cache โ Manual install |
| 0xC1900101 | Driver failure during feature update | Update or roll back the driver |
| 0x80072EFE | Connection to update server terminated | Check proxy / VPN (Section 9) |
| 0x80070070 | Not enough disk space | Free disk space (Section 8) |
| 0x80072EE2 | Request to server timed out | Check proxy / VPN (Section 9) |
Run the Built-in Windows Update Troubleshooter
The fastest first step is always the official troubleshooter. It automatically detects and fixes many common problems โ corrupted registry keys, stalled services, firewall rules โ without any manual intervention.
On Windows 11
- Press
Win + Ito open the Settings app. - Navigate to System โ Troubleshoot โ Other troubleshooters.
- Find Windows Update in the list and click Run.
- Follow the on-screen instructions and apply any suggested fixes.
On Windows 10
- Open Settings โ Update & Security โ Troubleshoot.
- Click Additional troubleshooters.
- Select Windows Update and click Run the troubleshooter.
Reset Windows Update Services via Command Prompt
If the troubleshooter did not help, the underlying services may need to be manually stopped,
reset, and restarted. This is one of the most effective fixes for
0x800705b4 and 0x80070005.
Reset All Update Services
Open Command Prompt as Administrator
(Win + X โ Terminal (Admin), or search for "cmd" and choose
Run as administrator). Paste the commands below one by one and press
Enter after each:
CMD โ Administratornet stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
This stops the four core update-related services, renames the corrupted cache folders so Windows rebuilds them fresh, then restarts all services. Restart your PC afterwards and try Windows Update again.
ren commands return an "access denied" error, the services did not
stop properly. Try restarting your PC in Safe Mode and running the
rename commands from there.
Manually Clear the Windows Update Cache
The SoftwareDistribution\Download folder stores partially downloaded update
files. When these files become corrupted, updates fail to apply. Deleting them forces
Windows to re-download clean copies from Microsoft's servers.
- Stop the Windows Update service using the first four
net stopcommands from Method 02. - Open File Explorer and navigate to
C:\Windows\SoftwareDistribution\Download. - Press
Ctrl + Ato select everything, then delete. Do not remove the folder itself โ only its contents. - Open Services (
Win + Rโservices.msc), find Windows Update, and click Start. - Go to Settings โ Windows Update and check for updates.
%windir%\SoftwareDistribution\Download directly into the
File Explorer address bar and press Enter to jump straight to the
cache folder.
Repair Windows System Files with SFC and DISM
Corrupted Windows system files are a leading cause of errors like 0x80073712
and 0x80070005. The System File Checker (SFC) and
DISM tool scan for and repair them automatically.
Step 1 โ System File Checker
Open Command Prompt as Administrator and run:
CMD โ Administratorsfc /scannow
Wait for the scan to complete (10โ20 minutes). If it reports "Windows Resource Protection found corrupt files and repaired them," restart and try updating. If it reports "could not fix some files," proceed to DISM below.
Step 2 โ DISM Component Store Repair
Run all three commands in sequence โ each goes progressively deeper:
CMD โ AdministratorDISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
The /RestoreHealth switch downloads replacement files directly from Windows
Update โ ensure you have an active internet connection. This process takes 15โ30 minutes.
Restart once complete, then run sfc /scannow once more to confirm all files
are repaired.
DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim
Download and Install Windows Updates Manually
If a specific update keeps failing through the Settings panel, bypass the Windows Update client entirely and install the package directly from Microsoft's Update Catalog.
- Open Settings โ Windows Update โ Update history and note the KB number of the failed update (e.g., KB5034441).
- Visit catalog.update.microsoft.com and search for that KB number.
- Download the version matching your system โ x64 for most modern PCs, ARM64 for Surface Pro X and similar devices.
- Double-click the downloaded
.msufile, follow the prompts, and restart when asked.
Free Up Disk Space Before Running Windows Update
Major Windows 10 and Windows 11 feature updates require between 10 GB and 20 GB
of free space on the system drive. If your C: drive is nearly full, updates will fail
silently or show error 0x80070070.
- Search for Disk Cleanup in the Start menu, select the C: drive, and check Temporary files, Recycle Bin, and Windows Update Cleanup.
- Click Clean up system files to also remove the
Windows.oldfolder, which can occupy 10โ30 GB after a previous upgrade. - Move large personal files (videos, photos) to an external drive or cloud storage.
- Uninstall unused applications via Settings โ Apps โ Installed apps.
Check Proxy, VPN, and Firewall Settings
Windows Update communicates with Microsoft's servers over HTTPS. A misconfigured proxy,
active VPN, or strict firewall rule can silently block these connections, producing errors
like 0x80072EFE or 0x80072EE2.
Reset proxy settings
Open Command Prompt as Administrator and run:
CMD โ Administratornetsh winhttp reset proxy
Restart your PC and check for updates again.
Disconnect your VPN
Temporarily disconnect from any VPN client before running Windows Update. Most corporate VPNs route all traffic through company gateways that may block Microsoft's update infrastructure. Re-enable your VPN once the updates finish installing.
Verify Windows Firewall rules
Go to Control Panel โ Windows Defender Firewall โ Allow an app or feature through Windows Defender Firewall and confirm that Windows Update is allowed on both Private and Public networks.
Perform a Clean Boot to Isolate Software Conflicts
If none of the above methods resolved the issue, a third-party application is likely interfering with Windows Update. A clean boot starts Windows with only Microsoft services active, making it easy to identify the conflicting program.
- Press
Win + R, typemsconfig, and press Enter to open System Configuration. - On the Services tab, check Hide all Microsoft services, then click Disable all.
- Open Task Manager (
Ctrl + Shift + Esc), go to the Startup apps tab, and disable every entry. - Click OK in msconfig, then restart your PC.
- Run Windows Update. If it succeeds, re-enable services in small batches to pinpoint the conflicting application.
msconfig, re-enable all services and startup items
you disabled, and restart normally. Leaving the PC in clean boot state long-term may
cause other applications to malfunction.
Frequently Asked Questions About Windows Update Errors
Q Is it safe to delete files in the SoftwareDistribution folder? โผ
C:\Windows\SoftwareDistribution\Download
is completely safe. These are temporary files used during the update process. Windows
will re-download whatever it needs the next time you check for updates. Never delete
the folder itself, only its contents.
Q How long does DISM /RestoreHealth take to complete? โผ
/RestoreHealth scan takes between
15 and 45 minutes depending on how many files need replacing and your internet speed.
The progress percentage may appear stuck at certain points โ this is normal. Do not
close the Command Prompt window until you see "The restore operation completed
successfully."
Q Windows Update is stuck at 0% or a specific percentage โ what should I do? โผ
Q Can I skip or delay a Windows update I don't want? โผ
Q My update fails only at the very end of installation โ what does that mean? โผ
0xC1900101 family) or insufficient disk space for the
update to expand. Check Event Viewer โ Windows Logs โ Setup for
detailed error entries, then cross-reference with the error code table in Section 02
of this guide.
Still Stuck? Last-Resort Options for Persistent Errors
If every method in this guide fails to resolve your Windows Update errors, these more aggressive approaches will fix even deeply corrupted installations:
-
In-place upgrade (repair install) โ download the Windows 10 or Windows 11 ISO
from Microsoft, mount it, and run
setup.exechoosing Keep personal files and apps. This reinstalls Windows over itself, replacing all system files, without wiping your data or installed programs. - Reset this PC โ go to Settings โ System โ Recovery โ Reset this PC and choose Keep my files. More aggressive than an in-place upgrade but still preserves documents and personal files.
- Contact Microsoft Support โ for persistent errors on OEM or enterprise machines, Microsoft's support team can analyse your Windows Update logs and provide targeted fixes free of charge at support.microsoft.com.
๐บ Recommended Fix Order
Work through the methods in sequence: Troubleshooter โ Reset services & clear cache โ SFC / DISM โ Manual install โ Free disk space โ Check proxy/VPN โ Clean boot โ In-place upgrade. The vast majority of Windows Update errors are resolved within the first three steps โ the rest exist for stubborn edge cases.