0x80070002

Windows Update Error 0x80070002 – Quick Fixes

This error means Windows Update can't find a file it needs. Usually a glitch or corrupted update cache. These steps fix it for most people.

What Is Error 0x80070002?

You're trying to update Windows – maybe a feature update like 22H2 or a monthly security patch – and suddenly you see error 0x80070002. The system says something like "Some update files are missing or have problems." Behind the scenes, Windows Update is looking for a file in its cache or download folder, and it just isn't there. The file might have been deleted by accident, or another update step left things in a half-finished state.

The good news: this is rarely a hard drive failure or deep corruption. It's almost always a glitch in the update process that you can fix in minutes. I've seen this happen after a failed update attempt, after you manually deleted files from the SoftwareDistribution folder thinking you were cleaning up, or just out of nowhere on a Tuesday morning.

Below I've laid out three levels of fixes. Start with the 30-second one. If that doesn't work, move to the 5-minute fix. The 15-minute fix is the nuclear option – but honestly, most people stop at step 2.

Fix 1: The 30-Second Restart Trick

This sounds stupidly simple, but it works more often than you'd think. The Windows Update service sometimes gets stuck holding a file handle or waiting for a something that never arrived. A restart clears that.

  1. Save any open work (Word docs, browser tabs – you know the drill).
  2. Click the Start button, then the Power icon, and choose Restart. Not Shut down – Restart. Shut down uses Fast Startup, which doesn't fully clear the session.
  3. Wait for Windows to fully load. Log in.
  4. Go to Settings (Windows key + I), then Windows Update, and click Check for updates.

What to expect: After the restart, the update services will start fresh. If the error was a temporary hang, Windows should find the update again and download it clean. You might see the update download from zero percent – that's normal. If it succeeds, you're done. If you still see 0x80070002, move to Fix 2.

Fix 2: The 5-Minute Cache Clear

This is the fix I use 90% of the time. Windows stores downloaded update files in a folder called C:\Windows\SoftwareDistribution. If a download got corrupted or interrupted, the half-baked file sits there and causes 0x80070002. We need to stop the update services, delete the cache, and let Windows rebuild it.

Step-by-step cache clear:

  1. Press Windows key + R, type services.msc, and press Enter. This opens the Services window.
  2. Find these two services in the list (they're in alphabetical order):
    - Windows Update
    - Background Intelligent Transfer Service (BITS)
  3. Right-click Windows Update and choose Stop. Do the same for BITS. Leave the Services window open – you'll restart them later.
  4. Open File Explorer and go to C:\Windows\SoftwareDistribution. If you can't see it, you might need to enable hidden items: in File Explorer, click the View tab and check Hidden items.
  5. Inside the SoftwareDistribution folder, delete everything. Yes, everything. Windows will recreate the folder structure when the services start again. A quick way: press Ctrl + A to select all, then the Delete key. If it says a file is in use, you missed stopping the services – go back to step 3 and double-check.
  6. Empty your Recycle Bin (optional but good practice).
  7. Go back to the Services window. Right-click Windows Update and choose Start. Do the same for BITS.
  8. Close the Services window. Go to Settings > Windows Update and click Check for updates.

What to expect: Windows will start downloading the update from scratch. The download bar might sit at 0% for a minute – that's normal, it's rebuilding the folder structure. After that, it should progress smoothly. If you see 0x80070002 again, move to Fix 3.

Fix 3: The 15-Minute System File Repair

If the cache clear didn't work, the problem might be deeper – system files that control the update process could be damaged. This happens after a bad driver install, a sudden power loss, or even a failed update from months ago. We'll run two built-in tools: SFC (System File Checker) and DISM (Deployment Image Servicing and Management).

Step 1: Run SFC Scannow

  1. Right-click the Start button and choose Windows Terminal (Admin) or Command Prompt (Admin). If you see a User Account Control prompt, click Yes.
  2. In the black window, type sfc /scannow and press Enter.
  3. Wait. This takes 10–20 minutes. The tool checks every protected system file against the master copy in the Windows component store.

What to expect:
- If it finds corruption, it will try to repair files automatically. You'll see a message like "Windows Resource Protection found corrupt files and successfully repaired them."
- If it can't repair some files, it will say so. That's when DISM comes in.

Step 2: Run DISM (only if SFC found issues it couldn't fix)

  1. In the same Terminal window (Admin), type:
    DISM /Online /Cleanup-Image /RestoreHealth
    and press Enter.
  2. This tool connects to Windows Update (if you have internet) to download fresh copies of damaged system files. It can take 20–30 minutes. Don't close the window.
  3. Once it finishes (usually with a message like "The restore operation completed successfully"), run sfc /scannow again to confirm everything is clean.

Step 3: Retry Windows Update

  1. Restart your computer (not shutdown – Restart).
  2. Go to Settings > Windows Update and click Check for updates.

What to expect: After SFC and DISM, the underlying system files are healthy. Windows Update should now either find the update and install it, or – if the update was a dud – it might skip it entirely. Either way, error 0x80070002 should be gone.

Still Stuck? One More Thing to Try

If you've done all three fixes and still see 0x80070002, the update itself might be broken for your specific hardware combo. I've seen this on some older Dell Latitude 5480s with a particular BIOS version. In that case, try running the Windows Update Troubleshooter built into Windows:

  1. Go to Settings > System > Troubleshoot > Other troubleshooters.
  2. Find Windows Update in the list and click Run.
  3. Follow the on-screen steps. It will try to reset update components automatically.

If that fails, consider pausing updates for a week and trying again later. Sometimes Microsoft pulls a bad update and re-releases it fixed. You can pause updates in Settings > Windows Update > Pause updates for 1 week.

One last thing: if you're on a metered connection or have limited bandwidth, make sure you're connected to Wi-Fi that isn't marked as "metered." Windows can skip downloads on metered connections, causing this error. Go to Settings > Network & internet > Wi-Fi, click your network name, and set Metered connection to Off.

That covers it. Start with the restart, then clear the cache, then run the system file check. 9 times out of 10, you'll be done at step 2.

Related Errors in Windows Errors
0X800F0204 SPAPI_E_KEY_DOES_NOT_EXIST 0X800F0204: Real Fixes That Work 0X0000207D AD Attribute Not Defined for Class (0X0000207D) Fix 0X800F0245 Fix SPAPI_E_ONLY_VALIDATE_VIA_AUTHENTICODE (0x800F0245) System Restore Points Not Creating? Here's What's Actually Wrong

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.