0x80070002

Windows Error Code 0x80070002: The Real Fixes That Work

Windows Errors Intermediate 👁 0 views 📅 May 25, 2026

This error usually means Windows Update or System Restore can't find a file. I'll show you the three most common causes and how to fix each one fast.

Cause #1: Corrupted Windows Update Files (The Most Likely Culprit)

Nine times out of ten, 0x80070002 is a Windows Update issue. The update service downloads files to a folder called C:\Windows\SoftwareDistribution. When those files get corrupted — which happens after a failed update, a forced reboot, or a disk error — the update engine can't find what it needs. That triggers the error.

Had a client last month whose laptop shut down mid-update during a storm. Brought it in, and every update after that failed with 0x80070002. Fix took about 10 minutes.

Fix: Reset the Windows Update Components

  1. Open Command Prompt as administrator. Hit the Windows key, type "cmd", right-click Command Prompt, select "Run as administrator".
  2. Stop the update services by running these commands one at a time:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
  1. Rename the SoftwareDistribution and Catroot2 folders. These hold the cached update files. Windows will recreate them fresh when you restart the services:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 Catroot2.old
  1. Restart the services you stopped:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
  1. Close the command prompt and try running Windows Update again.

That usually clears it. If it doesn't, or if the error pops up during a System Restore, check the next cause.

Cause #2: System File Corruption (SFC and DISM to the Rescue)

Sometimes the problem isn't in the update cache — it's in the system files themselves. A corrupted DLL or a missing system file can make the update service or the System Restore engine throw 0x80070002. This is common after a virus infection, a partial Windows update, or a bad driver install.

I've seen this on machines where someone ran a registry cleaner. Don't run those things — they almost always break more than they fix.

Fix: Run SFC and DISM

Open Command Prompt as administrator again.

First, run the System File Checker:

sfc /scannow

This checks all protected system files and replaces any that are corrupted. It can take 15-20 minutes on an older HDD. Let it finish — don't interrupt it.

After that, run DISM (Deployment Image Servicing and Management). DISM repairs the system image that SFC uses as a source:

DISM /Online /Cleanup-Image /RestoreHealth

This one also takes a while. Once it's done, restart your PC and try Windows Update or System Restore again. If you still get 0x80070002, move to cause #3.

Cause #3: Disk Errors or Low Disk Space

This one's sneaky. Windows Update needs room to download and expand update files — usually 5-10 GB minimum. If your system drive is nearly full, the update process can fail and leave behind a half-finished mess that triggers 0x80070002. Also, bad sectors on the drive can prevent Windows from reading update files correctly, even if they're present.

Had a small business client whose server kept throwing this error on a 120 GB SSD that was at 98% capacity. Cleared out old logs and temp files, error vanished.

Fix: Check Disk Space and Run CHKDSK

Check your free space on the C: drive in File Explorer. If it's under 10 GB, free up space. Move files to another drive, uninstall old programs, or run Disk Cleanup:

  1. Open Disk Cleanup: type "cleanmgr" in the Start menu and press Enter.
  2. Select the C: drive.
  3. Click "Clean up system files". This removes old Windows Update files, temporary files, and the Windows.old folder if it exists.
  4. Check off everything you're okay deleting (I usually check Temporary files, Delivery Optimization Files, and Windows Update Cleanup).
  5. Click OK.

Then run CHKDSK to check for disk errors. Open Command Prompt as administrator and run:

chkdsk C: /f /r

You'll get a prompt saying the drive is in use and asking if you want to schedule the check for next boot. Type Y and press Enter. Restart your PC. CHKDSK will run at boot and fix any file system errors or bad sectors it finds.

Quick-Reference Summary Table

Cause Fix Time
Corrupted update cache Reset SoftwareDistribution & Catroot2 folders 10 min
System file corruption Run SFC /scannow then DISM 30-40 min
Disk errors or low space Free up space, run CHKDSK /f /r 20-60 min

Try cause #1 first — it's the most common and the fastest fix. If that fails, move down the list. I've fixed dozens of machines with these three steps and never had to reinstall Windows for 0x80070002.

Was this solution helpful?