Updates

Windows Update keeps failing. The failing update and its code decide

Short answerWindows Update failing is not one fault, and retrying is not a diagnosis. Update history names the update marked Failed and the code beside it. Those two facts route everything. One .NET update failing goes to the .NET repair. One update failing with its own code goes to that code's page. Every update failing goes to Windows' own files (DISM, then SFC), and only then to the update download folder.

Updates download, attempt, and report failure — daily, sometimes for weeks — while the PC otherwise works. The repetition makes it feel like one stubborn fault. Update history usually shows it is narrower, or broader, than it feels, and either reading changes the repair completely.

This page is the router the specific pages hang off. It spends its effort on the one read that picks the route, and on the branch where every update fails, which is the only branch whose repair lives here.

Do it by hand below, or let Noah read this PC's update logs and installed software first (more at the end).

First, name what failed, with its code

Open Settings → Windows Update → Update history. Entries marked Failed carry the update's name, its KB number — the number Microsoft gives the update, beginning with KB — and usually an error code. One failing name among successes, and all names failing, are different machines to repair, so count them before touching anything.

Fixwrite down each Failed update's name, KB number, and code. If one is a .NET Framework update, work the 0x80070643 page's .NET section: restart, retry once, then Microsoft's .NET Framework Repair Tool. If one update carries a different code, search that exact code as written. Only if every update fails do you continue to the branch below.

NoahNoah can search the System log for Windows Update failure entries carrying a code, and read the Windows version and build. It cannot read Update history itself, so the failed names come from your read above. Noah has no built-in Windows Update repair.

Every update fails

Several different updates, across days, all marked Failed — with the same or different codes.

Unrelated updates failing together indict what they share: Windows' own system files, or the component store updates install from. Repairing those files is the first move because it repairs the shared part without deleting any record of what failed.

Fixtype cmd in the Search box, right-click Command Prompt, and choose Run as administrator. Run DISM.exe /Online /Cleanup-image /Restorehealth first and let it complete; then run sfc /scannow and wait for 100%. Restart and retry the updates. DISM supplies good copies of system files and SFC (System File Checker) replaces damaged ones with them, in that order by Microsoft's guidance.

If every update still fails after DISM, SFC, and a restart, the staged download folder may hold damaged copies. Note the failing KB numbers first; resetting removes that record. Get hands-on help if renaming a system folder is unfamiliar. From an administrator Command Prompt, run net stop wuauserv, net stop bits, and net stop cryptsvc. Rename C:\Windows\SoftwareDistribution to SoftwareDistribution.old — rename, never delete. Run net start wuauserv, net start bits, and net start cryptsvc. Restart the PC and retry.

NoahNoah can search the System log for one failing KB number at a time to compare failures before and after a repair. Noah has no built-in DISM or SFC repair and no built-in reset of the update download folder; those steps stay yours, with help if the folder step is unfamiliar.

What to avoid

  • Resetting the SoftwareDistribution folder first. It holds the staged downloads and the practical record of what failed. Name the failing updates in Update history before anything is renamed.
  • Retrying the same update for weeks without reading history. The name and code were the diagnosis all along. One read routes the repair; a month of retries routes nothing.
  • Downloading updates from non-Microsoft sites. A hand-installed KB comes from Microsoft's Update Catalog, matched to your Windows version and architecture, or not at all.
  • Registry cleaners for update failures. No branch of this fault points at the registry, and a cleaner cannot repair a system file or a component store.
Try Noah free

Updates that complete.

Just tell Noah what's wrong:

Windows Update keeps failing on my PC.
Name my failing updateFirst conversation freeNew customers: 7-day free trialOnly with your OK

Already have Noah? Open it on this problem →

Frequently asked questions

Why does Windows Update keep failing?

Read Update history: the Failed entries name the update and its code. One .NET update points at the .NET Framework repair. One coded update points at that code's guidance. Every update failing points at Windows' own files — DISM then SFC — and only then at the download folder.

Where do I find the error code for a failed update?

Settings > Windows Update > Update history. Failed entries carry the code beside the update's name and KB number. Write all three down before resetting anything; that record is what later steps get judged against.

Should I delete the SoftwareDistribution folder?

Not first, and rename rather than delete if it comes to it. Name the failing updates, run DISM then SFC, restart, and retry. Only if every update still fails do you rename C:\Windows\SoftwareDistribution with the update services stopped, as this page sets out.

One update fails but others install. Is my Windows broken?

Probably not: unrelated updates installing proves the shared machinery works. Work the one failing update by its name and code — a .NET update to the .NET repair, another code to that code's exact guidance.

Commands in this guide are standard, read-only macOS diagnostics unless noted; anything that changes your system is called out. When in doubt, back up first with Time Machine.