How to Fix Windows Update Error 0x80070002
What error 0x80070002 means
Error code 0x80070002 is Windows' way of saying ERROR_FILE_NOT_FOUND: an operation asked for a file that isn't where it should be. In the context of Windows Update, it means the update engine began downloading or installing a package but then couldn't find one or more of the files it expected — usually because the local update cache got corrupted, a download was interrupted halfway, or a previous failed install left the cache in an inconsistent state.
Although it shows up most often in Windows Update, the same code can appear in the Microsoft Store, during driver installations, and in backup tools. The underlying story is the same everywhere: something the process depends on went missing. Because the root cause is almost always a damaged local cache rather than a problem with your hardware or the update itself, it responds very well to the cache-reset steps in this guide, and your personal files are never at risk.
Common causes
- Corrupted or incomplete update downloads: interrupted downloads leave partial packages that fail every retry.
- Damaged SoftwareDistribution or catroot2 folders: these caches store update metadata and signatures; when they corrupt, all updates fail.
- Wrong system date and time: certificate validation for update packages fails when the clock is far off.
- Corrupted system files: damaged Windows components break the update engine itself.
- Security software interference: third-party antivirus or firewall tools can block or quarantine update files mid-download.
How to fix error 0x80070002 — step by step
Work through these fixes in order. Most PCs are updating again by step 4.
- Run the Windows Update troubleshooter. Open Settings, go to System, then Troubleshoot, then Other troubleshooters. Click Run next to Windows Update and follow the prompts. Let it apply any fixes it finds, restart your PC, and try updating again.
- Check the date and time settings. Open Settings, go to Time and language, then Date and time. Turn on "Set time automatically" and "Set time zone automatically," then click "Sync now." Update packages are validated against security certificates, and those checks fail if your clock is significantly wrong.
- Restart the Windows Update services. Press Win + R, type
services.msc, and press Enter. Find Windows Update, Background Intelligent Transfer Service, and Cryptographic Services. Right-click each one and choose Restart (or Start if it isn't running). Then try the update again. - Rename the SoftwareDistribution and catroot2 folders. Right-click Start and choose Terminal (Admin). Run these commands one at a time:
net stop wuauserv,net stop cryptSvc,net stop bits,net stop msiserver. Then runren C:\Windows\SoftwareDistribution SoftwareDistribution.oldandren C:\Windows\System32\catroot2 catroot2.old. Finally restart the services withnet start wuauserv,net start cryptSvc,net start bits, andnet start msiserver. Windows rebuilds both folders with fresh files. - Run the System File Checker. In an admin terminal, run
sfc /scannowand wait for it to complete — it scans protected system files and repairs the damaged ones from a cached copy. Restart your PC afterward and retry the update. - Install the update manually from the Microsoft Update Catalog. Go to Settings, then Windows Update, then Update history, and note the KB number of the failing update. Search for that KB number on the Microsoft Update Catalog website, download the package matching your system (x64 for most PCs), and install it by double-clicking the file.
Did this fix it? Quick checklist
- Windows Update downloads and installs without 0x80070002
- Date and time are correct and syncing automatically
- No stuck or repeatedly failing updates in Update history
- The PC restarts cleanly after installing updates
If the error persists after all six steps, run DISM.exe /Online /Cleanup-image /Restorehealth from an admin terminal to repair the Windows component store, then run sfc /scannow again. As a last resort, an in-place Windows upgrade using the Media Creation Tool refreshes the entire update stack while keeping your files and apps.
Frequently asked questions
What does error 0x80070002 mean?
Error 0x80070002 means 'The system cannot find the file specified.' In Windows Update it means the update process started but could not locate files it needs — usually because the downloaded update cache is corrupted or incomplete.
Why does Windows Update keep failing with 0x80070002?
The usual reason is a damaged SoftwareDistribution or catroot2 folder. Interrupted downloads, disk errors, or antivirus interference can corrupt the update cache, and every retry then fails against the same broken files until the cache is rebuilt.
Is it safe to delete the SoftwareDistribution folder?
Yes, as long as you stop the Windows Update service first. Windows recreates the folder automatically with fresh files on the next update check. Renaming it to SoftwareDistribution.old instead of deleting is the safer option because you can undo it.
Can a wrong system clock really break Windows Update?
Yes. Update packages are validated against security certificates, and certificate checks fail if your date is far off. A clock set months or years wrong is a classic and easily missed cause of 0x80070002.