I know it's frustrating. You see that update download to 100%, you're ready to restart, and then it hits you: "Installation failed." Usually, this means your update cache is corrupted, or something is fighting with the update service. Let's fix it.
Quick Fix: Reset Windows Update Components
- Close everything – Save your work. You'll need to restart your PC after this.
- Open Command Prompt as admin – Press the Windows key, type
cmd, right-click "Command Prompt", and pick "Run as administrator". - Run these commands one at a time, pressing Enter after each. This stops the update services:
net stop wuauserv net stop cryptSvc net stop bits net stop msiserverAfter each command, you should see "The service was stopped successfully." If you see a "not running" message, that's fine too.
- Delete the update cache – Go to
C:\Windows\SoftwareDistributionin File Explorer. Delete everything inside this folder. Don't delete the folder itself. If some files won't delete, you missed a service in the previous step. Reboot and try again. - Restart the services – Back in that admin Command Prompt, run:
net start wuauserv net start cryptSvc net start bits net start msiserverYou should see "The service started successfully." for each.
- Run Windows Update again – Now go to Settings > Update & Security > Windows Update and check for updates. They should download and install clean.
Why This Works
The SoftwareDistribution folder is where Windows stores downloaded update files. It's like a download manager's temp folder. When files get corrupted or stuck, the update thinks everything's fine but can't install. By deleting those files and restarting the services, you force Windows to download fresh copies. Simple and effective.
When the Basic Fix Doesn't Work
Sometimes the update still fails. Here's what I'd check next:
Third-Party Antivirus Gets in the Way
If you use Avast, Norton, McAfee, or Malwarebytes, try temporarily disabling the real-time protection. Right-click the tray icon and look for "Disable until restart". Then try the update again. If it works, switch to Defender – it's free and doesn't block Windows updates.
Disk Space is Low
Updates need room to breathe. If your system drive (usually C:) has less than 5GB free, that's your problem. Run Disk Cleanup: Press Windows + R, type cleanmgr, select your C: drive, and check "Windows Update Cleanup" and "Temporary files". Then click OK.
Corrupted System Files
Open an admin Command Prompt and run sfc /scannow. Wait for it to finish. If it finds corrupt files it can't fix, run DISM /Online /Cleanup-Image /RestoreHealth – this checks the Windows component store and fixes deeper corruption.
Windows Update Troubleshooter (Sometimes Works)
Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update – then run it. It's a blunt tool but sometimes catches what manual steps miss. Personally, I skip it and go straight to the manual reset above because it's faster.
Prevention Tips for the Future
- Run updates monthly – Don't defer them for months. A backlog of updates increases the chance of failure. Schedule the second Tuesday of every month (Patch Tuesday).
- Keep free space above 10% – On a 256GB drive, that's about 25GB. Go to Settings > System > Storage and turn on Storage Sense to auto-clean junk.
- Don't use third-party registry cleaners – They often break Windows Update. I've seen this a hundred times. Stick with built-in tools.
- If you see 0x800f0922, that's a .NET Framework issue. Go to Control Panel > Programs and Features > Turn Windows features on or off, uncheck .NET Framework 3.5, restart, then check it again and install. That one's specific.
That's the whole fix. Follow those steps in order, and you'll have your updates installed within 30 minutes. If you're still stuck after all this, consider an in-place upgrade using the Windows Media Creation Tool – it's like reinstalling but keeps your files. Good luck.