Check the date and time, run the Windows Update troubleshooter, then reset the update cache by renaming the SoftwareDistribution and catroot2 folders (commands below) and retry. Finish with DISM and sfc /scannow if it still fails.

0x80070002, explained

0x80070002 translates to ERROR_FILE_NOT_FOUND. The component that failed expected a file at a certain path and it wasn’t there. In Windows Update, that is usually because the download cache is out of sync: some files were deleted or the download was interrupted.

Outside Windows Update, the same code shows up in File History, backup tools, the Store and installers. The cause is the same (a missing file or path), but the fix is to check the source or destination location.

Signs of the problem

  • Windows Update shows “Install error - 0x80070002” or “There were some problems installing updates”.
  • Feature update or cumulative update fails repeatedly.
  • Backup or app install fails with “The system cannot find the file specified”.

Common causes

  • Incomplete or corrupted files in the Windows Update cache.
  • Wrong system date/time breaking update validation.
  • Corrupted system component store.
  • Missing source or target files for backups and installers.

Fixes to try, in order

  1. Check date and timeTurn on Set time automatically in Date & time settings and click Sync now.
  2. Run the troubleshooterWindows 11: Settings → System → Troubleshoot → Other troubleshooters → Windows Update → Run. Windows 10: Settings → Update & Security → Troubleshoot → Additional troubleshooters.
  3. Reset the update cacheRun the commands below, restart, and check for updates again.
  4. Repair the component storeRun DISM /Online /Cleanup-Image /RestoreHealth then sfc /scannow.
  5. Install the update manuallyNote the KB number from Update history and download it from the Microsoft Update Catalog.
  6. For backups and installersCheck that the drive, folder or network share you're backing up to or installing from still exists and is connected.

Command

net stop wuauserv
net stop bits
net stop cryptsvc
ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
ren %systemroot%\System32\catroot2 catroot2.old
net start cryptsvc
net start bits
net start wuauserv

Run each line in an elevated Command Prompt (Run as administrator). Renaming these folders only clears the update download cache; Windows rebuilds them. If a rename says 'access denied', restart and run the lines again.

Check it's fixed: The update installs and Update history shows “Successfully installed”.

Prevent it from coming back

Let updates finish downloading before restarting and avoid 'cleaner' tools that delete the update cache mid-download.