Windows errors

Windows Update fails to install with an error code

A Windows Update repeatedly fails partway through installation and shows an error code, rather than completing successfully or being clearly explained in plain language.

Difficulty
Easy
Time
30–90 minutes
DIY cost
$0
Pro cost
$0–$100

Symptoms

  • Update shows 'Failed' or similar status with an error code
  • Same update fails repeatedly on retry
  • May happen with only certain updates while others install fine
  • Sometimes accompanied by an automatic rollback message

Likely causes

  • CommonCorrupted Windows Update components or cacheUpdate history and temporary files can become corrupted, blocking future installs.
  • CommonInsufficient free disk spaceUpdates need substantial free space to download and stage, and can fail cleanly with too little.
  • PossibleConflicting third-party antivirus or security softwareSome security tools interfere with files the updater needs to modify.
  • PossibleCorrupted or incomplete update downloadA network interruption during download can cause a corrupted install attempt.
  • PossibleDamaged system files preventing the update from applyingUnderlying corruption can block updates from completing even when space and settings are fine.

What to do

  1. Run the built-in Windows Update Troubleshooter from Settings > System > Troubleshoot > Other troubleshooters.
  2. Check available disk space in Settings > System > Storage and free up at least 20GB if it's tight.
  3. Restart the Windows Update service and clear its cache: open an administrator Command Prompt, run 'net stop wuauserv', then rename the folder 'C:\Windows\SoftwareDistribution' to 'SoftwareDistribution.old', then run 'net start wuauserv' and retry the update.
  4. Temporarily disable third-party antivirus software and attempt the update again.
  5. Run 'sfc /scannow' and 'DISM /Online /Cleanup-Image /RestoreHealth' to repair underlying system file issues.
  6. Search for the specific numeric error code shown (typically starting with 0x8) alongside 'Windows Update' to check for a documented fix specific to that code.
  7. If the update still fails, try downloading and installing it manually from the Microsoft Update Catalog website instead of through Windows Update.

When to call a pro

If the update still fails after clearing the cache, freeing space, and running DISM/SFC, a technician can investigate a deeper system file issue or apply the update manually with more diagnostic tools.

Safety

Generally low risk

Generally low risk for a careful person. Stop if anything looks different from what this guide describes.

Related guides

Operator provides AI-generated troubleshooting information. It can be wrong. For safety-critical, electrical, gas, structural, medical, automotive safety, or other high-risk problems, consult a qualified professional.