Error 0x80070002 means "the system cannot find the file specified." Windows Update went looking for a file it had downloaded or expected to be there, and it wasn't. Usually the update cache is corrupted or incomplete, and sometimes the clock or system files are to blame.
The good news: this is one of the most fixable update errors.
Before You Change Anything
Restart once and try again. A pending restart can leave updates half-finished.
Check free space. Keep at least 20 GB free on C: for feature updates.
Pause third-party antivirus while you troubleshoot, then turn it back on.
Confirm You Have This Problem
Settings → Windows Update shows "Install error – 0x80070002" or "Download error – 0x80070002."
Or Update history lists failed updates with this code.
Possible Causes
| Cause | How to check |
|---|---|
| Corrupted or incomplete update cache | Reset the cache (Step 3) |
| Wrong date, time or time zone | Settings → Time & language (Step 1) |
| Corrupt system files or component store | DISM and SFC (Step 4) |
| Not enough disk space | File Explorer → This PC |
| A specific update that keeps failing | Install it manually (Step 5) |
Step-by-Step Diagnostic (Lowest Risk First)
Step 1: Fix the date and time
Go to Settings → Time & language → Date & time. Turn on Set time automatically and Set time zone automatically, then click Sync now. A wrong clock breaks secure downloads and certificate checks.
Step 2: Run the built-in troubleshooter
On Windows 11, open Settings → System → Troubleshoot → Other troubleshooters → Windows Update → Run. (On newer builds this opens the Get Help app.) Apply any fixes it suggests and try updating again.
Step 3: Reset the Windows Update cache
This is the fix that works most often. Open Terminal (Admin) and run these one at a time:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserverRestart the PC and check for updates. Windows rebuilds both folders automatically. Once updates install successfully, you can delete the .old folders.
If a ren command says access denied, a service restarted itself. Run the net stop commands again and retry immediately.
Step 4: Repair system files
In Terminal (Admin):
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannowDISM repairs the component store that updates install into. Run it before SFC.
Step 5: Install the update manually
In Update history, note the KB number of the failing update (for example, KB5xxxxxx). Search for it on the Microsoft Update Catalog (catalog.update.microsoft.com), download the version for your system (most PCs are x64), and run it.
Step 6: In-place repair (last resort)
If nothing works, download the Windows 11 ISO or Installation Assistant from Microsoft and run setup.exe from inside Windows, choosing Keep personal files and apps. This brings Windows fully up to date and replaces the update components.
How to Know It's Fixed
Settings → Windows Update says "You're up to date."
Update history shows the previously failing update as Successfully installed.
When to Stop and Get Help
DISM fails with "source files could not be found." You'll need a repair install.
The error comes back on every update, even after a cache reset. Something deeper is damaged, or security software is interfering.
Disk errors show up in Event Viewer. Check the drive's health first.
A Help Desk Perspective
On the help desk, 0x80070002 was almost always fixed by the cache reset in Step 3. That's the first thing I'd try after checking the clock. If it comes back after a reset, I stop treating it as an update problem and start looking at the disk and system files.
Found this helpful?
Share it with someone who could use it.
DiagnoseMyPC Team
Expert PC diagnostics and troubleshooting guides to help you keep your Windows system running smoothly.
Get the free Windows Troubleshooting Checklist
Subscribe and instantly download our 50-point Windows troubleshooting checklist — plus practical fixes, performance tips, and security alerts from the DiagnoseMyPC team.
No spam. Unsubscribe anytime.
Frequently Asked Questions
Is it safe to rename the SoftwareDistribution folder?
Yes. It only holds downloaded update files and update history logs. Windows recreates it. Your update history list in Settings may look shorter afterwards, but installed updates aren't removed.
Why does 0x80070002 keep coming back?
Usually corrupt system files, low disk space, or security software interfering with downloads. Run DISM and SFC and check free space.
Can I just skip the update?
You can pause updates, but security updates matter. Fix the error and stay current.
What if the error is for a feature update?
The in-place upgrade in Step 6 installs the latest version directly and is the most reliable fix.



