0x80070002

Windows Update Error 0x80070002 – Step-by-Step Fix

Windows Errors Intermediate 👁 1 views 📅 May 28, 2026

Error 0x80070002 means Windows can't find update files. This is usually a corrupted cache or missing system file. Here's how to fix it from quickest to most thorough.

What's error 0x80070002?

This error shows up when Windows Update tries to download or install updates and can't find the files it needs. You'll see it in the Windows Update settings pane, usually after an update fails to download or gets stuck at a certain percentage. It's not a hardware problem — it's a file problem. The update files are missing or corrupted.

The real fix is specific: Windows stores temporary update files in a folder called C:\Windows\SoftwareDistribution. When that folder gets stale or has bad data, Windows can't locate the correct files and throws error 0x80070002. You'll see it most often after a failed update, a power outage during an update, or when you've manually stopped a download mid-way.

Before you start

You'll need to be logged in as an administrator. If you're not sure, click Start, type cmd, right-click Command Prompt, and choose "Run as administrator". That's the only way the following commands will work.

First fix: Clear the update cache (takes 30 seconds)

This is the quickest fix and works about 70% of the time. Just delete the cache folder where Windows keeps the failed update files.

  1. Press Windows Key + R, type services.msc, and hit Enter. This opens the Services window.
  2. Scroll down to Windows Update. Right-click it and choose Stop. This stops the update service so we can delete the cache. After stopping, the service should show a blank Status column.
  3. Open File Explorer and go to C:\Windows\SoftwareDistribution. You can paste that path into the address bar and press Enter.
  4. Inside that folder, open the Download subfolder. Select everything inside (Ctrl+A) and delete it. You don't need to delete the whole SoftwareDistribution folder — just the Download folder's contents. If Windows says some files are in use, you missed step 2 — stop the Windows Update service again.
  5. Go back to the Services window. Right-click Windows Update and choose Start.
  6. Open Windows Update settings (Start > Settings > Windows Update) and click Check for updates. The error should be gone, and updates should download fresh.

Still see the error? Move to the next fix.

Second fix: Run the built-in troubleshooter and SFC (takes about 5 minutes)

This is more thorough. Windows includes tools that scan for and fix corrupted system files. I'll walk you through both.

Step 1: Run the Windows Update Troubleshooter

  1. Open Settings (Windows Key + I) and go to System > Troubleshoot > Other troubleshooters (Windows 11) or Update & Security > Troubleshoot > Additional troubleshooters (Windows 10).
  2. Find Windows Update in the list and click Run. A window will pop up — let it run its checks. It'll likely find something like "Windows Update components need repair" and fix it automatically.
  3. Once done, restart your PC.

Step 2: Run System File Checker (SFC)

  1. Open Command Prompt as administrator (right-click Start, choose Terminal Admin or Command Prompt Admin).
  2. Type sfc /scannow and press Enter. This scans all protected system files and replaces bad ones with a cached copy. Expect it to take 10–15 minutes. It'll show a progress bar. Let it finish — don't close the window.
  3. When it's done, you'll see one of three messages:
    • "Windows Resource Protection did not find any integrity violations." — good, no corrupted files.
    • "Windows Resource Protection found corrupt files and successfully repaired them." — also good, but reboot now.
    • "Windows Resource Protection found corrupt files but was unable to fix some of them." — move to the advanced fix below.

After rebooting, try Windows Update again. If error 0x80070002 persists, go to the advanced fix.

Third fix: Run DISM and manually reset Windows Update components (takes 15+ minutes)

This is the nuclear option — it repairs the Windows Update system itself, including the services and the underlying system image. Use this only if the first two fixes didn't work.

Step 1: Run DISM to repair the system image

  1. Open Command Prompt as administrator again.
  2. Run this command: DISM /Online /Cleanup-Image /RestoreHealth. This command downloads fresh system files from Microsoft. It can take 20–30 minutes. Don't interrupt it. You'll see a progress bar at 20%, then 40%, etc.
  3. Once it says "The operation completed successfully," close the Command Prompt and restart your PC.

Step 2: Reset Windows Update components manually

If DISM didn't help, the update components are likely misconfigured. Here's how to reset them by hand.

  1. Open Command Prompt as administrator.
  2. Run these commands one at a time, pressing Enter after each. They stop the update services and reset their configurations:
    net stop bits
    net stop wuauserv
    net stop appidsvc
    net stop cryptsvc
    ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
    ren %systemroot%\system32\catroot2 catroot2.old
    net start bits
    net start wuauserv
    net start appidsvc
    net start cryptsvc
  3. After running those, you've renamed the old cache folders. Windows will create fresh ones automatically when you check for updates.
  4. Close the Command Prompt and restart your PC.
  5. Open Windows Update and click Check for updates. It should now work.

Still stuck? A last resort

If none of these work, you might have a deeper issue — like a pending update that's blocking others, or a third-party antivirus interfering with Windows Update. Try temporarily disabling your antivirus (not Windows Defender) and running the troubleshooter again. If that doesn't help, download the update manually from the Microsoft Update Catalog — search for the update KB number from your error history, download the correct version for your system (x64 or x86), and install it directly.

Error 0x80070002 is almost always fixable with these steps. You don't need to reinstall Windows. You just need to clear out the old junk and let Windows start fresh.

Was this solution helpful?