0x80070002

Windows Update Error 0x80070002: The File Is Missing

Windows Errors Intermediate 👁 1 views 📅 May 29, 2026

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

  1. Stop the update services. Open Command Prompt as Admin and run:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
  2. Delete the cache folders. Run:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
  3. Restart the services:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  4. 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 /scannow
Reboot 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\SusClientIdValidation
Then 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?