Skip to content
Windows

Error 0x80070002 in Windows Update: redo the download from scratch

Windows Update fails with 0x80070002 ("the system cannot find the file specified")? Download files are missing. Correct time, free space, troubleshooter, rebuilding the SoftwareDistribution folder with commands, DISM and sfc, and installing the update manually.

3 minHow we make our guides

Quick answer

Set date and time to automatic, free at least 20 GB on C: and rebuild the Windows Update cache: stop the wuauserv, bits and cryptsvc services, rename the SoftwareDistribution folder and start them again. If it still fails, download the update (KB) from the Microsoft Update Catalog and install it manually.

Illustration of the problem: Error 0x80070002
GlitchFix illustration: what this problem usually looks like.

What it means

0x80070002 is Windows' code for "file not found". Windows Update downloaded the update but, when installing it, files are missing: the download was cut short, something was removed from the temporary folder, or the cache information no longer matches.

So the fix is making it download everything again, cleanly.

First: time and space

  • Date and time: Settings → Time & language → Date & time → turn on Set time automatically and click Sync now. A wrong clock breaks download security checks.
  • Space: big updates need 20 GB or more free on C:. If you're tight, follow our guide to freeing space on drive C:.
  • Troubleshooter: Settings → System → Troubleshoot → Other troubleshooters → Windows Update → Run.

Rebuild the Windows Update cache

Windows Update icon with a red error, an arrow to a crossed-out folder and another arrow to a new folder with a green check
The damaged download folder is set aside and Windows creates a fresh empty one to download everything again.

Open Command Prompt as administrator and type, one at a time:

  1. net stop wuauserv
  2. net stop bits
  3. net stop cryptsvc
  4. ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
  5. ren C:\Windows\System32\catroot2 catroot2.old
  6. net start cryptsvc
  7. net start bits
  8. net start wuauserv

Restart and Check for updates again. The first check takes longer because it downloads everything anew.

If any ren says "Access is denied", a service didn't stop. Repeat the matching net stop, or restart in safe mode and do it there.

If it persists: repair and install manually

Open laptop on a desk next to a window
Installing the update file manually bypasses Windows Update's download system.
  1. Repair Windows: DISM /Online /Cleanup-Image /RestoreHealth then sfc /scannow.
  2. Note the KB code of the failing update (shown in Windows Update, e.g. KB5030000).
  3. Search for that KB in the Microsoft Update Catalog (catalog.update.microsoft.com), download the version for your Windows (x64 or ARM64) and install it by double-clicking.
  4. Version upgrade (e.g. 23H2 → 24H2): use the Windows 11 Installation Assistant from Microsoft's website.

Frequently asked questions

Can I delete SoftwareDistribution.old?

Yes, once updates are working. It only holds old downloads and history; Windows doesn't need it.

Do I lose anything by renaming SoftwareDistribution?

The update history shown in Windows Update is cleared, but updates already installed stay installed.

What about errors 0x80070003 or 0x80073712?

They're relatives: they also indicate missing or damaged files or paths. The same steps usually fix them.

If the update keeps failing, tell us its KB code via the contact page.

Still not fixed?

Email us at glitchfixesp@gmail.com with your device model, the exact error message and what you have already tried from this guide. We reply personally (in English or Spanish) and, if the issue keeps coming up, we add the new fix to the guide.

Send us your error

Related guides

See all PC & Windows guides