How to Repair Windows Updates in Windows 11
In this article
Windows Update failures in Windows 11 usually come from corrupted update cache files, damaged system files, or stuck services. The quickest fix is to run the built-in Windows Update Troubleshooter, then clear the update cache and restart the update service. If that doesn't work, you can use DISM and SFC to repair system files, or the Windows Update Reset script for a deeper clean. This guide walks you through each method in order, from simplest to most thorough.
What You'll Need
- Administrator access to your PC (you'll need to approve UAC prompts)
- Stable internet connection
- At least 10 GB of free disk space (for update downloads and system restore points)
- Optional: a Windows 11 installation USB or ISO file, in case you need to do an in-place repair
Step-by-Step
- Run the Windows Update Troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters. Find Windows Update and click Run. Follow the prompts. This tool automatically detects and fixes common issues like corrupted update components or misconfigured services. Note: menu labels may vary slightly by Windows 11 version.
- Restart Windows Update services. Press Win + R, type
services.msc, and press Enter. Find Windows Update in the list. Right-click it and select Restart. Also restart Background Intelligent Transfer Service (BITS) and Cryptographic Services the same way. After restarting, try checking for updates again. - Clear the update cache. Open Command Prompt as administrator (search for “cmd”, right-click, and select “Run as administrator”). Stop the update services by typing these commands one at a time, pressing Enter after each:
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver
Then delete the cache folder. Type:
rmdir /s /q C:\Windows\SoftwareDistribution
Press Enter and confirm with Y. Also delete theC:\Windows\System32\catroot2folder (typermdir /s /q C:\Windows\System32\catroot2). Then restart the services with:
net start wuauserv net start cryptSvc net start bits net start msiserver
Close the Command Prompt and try Windows Update again. - Run DISM and SFC scans. Open Command Prompt as administrator. First run:
DISM /Online /Cleanup-Image /RestoreHealth
This repairs the system image. Wait for it to finish (may take 15-30 minutes). Then run:
sfc /scannow
This checks and repairs corrupted system files. After both complete, restart your PC and try updates again. - Use the Windows Update Reset script (if the above fails). Microsoft provides an official script called WuReset.cmd that resets all Windows Update components. Download it from Microsoft's official site (search “WuReset.cmd download”). Right-click the downloaded file and select Run as administrator. It will automatically stop services, rename the SoftwareDistribution and catroot2 folders, re-register update DLLs, and restart services. Follow any on-screen prompts.
- Perform an in-place upgrade repair. If nothing else works, download the Windows 11 Installation Assistant from Microsoft's official website. Run it and choose Upgrade this PC now. This reinstalls Windows 11 while keeping your files, apps, and settings. It repairs the entire OS without deleting personal data. After completion, check for updates again.
Common Mistakes
- Deleting the SoftwareDistribution folder without stopping services. If you don't stop the Windows Update service first, the folder is in use and deletion fails or causes errors.
- Running DISM or SFC without administrator rights. These commands must be run from an elevated Command Prompt. If you don't right-click and select “Run as administrator”, you'll get an error.
- Skipping the restart between steps. Some fixes require a reboot to take effect. If you jump straight to the next step without restarting, you might miss the solution.
- Using third-party “Windows Update repair” tools. Many are outdated or contain malware. Stick to Microsoft's built-in tools or official scripts.
Tips
- Before starting, create a restore point: go to Control Panel > System > System Protection and click Create. This lets you roll back if something goes wrong.
- Check your internet connection and disable any VPN or proxy temporarily, as they can interfere with update downloads.
- Make sure your PC has enough free disk space. Windows 11 needs at least 10 GB for updates, but 20 GB is safer.
- If you have third-party antivirus software, temporarily disable its real-time protection, as it can block update files. Re-enable it after the update.
- Keep your drivers updated, especially network and storage drivers, as outdated drivers can cause update failures.
Troubleshooting
If the Windows Update Troubleshooter reports “Issues not fixed”: Try the manual steps (restart services, clear cache) anyway; the troubleshooter sometimes misses things. If it still fails, proceed to DISM and SFC.
If DISM fails with error 0x800f081f: This means the component store is corrupted. Try running DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows using a Windows 11 ISO mounted as a drive. You can also use the Windows Update option instead of a source path.
If SFC finds corrupted files but cannot fix them: Run SFC again after a reboot. If the issue persists, use DISM first, then SFC again. If still failing, the in-place upgrade repair is the best option.
If Windows Update still fails after all steps: Check the Windows Update log file (C:\Windows\WindowsUpdate.log) for specific error codes. Search the error code online on Microsoft's official support forums. Common codes like 0x80070005 (access denied) or 0x800f0922 (network issue) have specific fixes.
If the in-place upgrade gets stuck or fails: Make sure you have enough disk space and that your PC meets Windows 11 requirements. Disconnect non-essential USB devices. If it fails, try using the Windows 11 Media Creation Tool to create a bootable USB and run setup.exe from there, choosing “Keep personal files and apps”.
Frequently Asked Questions
Will repairing Windows Update delete my files?
No. All the methods in this guide (troubleshooter, service restart, cache clear, DISM/SFC, WuReset, and in-place upgrade) preserve your personal files, apps, and settings. The in-place upgrade is specifically designed to keep everything.
How long does DISM /RestoreHealth take?
It typically takes 15 to 30 minutes, but can take longer on slower PCs or if the component store is severely corrupted. Let it run to completion without interrupting.
Can I use System Restore to fix Windows Update?
Yes, if you have a restore point from before the problem started. Go to Control Panel > System > System Protection > System Restore and choose a restore point. This reverts system files and settings, but does not affect your personal files.
Why does Windows Update keep failing with error 0x800f0922?
This error often indicates a network issue or insufficient disk space. Check your internet connection, disable VPN/proxy, and ensure you have at least 10 GB free. If it persists, run the network troubleshooter and try the in-place upgrade.
Is it safe to delete the SoftwareDistribution folder?
Yes, as long as you stop the Windows Update service first (as shown in the steps). The folder contains temporary update files that will be recreated automatically. Deleting it is a standard Microsoft-recommended troubleshooting step.
What if I don't have administrator access?
You cannot repair Windows Update without admin rights. You'll need to contact the person who administers the PC, or if it's a work/school device, your IT department.