0x80070002

Stop 0x80070002 in Windows Update: Fix It Without Wiping

Error 0x80070002 in Windows Update often means corrupt cache or missing files. Here's how to fix it fast, step by step, without nuking your system.

I know that sinking feeling when Windows Update throws 0x80070002 right in the middle of your lunch break. It's a system error, not a driver issue, and it makes your PC feel like a brick. But calm down — this one's fixable in about fifteen minutes, and you won't need to nuke your install.

The Real Fix: Clear the Update Cache

Nine times out of ten, 0x80070002 means the update cache is corrupted — a file didn't download completely, or a leftover temp file is blocking the next attempt. The quickest path is to stop the update services, delete the cache, and restart everything. Here's the exact sequence, and yes, you need to do all of it.

  1. Close all open programs and save your work.
  2. Open Command Prompt as administrator — right-click the Start button and pick “Command Prompt (Admin)” or “Terminal (Admin)” on Windows 11.
  3. Stop the Windows Update services. Type these one at a time, pressing Enter after each:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver

You'll see a “service is stopping” message for each. If one tells you it's not running, that's fine — move on.

  1. Now rename the SoftwareDistribution folder. This is where Windows stores downloaded update files. Don't delete it — rename it so Windows builds a fresh one. Run:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old

If you get a “file in use” error, you missed a service stop. Go back and check step 3.

  1. Restart the services:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
  1. Restart your PC, then run Windows Update again.

Why This Works

The error code 0x80070002 translates to “the system cannot find the file specified.” When Windows Update checks for updates, it expects certain files in those folders. If they're missing — say, your antivirus quarantined a part, or a previous update failed mid-download — it throws this code. Renaming the folders forces Windows to create clean ones from scratch, and the update engine starts fresh. It's like clearing a clogged pipe; once the gunk is out, water flows again.

When the Cache Fix Isn't Enough

Sometimes the cache isn't the culprit. If the error persists after the steps above, it's likely a deeper system file corruption or a disk issue. Here are the less common variations and how to handle them.

Run Check Disk

Bad sectors or file system errors on your C: drive can cause 0x80070002 because Windows can't read the update files. Open an admin Command Prompt and run:

chkdsk C: /f /r

It'll ask to schedule a check on restart. Type Y and reboot. This scans and fixes disk errors — could take a while, especially on an older hard drive. On an SSD, it's quicker.

Run SFC and DISM

System file corruption is another trigger. Use the built-in tools — they're not perfect, but they catch most issues.

sfc /scannow

Wait for that to finish. If it finds problems but can't fix them, run DISM before trying SFC again:

DISM /Online /Cleanup-Image /RestoreHealth

Then rerun sfc /scannow. This combo resolves a surprising number of update errors.

Check for Conflicting Software

Third-party antivirus tools — especially older versions of Norton or McAfee — sometimes mess with Windows Update by locking files. If you've got one, disable its real-time protection temporarily and try the update again. Don't forget to re-enable it after. In my support days, I lost count of how many update errors cleared up once the AV was out of the picture.

Prevention: Keep This From Coming Back

Once you've fixed it, you don't want to see that error again. Here's what I tell my users:

  • Run Windows Update regularly — monthly patches are easier than a year's worth of backlog.
  • Keep your antivirus updated, but don't stack two of them. That's a recipe for file conflicts.
  • Make a habit of running sfc /scannow every few months. It's cheap insurance.
  • If you're low on disk space, clear out temp files with the built-in Disk Cleanup tool. A full drive makes Windows Update cranky.

You don't need to be a sysadmin to handle this. The steps above are the same ones I used on hundreds of tickets, and they work. If you hit a snag, check the service names — typos happen more than you'd think.

Related Errors in Cybersecurity & Malware
Fixing Cloud IAM Policy Escalation Attempt: Top 3 Causes 0x800704ec Windows Security Shows Virus & Threat Protection Off – Fix 0X0000177D EFS Blob Too Big: Fix ERROR_EFS_ALG_BLOB_TOO_BIG (0X0000177D) Threat Intel Feed Update Stuck? Here's the Real Fix

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.