Error 0x80070002 is Windows Update’s way of saying it reached for a file that was not there. It is one of the most common update errors precisely because so many things can put the update engine in that position: an interrupted download, a corrupted cache database, a misbehaving service, or even a wrong system clock breaking certificate checks. The error code sounds technical, but the repair path is refreshingly ordinary.
Because the root cause is usually “the update infrastructure is confused,” the fixes follow a natural escalation: verify the basics, clear the cache, reset the components, and repair the system files underneath. Almost everyone is fixed before the list ends.
Error 0x80070002 is the most democratic of update errors — it strikes new laptops and old ones, Home and Pro, with no particular pattern, because its causes are the everyday hazards of the update pipeline: interrupted downloads, corrupted caches, and confused services. Technicians barely blink at it anymore; the repair sequence is so standardized that it doubles as a general tune-up for the entire Windows Update infrastructure. If you only learn one update-repair routine, this is the one, and it resolves a surprising share of other error codes as collateral.
Why this happens
- Corrupted download cache: Partial or damaged files in the SoftwareDistribution folder fail lookup when the installer needs them.
- Damaged data store: The update database that tracks what is downloaded can corrupt, so the engine loses track of its own files.
- Interrupted downloads: Power loss, sleep, or network drops mid-download leave the cache in an inconsistent state.
- Incorrect system date and time: Certificate validation fails when the clock is far off, breaking the secure download channel.
- Stopped update services: If wuauserv or BITS is not running properly, files never land where the installer expects.
- Third-party interference: Antivirus or “cleaner” tools sometimes delete or quarantine cache files mid-operation.
- Boot configuration issues: On some systems the error ties to a damaged BCD entry the update process needs.
- Disk errors: File system corruption can make cached files unreadable even though they appear present.
How to fix it
Work through these in order — diagnose first, then act.
Two of the steps below involve the command line, and they look more intimidating than they are. You are stopping services, renaming folders, and starting services again — Windows rebuilds everything it needs automatically. Copy each command exactly, press Enter, and move on; there is nothing here that can harm a healthy system.
Fix 1: Check date, time, and time zone
The quickest possible fix — rule it out in under a minute.
- Right-click the clock in the taskbar and open Date and time settings.
- Turn on “Set time automatically” and “Set time zone automatically.”
- Click Sync now to force an immediate correction.
- Retry Windows Update and see if the error is gone.
Fix 2: Run the Windows Update troubleshooter
The automated tool handles the straightforward cache and service issues behind this error.
- Open Settings, System, Troubleshoot, Other troubleshooters.
- Run the Windows Update troubleshooter and apply any recommended fixes.
- Restart the laptop after it completes.
- Check for updates again to test whether the error persists.
Fix 3: Clear the SoftwareDistribution cache
Removing the damaged files forces a clean redownload of everything the update needs.
- Open Command Prompt as administrator.
- Run
net stop wuauservandnet stop bits. - Delete all contents of
C:\Windows\SoftwareDistribution\Download. - Run
net start wuauservandnet start bits. - Restart and retry the update.
Fix 4: Reset the full Windows Update components
When a cache clear is not enough, rebuild the entire update data infrastructure.
- In an admin Command Prompt, stop the services:
net stop wuauserv,net stop cryptSvc,net stop bits,net stop msiserver. - Rename the folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.oldandren C:\Windows\System32\catroot2 catroot2.old. - Restart the services:
net start wuauserv,net start cryptSvc,net start bits,net start msiserver. - Reboot the laptop and check for updates.
Fix 5: Repair system files with DISM and SFC
Underlying corruption in Windows itself can manifest as this file-not-found error.
- Open Command Prompt as administrator.
- Run
DISM /Online /Cleanup-Image /RestoreHealthand wait for completion. - Run
sfc /scannowafterward. - Restart and test Windows Update again.
- For the sibling error with a similar cause, see our guide on fixing update error 0x80070003 .
Fix 6: Check the disk for errors
File system damage can make cached update files unreadable.
- In an admin Command Prompt, run
chkdsk C: /f. - Type Y when asked to schedule the check, then restart the laptop.
- Let the scan complete without interrupting it.
- After booting, clear the update cache once more and retry.
Fix 7: Disable interfering software temporarily
Cleaner tools are notorious for deleting update cache files out from under the engine.
- Pause any third-party “PC cleaner,” “optimizer,” or aggressive antivirus tools.
- Specifically check cleaner apps for options that wipe Windows Update cache — disable those.
- Retry the update with the interference paused.
- Re-enable your security software afterward.
Fix 8: Install the update manually
If the automatic engine cannot find its files, hand it the files directly.
- Note the KB number of the failing update from your update history.
- Download the matching .msu from the Microsoft Update Catalog.
- Run the standalone installer and restart when prompted.
- Verify the KB appears in update history afterward.
- Our step-by-step guide to manually installing Windows updates walks through the Catalog process in detail.
Once 0x80070002 is resolved, take thirty seconds to prevent its return. The most common repeat cause is an aggressive cleaner app scheduled to wipe ‘temporary files’ — including the update cache — on a regular basis. Check any cleaner or optimizer you have installed and exclude the Windows Update cache from its routine; otherwise you will be clearing corruption that your own software keeps creating. Laptops that sleep mid-download are the other classic repeaters, so let large updates finish on AC power with sleep disabled. For the path-not-found sibling of this error, our 0x80070003 guide covers the nearly identical repair.
Closing
Error 0x80070002 is almost always the update engine losing track of its own files, and the cure is to give it a clean slate: correct the clock, clear the cache, reset the components, and repair the files underneath. Work the list in order and this famously common error becomes a thirty-minute detour at most.
