How to Fix Error 0x80070002 on Windows 10
Error 0x80070002 — “the system cannot find the file specified” — is the classic Windows Update failure on Windows 10. Updates download, then fail, then fail again on every retry. The loop is maddening, but the cause is mundane: the update cache is corrupted, and Windows keeps choking on the same damaged files.
The core fix takes about five minutes: stop the update services, clear the cache, and let Windows download fresh copies. The same code also appears during system upgrades and File History backups when a referenced file has gone missing — the fixes below cover those cases too, so check which situation matches yours before diving in.
If your update failures show a different code, check our error 0x80070057 fix for the parameter-is-incorrect variant.
Why this happens
- Corrupted SoftwareDistribution cache: Interrupted downloads or disk hiccups leave half-written update files that fail validation.
- Damaged catroot2 signature catalog: Windows can’t verify update signatures, so installs abort.
- Broken update components: The Background Intelligent Transfer Service or Windows Update service itself is stuck or misconfigured.
- Missing files referenced by backup: In backup scenarios, a library pointing to a deleted folder triggers the same code.
- Antivirus quarantining update files: Overzealous scanning can remove files Windows Update just downloaded.
- Failing hard drive: Bad sectors corrupting cached files produce recurring, seemingly random update failures.
How to fix it
Work through these in order. Fix 1 resolves the overwhelming majority of cases.
Fix 1: Delete the SoftwareDistribution cache
This is the definitive fix — you’re simply throwing away the damaged downloads so Windows fetches clean copies.
- Open an admin Command Prompt (right-click Start > Command Prompt (Admin) or Windows PowerShell (Admin)).
- Stop the update services:
net stop wuauservnet stop bits - Open File Explorer and navigate to
C:\Windows\SoftwareDistribution. - Select everything inside (Ctrl + A) and delete it. If a file refuses, make sure both services are stopped and retry.
- Restart the services:
net start wuauservnet start bits - Go to Settings > Update & Security > Windows Update and click Check for updates. The update will download fresh and should install cleanly this time around.
Fix 2: Reset all Windows Update components
When the cache clear isn’t enough, reset the entire update machinery.
- In an admin Command Prompt, run:
net stop wuauservnet stop cryptSvcnet stop bitsnet stop msiserver - Rename the two cache folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.oldren C:\Windows\System32\catroot2 catroot2.old - Re-register the update DLLs:
regsvr32.exe /s wuapi.dllregsvr32.exe /s wuaueng.dllregsvr32.exe /s wups.dll - Restart all four services with
net startcommands matching step 1. - Check for updates again.
- If the troubleshooter’s automated fixes keep failing on the same component, note which one — that tells you where the manual reset in Fix 2 needs extra attention, usually BITS or the cryptographic service.
Fix 3: Run the Windows Update troubleshooter
The built-in troubleshooter catches configuration issues the manual reset misses.
- Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters.
- Select Windows Update and click Run the troubleshooter.
- Apply every fix it recommends, then restart.
- If the troubleshooter itself reports it couldn’t identify the problem, continue to Fix 4 — the troubleshooter is helpful but not exhaustive.
Fix 4: Repair system files with SFC and DISM
Corrupted servicing-stack files make every update fail regardless of cache state.
- Open an admin Command Prompt.
- Run
sfc /scannowand wait for it to complete. - Run
DISM /Online /Cleanup-Image /RestoreHealth. - Restart and try the update once more. Microsoft documents these repair tools on the Windows support hub .
Fix 5: Check the drive for errors
If 0x80070002 keeps coming back after cache clears, the disk itself may be corrupting downloads.
- Open an admin Command Prompt and run
chkdsk C: /f. - Press Y to schedule the check and restart.
- Let the scan finish completely — don’t interrupt it.
- After reboot, clear the SoftwareDistribution cache once more (Fix 1) so you’re not retrying with files damaged by the disk errors, then update.
- If chkdsk finds many bad sectors, back up your data promptly — the drive is failing.
Fix 6: Install the update manually from the Catalog
Sometimes the automatic pipeline is broken but the update itself is fine.
- Find the KB number in Settings > Update & Security > Windows Update > View update history.
- Search for it on the Microsoft Update Catalog and download the version matching your system (x64 for most laptops).
- Run the downloaded
.msufile and follow the prompts. - If manual install works, the problem was purely in the automatic download pipeline — often a proxy or BITS issue worth investigating later.
Fix 7: Perform an in-place upgrade repair
For stubborn cases where nothing else sticks, reinstalling Windows over itself fixes the servicing stack while keeping everything.
- Back up important files first — this is safe, but backups are never a bad idea.
- Download the Windows 10 Media Creation Tool from Microsoft and create installation media, or mount a Windows 10 ISO.
- Run
setup.exeand choose Keep personal files and apps. - Let the upgrade complete; it takes 30–90 minutes.
- Afterward, Windows Update should work normally. For broader blue-screen troubleshooting on the same machine, see our blue screen of death fix guide .
Closing
Error 0x80070002 is almost always a corrupted update cache, and deleting the SoftwareDistribution folder fixes it in minutes. When that isn’t enough, resetting the update components, repairing system files, and checking the disk cover the remaining causes. It’s a boring error with a boring fix — which is good news, because boring fixes are reliable ones, and your updates will be installing cleanly again today without further trouble at all.
