Skip to content
PCFixWorkbench

Windows Update · Windows 11

Fix Windows Update error 0x80070002

Written November 20, 2026

Windows Update error 0x80070002 means an update cannot find files it expects, usually in a damaged download cache or component store. Clear the cache first, then repair the component store with DISM and SFC in order.

What you need

Read the error before you touch it

  1. Know what the code means. Error 0x80070002 is the file-not-found error: Windows Update went looking for a file it expected — in its download cache or in the component store — and the file was not there or did not match. That is why the same update fails at the same point every time. Retrying alone does not change anything, because nothing about the missing file changes between tries.
  2. Note which update fails, and how. In Settings > Windows Update, note the update's name and whether it fails while downloading, while installing, or right at the start. A failure at the start or during download points at the cache. A failure during install, after a clean download, points deeper, at the component store — which is where this guide ends up either way.
  3. Check for a pending restart. If Windows is already waiting to restart to finish an earlier update, later updates can fail behind it. Restart the PC once before anything else and try the update again. It is the cheapest step in this guide and it clears a surprising number of update errors on its own.

The simple fixes, in order

  1. Check the date, time, and free drive space. Open Settings > Time & language > Date & time and confirm the time is set automatically and is actually correct — update checks fail in odd ways when the clock is wrong. Then check the system drive in File Explorer: an update needs room to download and stage its files, so if the drive is nearly full, free several gigabytes before going further.
  2. Run the Windows Update troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters and run the Windows Update troubleshooter. It checks the update services, the cache, and common configuration faults, and fixes the simple ones itself. Microsoft covers the troubleshooter and the standard update checks in Troubleshoot problems updating Windows. Try the update again when it finishes.
  3. Restart the update services and rename the download cache. If the troubleshooter did not clear it, the cached download itself is the next suspect. Open the Services app — search for Services from the Start menu — and stop the Windows Update service and the Background Intelligent Transfer Service. Then, in File Explorer, go to the Windows folder and rename the SoftwareDistribution folder to something like SoftwareDistribution.old. Restart both services, then restart the PC. Windows builds a fresh SoftwareDistribution folder and downloads the update again from scratch — a damaged cached copy can no longer be the missing file.

The advanced route: DISM, then SFC

  1. Repair the component store with DISM. If a fresh cache still fails with the same code, the missing files are in the component store itself — the store Windows installs features and updates from. Open Windows Terminal or Command Prompt as administrator and run DISM /Online /Cleanup-Image /RestoreHealth. DISM compares the store against Windows Update and replaces damaged or missing component files with clean ones. Microsoft documents this repair in Repair a Windows image. Let it run to completion, even if the progress bar sits still for a long stretch.
  2. Run the system file check with SFC. In the same administrator terminal, run sfc /scannow. SFC checks the installed system files against the component store you just repaired and replaces any that are damaged or missing. The order matters: DISM first, so the store is sound, then SFC, so it has good files to repair from. Running SFC alone against a damaged store can leave it with nothing clean to copy.
  3. Restart, then retry the update from Settings. Restart the PC when both commands have finished, go to Settings > Windows Update, and check for updates. Let the update that failed with 0x80070002 download and install. If it asks for another restart to finish, give it that restart before judging the result — several updates only complete across a restart.

End state

When it goes wrong

Related fixes

Sources