Few things are more frustrating than Windows Update failing for the third time with a cryptic error code. The good news is that most update errors have a handful of well-known causes, and you can fix them without reinstalling Windows. This guide explains how to fix Windows Update error problems in Windows 11 and Windows 10, starting with the quickest fixes and working up to the more advanced ones. Try them in order, and restart your PC between steps.

Before you start
- Restart your PC and try the update again. A simple restart clears many temporary glitches.
- Check you are online and free up space. Updates need free disk space, and feature updates need much more than monthly ones.
- Unplug USB drives, printers and other devices you do not need.
- Check the date, time and time zone are correct.
- Back up important files before trying the bigger fixes below.
Fix 1: Run the Windows Update troubleshooter
Microsoft’s built-in troubleshooter can detect and fix common problems automatically. In Windows 11, go to Settings, then System, then Troubleshoot, then Other troubleshooters. Under the most frequent tools, find Windows Update and select Run. When it finishes, restart your PC and check for updates again. On Windows 10, you will find troubleshooters under Settings, then Update and Security. Note that Windows 10 has reached the end of its support period, so consider moving to Windows 11 if your PC is eligible. Our guide to downloading Windows 11 with the Media Creation Tool explains the options.
Fix 2: Repair system files with SFC and DISM
Damaged system files are a leading cause of failed updates. Windows has two tools for this. Open Command Prompt as administrator (search for cmd, right-click it and choose Run as administrator), then run these commands one at a time, letting each finish:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
DISM repairs the component store and usually needs an internet connection to fetch clean files. SFC then checks protected system files and replaces damaged ones. Restart your PC afterwards and check for updates again.
Fix 3: Reset the Windows Update components
If updates still fail, the update cache may be corrupted. Resetting it makes Windows rebuild it. In an administrator Command Prompt, run:
net stop wuauserv
net stop bits
net stop cryptsvc
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start cryptsvc
net start bits
net start wuauserv
This stops the update services, renames the two cache folders so Windows creates fresh ones, then restarts the services. Restart your PC and run Windows Update again. If a command says a folder cannot be renamed, make sure the services were stopped first.

What common error codes usually mean
The code itself often points you to the right fix. These are general pointers rather than guarantees.
More in Tech
| Error code | What it usually points to | What to try first |
|---|---|---|
| 0x80073712 | Damaged or missing update files in the component store | DISM and SFC, then reset update components |
| 0x800f0831 | Missing or corrupted files from a previous update | DISM and SFC, then a repair install |
| 0x800f0906 | Windows could not download files it needed | Check your connection and run DISM |
| 0x800f0982 | Windows could not find a matching component | DISM, then reset update components |
| 0x800f0991 | Trouble with update components, system files or network | Troubleshooter, DISM and SFC |
Fix 4: Install the update manually
If one specific update keeps failing, you can download it yourself. Note the update’s KB number from Settings, then search for it in the Microsoft Update Catalog and download the version that matches your system. Run the installer and restart. This can get you past a stuck update without touching anything else.
Fix 5: Check security software and VPNs
Third-party antivirus tools and VPNs can interfere with downloads. Turn off your VPN and, if you use non-Microsoft security software, check whether it is blocking the update. Switch protection back on once the update has installed. If you are on a work or school PC, updates may be managed by your organization, so contact your IT team.
Fix 6: Run a repair install
A repair install, also called an in-place upgrade, reinstalls Windows while keeping your files, apps and settings. Download the Media Creation Tool or an ISO from Microsoft, run it and choose to upgrade this PC now. Back up first, and make sure your PC meets the requirements, which our guide to checking TPM and Secure Boot explains. This is a last resort, but it often fixes stubborn errors.
Stopping updates from causing more trouble
If you need to pause updates while you sort things out, see our guide to stopping Windows Update. And if your PC runs slowly after updating, speeding up Windows 11 startup may help.
FAQ
Why does Windows Update keep failing?
Common causes include corrupted system files, a damaged update cache, low disk space, interference from security software, or a connection problem. The error code usually gives a clue.
Is it safe to delete the SoftwareDistribution folder?
Renaming it after stopping the update services is a standard troubleshooting step. Windows creates a new folder when it next checks for updates. Rename rather than delete, so you can restore it if needed.
Will I lose my files if I run a repair install?
A repair install is designed to keep your files, apps and settings. Still, back up first, because any major system change carries some risk.
Do I need an internet connection to run DISM?
Usually yes. DISM RestoreHealth normally downloads clean files from Microsoft’s servers, so a stable connection helps.




