0x80070002

Fix Windows Error 0x80070002: Missing Update Files

Windows Update fails with 0x80070002 when files are missing or corrupted. Here's how to fix it step-by-step.

Quick answer: Reset the Windows Update cache and run DISM and SFC. That fixes 0x80070002 nine times out of ten.

You're trying to install updates and Windows throws 0x80070002. The error code translates to “The system cannot find the file specified.” That sounds vague, but it means Windows Update is looking for update files that aren't there. Maybe a previous update download got interrupted, or your system files are slightly corrupted. It happens a lot on machines that have been running for months without a restart.

Here's how to fix it. Follow these steps in order—don't skip ahead.

Step-by-Step Fix

Step 1: Run the Windows Update Troubleshooter

  1. Press Windows key + I to open Settings.
  2. Go to System > Troubleshoot > Other troubleshooters (on Windows 11) or Update & Security > Troubleshoot > Additional troubleshooters (on Windows 10).
  3. Click Run next to Windows Update.
  4. Wait for it to finish. It might say “Issues detected” and ask to apply fixes—click Apply this fix.

After it runs, try checking for updates again. If it works, you're done. But honestly, the troubleshooter often misses the real problem. If you still see 0x80070002, move to Step 2.

Step 2: Reset the Windows Update Cache

This clears out the downloaded update files. That's where the missing file problem usually lives.

  1. Press Windows key + R, type services.msc, and press Enter.
  2. Find Windows Update in the list. Right-click it and select Stop. Leave the Services window open.
  3. Open File Explorer and go to C:\Windows\SoftwareDistribution\Download.
  4. Select everything inside that folder and delete it. If Windows says files are in use, you didn't stop the service properly—go back and make sure Windows Update shows “Stopped.”
  5. Go back to the Services window. Right-click Windows Update again and select Start.

After this, the folder is empty. Windows will re-download what it needs. Try updating again. If the error persists, you need to check system file corruption.

Step 3: Run DISM and SFC

Corrupted system files can cause 0x80070002. DISM fixes the image, then SFC repairs files.

  1. Right-click the Start button and select Windows Terminal (Admin) or Command Prompt (Admin).
  2. Run this command first:
    DISM /Online /Cleanup-Image /RestoreHealth

    This scan takes a few minutes. Let it finish completely. Don't close the window even if it seems stuck.
  3. Once DISM reports “The restore operation completed successfully,” run:
    sfc /scannow

    SFC takes another few minutes. It will tell you if it found and fixed corrupted files.
  4. Restart your computer.

After restart, check for updates. This solves most remaining cases.

Alternative Fixes If the Main Steps Don't Work

Alternative 1: Delete the Catroot2 Folder

The Catroot2 folder holds update signatures. If it's corrupted, you get the same error. This one's a bit more involved.

  1. Stop the Windows Update service and the Cryptographic service. In Services (run services.msc), right-click Windows Update and Cryptographic Services, and stop both.
  2. Open File Explorer and go to C:\Windows\System32\Catroot2.
  3. Delete the entire folder. Don't worry—Windows recreates it automatically.
  4. Go back to Services and start both services again.

Note: never delete the Catroot folder (without the 2). Only Catroot2 is safe to delete.

Alternative 2: Check Disk for Errors

Sometimes the issue is a failing hard drive or bad sectors. Run a disk check.

  1. Open Command Prompt as administrator.
  2. Run chkdsk C: /f /r.
  3. You'll get a prompt to schedule it for next restart. Type Y and press Enter.
  4. Restart your PC. The check runs before Windows loads and can take a while—grab a coffee.

If chkdsk finds errors, that might be your real problem.

Alternative 3: Use the Media Creation Tool to Repair Install

If nothing works, you can do an in-place repair upgrade. Download the Media Creation Tool from Microsoft, run it, and choose “Upgrade this PC now.” It keeps your files and apps but reinstalls Windows core files. It's a bigger time investment but often fixes stubborn update issues.

Prevention Tips

After you fix this, you want to avoid it happening again. Here's what I tell my users:

  • Restart regularly. Don't just shut down or sleep. A real restart clears temporary junk that can block updates.
  • Don't force shutdown during updates. Let updates finish, even if it takes longer than you'd like. Interrupting an update is the number one cause of missing files.
  • Keep free disk space. Windows needs room to download and unpack updates. Leave at least 20 GB free on your system drive.

That's it. You should be update-free now. If you're still stuck after trying everything, at that point I'd suggest backing up your data and considering a clean install—but that's rare. Most people fix 0x80070002 with the steps above.

Related Errors in Windows Errors
0X8004D105 Fix XACT_E_PROTOCOL (0x8004D105) MSDTC error 0XC00D116D NS_E_DVD_NO_DECODER (0XC00D116D) – Fix in 2 Minutes 0X00000484 Fix ERROR_DDE_FAIL (0X00000484) When Double-Clicking Files in Windows 0X80010125 Fix CO_E_FAILEDTOOPENTHREADTOKEN (0X80010125) in 3 Steps

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.