Windows Update Error 0x80070002: The File Is Missing
Windows Update can't find a required file. Usually a corrupted cache or a third-party antivirus gone rogue. The fix is clearing the SoftwareDistribution folder.
Quick Answer
Stop the BITS and Windows Update services, delete C:\Windows\SoftwareDistribution and C:\Windows\System32\catroot2, restart services, then run Windows Update again.
What's Happening Here?
Error 0x80070002 shows up when Windows Update can't find a file it needs to download or install. The culprit here is almost always one of two things: a corrupt update cache inside the SoftwareDistribution folder, or a third-party antivirus (looking at you, Norton and McAfee) that's deleted or quarantined update files mid-download. I've also seen it on systems where disk space ran critically low during an update — Windows just can't write the temp files.
This error loves to appear during the downloading phase, not the install phase. You'll see it in Windows Update history with a red 0x80070002. Don't bother with the built-in troubleshooter first — it rarely fixes this one. You need to nuke the cache manually.
Step-by-Step Fix
- Stop the update services. Open Command Prompt as Admin and run:
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver - Delete the cache folders. Run:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old - Restart the services:
net start wuauserv net start cryptSvc net start bits net start msiserver - Run Windows Update again. Go to Settings > Update & Security > Check for updates.
If That Doesn't Work
If the error persists, you've probably got deeper corruption or a permissions issue. Try these:
Run DISM and SFC
From Admin CMD:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannowReboot after.Reset Windows Update Components Manually
Stop services again, then delete these registry keys (backup first!):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\AccountDomainSid
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\PingID
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SusClientId
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SusClientIdValidationThen restart services.Check Disk Space and Permissions
Make sure C: has at least 20GB free. Also check the SoftwareDistribution folder isn't set to Read-Only — right-click it, Properties, uncheck Read-only if it's on.
Prevention Tip
Keep 20GB free on your system drive always. If you use third-party antivirus, whitelist C:\Windows\SoftwareDistribution and C:\Windows\System32\catroot2 to avoid false positives. And for the love of God, don't disable Windows Update — it'll just cause more headaches later.
Was this solution helpful?