Home Windows

What Are Windows Update Error Codes and How to Fix Them?

Windows Update error codes tell you why an update failed. Run a 30-second triage (reboot, disk space, network, clock), then try the single safe, reversible fix matched to your code. If that fails, learn verification and how to collect logs for help.

9 min read
A laptop screen showing a Windows Update error dialog with an error code and 'Update failed' text, photographed from a slight angle.

Windows Update error codes are short machine messages that tell you why an update failed. Find the code in Settings > Windows Update, run a quick 30-second triage (reboot, disk space, network, clock), then apply the single safe, reversible fix for the matching code group. If that doesn’t work, the guide shows how to verify results and collect logs for escalation.

Symptom — what you see and when it appears

Answer: You usually see a short hexadecimal code next to an "Update failed" or "Retry" notice. Copy that code before changing anything; it’s the key diagnostic detail support will ask for.

You may also find a failed item in Update history. Failures can happen during download, installation, or while Windows checks for updates. If the process stalls, expect long CPU or disk activity or repeated retries.

If the UI shows an error entry, copy the code and the exact message. The text varies by Windows version; the code is the primary handle.

Close-up of a laptop screen where the Windows Update window shows an 'Update failed' line with a hexadecimal error code visible.

Before you start — scope, permissions and safe stopping conditions

Answer: This applies to Windows 10, Windows 11, and Server releases using the built-in Windows Update client. If the device is managed, check with IT before changing settings.

  • You need an administrator account to run diagnostic commands and control services.
  • Create a restore point or have a current backup if you plan to run DISM, perform an in-place repair, or change system files.
  • Stopping/starting services, renaming SoftwareDistribution, and running the Troubleshooter are low risk and reversible. SFC and DISM repair system files and are generally safe but should follow log collection if simple fixes fail.

Stop and get help if the machine becomes unstable, you cannot restore a renamed folder, or you’re on a corporate device without admin approval.

Quick triage — 30‑second checks to run first

Answer: Run these quick checks one after another. Each step is fast and reversible; stop when the error clears and note the exact code.

  1. Note the exact code where you saw it; open Settings > Windows Update and write it down or photo it.
  1. Reboot the PC once.
  1. Confirm free disk space on the Windows drive (usually C:). If free space is under about 5–10% of the drive, free space and retry.
  1. Verify network access by opening a browser and loading websites. If on VPN or a corporate network, try a direct connection.
  1. Check clock and time zone: open Settings > Time & language and make sure automatic time is on and the clock is correct.
  1. Confirm updates are not paused and no restart is scheduled; check Settings > Windows Update.
  1. If the failure happened earlier, open Update history and copy the error code from the failed entry.

How to read the exact Windows Update error code safely

Answer: The code appears in the Windows Update UI and in Update history; copy it first. If you need logs, generate them after you capture the UI code.

  1. Open Settings > Windows Update.
  1. Click Update history and find the failed entry; copy the code shown.
  1. If you need logs for escalation, generate WindowsUpdate.log from an elevated PowerShell only after you’ve copied the UI code.
PowerShell (run as Administrator)
Get-WindowsUpdateLog -LogPath C:\Users\Public\Desktop\WindowsUpdate.log

Which codes mean what — compact lookup by code range

Answer: Codes fall into patterns; match the prefix to pick the right group and follow this guide’s steps for that group.

  • 0x8004xxxx — Service errors: Windows Update service, BITS, or the Installer failed or stopped.
  • 0x8024xxxx — Download/installer errors: downloads failed or installer I/O errors.
  • 0x800700xx — Permission or disk errors: access denied, file corruption, or low disk space.
  • 0xC1900xxx — Feature-upgrade failures: in-place feature upgrade failed, often due to drivers or compatibility.
  • 0x8024402f and similar — Network or timeout errors: connectivity, proxy/firewall, or update endpoint problems.

If your code does not match these patterns, run the quick triage then use the safe fix for the closest group.

Safe first fixes by code group — check then reversible fix

Answer: For each code group below: do the check, then try the minimal reversible fix. Stop if the fix clears the error.

0x8004xxxx — Service errors

Check: Confirm wuauserv, bits, and trustedinstaller are running.

  1. Open an elevated Command Prompt and check service states.
Command Prompt (run as Administrator)
sc query wuauserv
sc query bits
sc query trustedinstaller
  1. If any service is stopped, start it.
Command Prompt (run as Administrator)
net start wuauserv
net start bits
net start trustedinstaller

Expected result: services start and Windows Update retries. If starting services fails, collect logs and escalate.

Undo: stop services with net stop <name>; starting services does not change user data.

0x8024xxxx — Download or installer errors

Check: Confirm disk space and check Event Viewer > System for disk I/O errors.

  1. Run the Windows Update Troubleshooter from Settings.
Settings path
Settings > System > Troubleshoot > Other troubleshooters > Windows Update

Expected result: the troubleshooter repairs common components and prompts a retry. If it cannot fix a component, collect logs for escalation.

Undo: the troubleshooter’s steps are reversible by restarting services or restoring a backed-up SoftwareDistribution folder.

0x800700xx — Permission, disk or file errors

Check: Confirm SoftwareDistribution folder permissions and run a read-only filesystem check.

  1. Back up (rename) SoftwareDistribution, stop WU services, then restart services so Windows creates a fresh delivery folder.
PowerShell (run as Administrator)
Stop-Service wuauserv -ErrorAction SilentlyContinue
Stop-Service bits -ErrorAction SilentlyContinue
Rename-Item C:\Windows\SoftwareDistribution C:\Windows\SoftwareDistribution.bak
Start-Service bits
Start-Service wuauserv

Expected result: Windows creates a new SoftwareDistribution and retries downloads. If the rename fails or the failure persists, restore the backup and collect logs.

Undo: stop services and rename the .bak folder back as shown below.

PowerShell (run as Administrator)
Stop-Service wuauserv
Stop-Service bits
Rename-Item C:\Windows\SoftwareDistribution.bak C:\Windows\SoftwareDistribution
Start-Service bits
Start-Service wuauserv

0xC1900xxx — Feature upgrade failures

Check: Look for compatibility blocks and temporarily disable third-party antivirus.

  1. Remove nonessential peripherals, disable third-party antivirus temporarily, and retry the feature update.

Expected result: if a peripheral or antivirus blocked the upgrade, the update proceeds. If it still fails, collect logs and consider driver rollback or an in-place repair.

Undo: reconnect devices and re-enable antivirus; disconnecting devices alone does not change system files.

0x8024402f and similar — Network or timeout errors

Check: Test general internet access and whether the device uses a proxy, VPN, or corporate WSUS.

  1. Temporarily disable VPN/proxy, switch to a direct connection, and retry. Try a wired connection if on Wi‑Fi.

Expected result: a direct network path allows Windows Update to reach Microsoft or your configured update server. If you must use a corporate update service, check with IT before changing settings.

Advanced targeted fixes and when to escalate

Answer: If safe first fixes fail, collect logs and follow escalation steps in order. Stop before disruptive actions and get help if needed.

  1. Collect logs for support.
PowerShell (run as Administrator)
Get-WindowsUpdateLog -LogPath C:\Users\Public\Desktop\WindowsUpdate.log

Also export Event Viewer entries (System and Application) around the failure time and save CBS.log if you run SFC/DISM.

  1. Run SFC and DISM to repair component store corruption.
Command Prompt (run as Administrator)
sfc /scannow
PowerShell (run as Administrator)
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
  1. If a recent driver caused the failure, roll it back in Device Manager or uninstall the problematic driver. If third-party antivirus blocks updates, uninstall it (not just disable) and retry.
  1. In-place repair using official Windows installation media is the next step if upgrades repeatedly fail; it preserves apps and files. If the system was stable before the failure, System Restore or a disk image restore is safer than repeating risky operations.

When to escalate: after you’ve collected WindowsUpdate.log, Event Viewer entries, CBS.log, and the exact error code and timestamps. Stop and get professional help if you lack admin rights, the device is managed, or you’re not comfortable running DISM or a repair install.

Verify the result and rollback safety steps

Answer: Confirm success in the Windows Update UI, check Event Viewer, and inspect your logs. Follow the undo steps below if you need to roll back changes.

  1. Confirm success in Settings > Windows Update: no current error and Update history shows the item as "Installed".
  1. Check Event Viewer > Windows Logs > System and filter for source WindowsUpdateClient around the retry time; a successful installation logs an informational event.
  1. Inspect WindowsUpdate.log and CBS.log for the absence of recent error entries tied to the update attempt.

Undo and recovery notes:

  • Restoring SoftwareDistribution: stop WU services and rename the .bak folder back as shown earlier.
  • System Restore: if you created a restore point, use Control Panel > Recovery to restore to that point.
  • DISM/SFC repairs are not directly reversible. If a repair causes instability, restore from a system image or a previously created restore point.

If you escalate, attach the exact error code, the logs you collected, and the time window for the failure.

Printable one‑page checklist (quick)

Answer: Use this short checklist to run the full quick triage and first fixes. Stop and collect logs if steps do not fix the issue.

  1. Note error code and copy exact message.
  1. Reboot once.
  1. Check free disk space and network connectivity.
  1. Confirm time/date and that updates are not paused.
  1. Start WU/BITS/TrustedInstaller if stopped.
  1. Run Windows Update Troubleshooter.
  1. Backup and rename SoftwareDistribution and retry.
  1. If still failing, collect WindowsUpdate.log and Event Viewer entries, then run SFC/DISM.

When to stop and get help: if the computer becomes unstable, you cannot restore a renamed folder, or you must perform an in-place repair and are not comfortable doing so.

Conclusion

If one safe fix from this guide fixes the problem, stop there and keep the logs you created. If the problem persists, collect the logs listed and contact support or your administrator with the exact error code, timestamps, and the logs you gathered.

Frequently Asked Questions

I see code 0x80070005 — should I delete SoftwareDistribution right away?

Answer: No. Do not delete SoftwareDistribution immediately. First rename it so you keep a backup and a rollback path. Deleting the folder removes update history and makes recovery harder.