FixWindows Update
Windows Update failed to install
- Applies to
- Windows 11 and Windows 10
- Difficulty
- Moderate
- Time
- About 60 min
- Risk
- Changes settings
- Reviewed
Quick answer
Note the error code, restart and select Retry. If it fails again, run the Windows Update troubleshooter, make room on drive C:, reset the update components, and as a last step install the update yourself from Microsoft's Update Catalog.
Fix 1Note the error code, restart and retry
Many failures are one-offs: a dropped connection, a busy server, or an earlier update still waiting for a restart. The error code tells you which kind of problem it is if it happens again.
- Open Settings then
Windows Update (on Windows 10, Settings thenUpdate & Security then ). A failed update shows an error code starting withWindows Update 0x. Write it down. - For older failures, open Update history (on Windows 10, View update history). Failed updates are marked as failed, with the code beside them.
- Restart your PC from Start > Power > Restart, then select Retry or Check for updates.
- If it fails with the same code, look it up in our error code list. Common ones are 0x80070002, 0x800f0922 and 0x800f081f.
Fixed? You can stop here. Still happening: go to Fix 2
Fix 2Run the Windows Update troubleshooter
The built-in troubleshooter checks the update services and settings and resets the common problems for you. It changes nothing else.
On Windows 11
- Open Settings then
System then .Troubleshoot then Other troubleshooters - Next to Windows Update, select Run. On recent versions this opens the Get Help app, which runs the checks.
- Restart and try the update again.
On Windows 10
- Open Settings then
Update & Security then .Troubleshoot then Additional troubleshooters - Select Windows Update, then Run the troubleshooter.
- Restart and try the update again.
Fixed? You can stop here. Still happening: go to Fix 3
Fix 3Clear the usual obstacles
Microsoft's own checklist for failed updates starts with the basics: enough free space, no extra hardware attached, the right date and time, and nothing filtering the connection.
- Check free space in Settings then
System then . Microsoft says a 64-bit PC needs about 20 GB free for a version upgrade. Monthly updates need less, but a nearly full drive C: still causes failures. See free up disk space safely.Storage - Unplug external drives, docks and other devices you don't need.
- Turn off any VPN while you update.
- In Settings then
Time & language then , turn on Set time automatically and select Sync now.Date & time - If you use third-party antivirus, Microsoft suggests uninstalling it temporarily, updating, then reinstalling it. Microsoft Defender Antivirus switches on by itself while it's gone.
Fixed? You can stop here. Still happening: go to Fix 4
Fix 4Reset the Windows Update components
Windows keeps downloaded updates in the SoftwareDistribution folder and update signatures in the catroot2 folder. If either is damaged, the same update fails every time. Renaming them makes Windows rebuild both from scratch. Installed updates are not removed.
- Select Start, type cmd, right-click Command Prompt and select Run as administrator.
- Stop the three services that use those folders, one command at a time. Each should report that it stopped or wasn't started. If you're asked whether to stop other services too, type Y and press Enter.
net stop wuauservHow do I open Command Prompt as administrator?
Select Start and type cmd. Right-click Command Prompt, select Run as administrator, then select Yes.
net stop bitsnet stop cryptsvc - Rename the two folders. No message means success.
ren %systemroot%\SoftwareDistribution SoftwareDistribution.oldIf you see Access is denied, run the matchingren %systemroot%\System32\catroot2 catroot2.oldnet stopcommand again and retry straight away. If a.oldfolder already exists from an earlier attempt, use.old2instead. - Start the services again.
net start cryptsvcnet start bitsnet start wuauserv - Restart, then select Check for updates. The update downloads again from the start.
Fixed? You can stop here. Still happening: go to Fix 5
Fix 5Repair Windows system files
Many install errors come from damage in Windows' component store, the library of system files that updates build on. DISM repairs the store, then System File Checker (SFC) repairs files from it. Microsoft recommends this order.
- In Command Prompt as administrator, run DISM. It can take 10 minutes or more.
It should end with The restore operation completed successfully.
DISM.exe /Online /Cleanup-image /Restorehealth - Then run SFC.
"Did not find any integrity violations" or "successfully repaired them" are both good results.
sfc /scannow - Restart and try the update again.
Fixed? You can stop here. Still happening: go to Fix 6
Fix 6Install the update from the Microsoft Update Catalog
The Microsoft Update Catalog is Microsoft's own site for downloading individual updates. Installing the file yourself skips the parts of Windows Update that may be failing.
- In Update history, note the failed update's number: "KB" followed by seven digits.
- Open Settings then
System then and note your Version (for example 24H2) and System type. Most PCs are x64; some laptops are Arm (arm64). See find your Windows version.About - Go to catalog.update.microsoft.com and search for the KB number.
- Pick the row that names your Windows version and system type, select Download, then select the link in the window that opens.
- Double-click the downloaded file to install it, then restart. If the window listed more than one file, install them in the order given on that update's Microsoft Support page.
If the installer says the update doesn't apply to your computer, it's either the wrong row for your version or the update is already installed.
Fixed? You can stop here. Still happening: go to Fix 7
Fix 7Reinstall Windows and keep your files and apps
If updates still fail, a repair install replaces all of Windows' system files with fresh copies while keeping your files, apps and settings. It fixes damage that the tools above can't reach.
On Windows 11
- Open Settings then
System then . Under Fix problems using Windows Update, select Reinstall now, then OK. Keep the PC plugged in and online until it's done.Recovery - If that option isn't shown, download the Windows 11 disk image (ISO) from Microsoft's Windows 11 download page. Double-click the ISO to open it, run setup.exe, select Change what to keep, choose Keep personal files and apps, then select Next and Install.
On Windows 10
- Download the Media Creation Tool from Microsoft's Windows 10 download page and run it.
- Choose Upgrade this PC now. When asked what to keep, choose Keep personal files and apps, then select Install.
Fixed? You can stop here. Still happening: what to do next
If none of these worked
Stop here rather than trying riskier changes. These are the right places to go next:
- Microsoft SupportOfficial help for Windows, including the Get Help app built into Windows.
- Your PC maker's support siteFor hardware faults, drivers and warranty repairs. Find your model in Settings then
System then , then type the maker's web address yourself.About - A local repair shop you can visitFor hardware faults such as a failing drive, screen or battery.
Never call a phone number shown in a pop-up, or let someone you don't know connect to your PC. Microsoft doesn't put phone numbers in error messages. How to spot a tech-support scam
Sources and review
Checked against Microsoft's own documentation:
- Microsoft Support: Troubleshoot problems updating Windows
- Microsoft Support: Fix issues by reinstalling the current version of Windows
- Microsoft Learn: Common Windows Update errors
Last reviewed . Spotted a step that doesn't match your screen? Tell us and we'll check it.