TechBuzzPro

Fix Error 0x80070002: System Cannot Find File

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Error 0x80070002, "The system cannot find the file specified," typically appears during Windows Update, when installing software, or when running system tools. This guide walks you through proven fixes, from simple restarts to deeper system repairs, so you can resolve it quickly and prevent it from recurring.

What You'll Need

  • Administrator access to your Windows PC
  • Stable internet connection
  • 10–20 minutes of time
  • Optional: a USB drive for backup (if you choose the reset option)

Step-by-Step

  1. Restart your computer. A simple reboot clears temporary glitches that often cause this error. Save your work and restart, then try the operation that failed.
  2. Run the Windows Update Troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters. Select Windows Update and click Run the troubleshooter. Follow the prompts—it will automatically detect and fix common update issues.
  3. Check for corrupted system files with SFC. Open Command Prompt as administrator (right-click Start > Command Prompt (Admin) or Windows Terminal (Admin)). Type sfc /scannow and press Enter. Wait for the scan to complete (10–15 minutes). If it finds issues, it will repair them automatically.
  4. Run DISM to fix system image errors. In the same Command Prompt window, type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. This repairs the underlying Windows image that SFC relies on. It may take 20 minutes or more—let it finish.
  5. Clear the SoftwareDistribution folder. This folder stores temporary Windows Update files. Stop the Windows Update service by typing net stop wuauserv in Command Prompt (Admin). Then open File Explorer, navigate to C:\Windows\SoftwareDistribution, and delete all its contents. Restart the service with net start wuauserv.
  6. Check disk for errors. Type chkdsk /f /r in Command Prompt (Admin). You'll be asked to schedule it for the next restart—type Y and restart. This scans and repairs hard drive issues that can cause missing file errors.
  7. Perform a clean boot. This starts Windows with only essential drivers and services, ruling out third-party software conflicts. Press Win+R, type msconfig, go to the Services tab, check Hide all Microsoft services, then click Disable all. Go to the Startup tab and click Open Task Manager. Disable all startup items there. Restart and try the operation again.
  8. Reset Windows Update components manually. If the above fails, open Command Prompt (Admin) and run these commands one by one:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
    net start wuauserv
    net start cryptSvc
    net start bits
    This renames the update cache folders, forcing Windows to recreate them.
  9. Use System Restore. If the error started recently, restore your PC to a point before the issue. Search for "Create a restore point" in Start, click System Restore, choose a restore point, and follow the wizard.
  10. Reset or reinstall Windows as a last resort. Go to Settings > Update & Security > Recovery and choose Reset this PC. Select Keep my files to preserve personal data while reinstalling Windows. This often eliminates persistent system corruption.

Common Mistakes

  • Skipping the restart. Many users jump straight to complex fixes when a reboot would resolve the issue.
  • Running SFC without DISM. If the system image is corrupted, SFC may fail or loop. Always run DISM first if SFC doesn't fix things.
  • Deleting SoftwareDistribution without stopping services. This causes permission errors. Always stop wuauserv and bits first.
  • Ignoring administrator privileges. Commands like SFC and DISM fail without admin rights. Right-click Command Prompt and select "Run as administrator."
  • Not backing up before reset. Even "Keep my files" can lose app data. Back up important files to an external drive before resetting.

Tips

  • Run updates manually. If Windows Update fails, download the update from the Microsoft Update Catalog and install it manually.
  • Check disk space. Ensure you have at least 10-15 GB free on the system drive. Low disk space can cause update failures.
  • Keep drivers updated. Outdated drivers, especially storage controllers, can cause file errors. Update them via Device Manager or manufacturer sites.
  • Use the Media Creation Tool. For persistent issues, create a bootable USB and choose "Upgrade this PC now" to reinstall Windows while keeping files and apps.

Troubleshooting

If the error persists after all steps:

  • Check the Event Viewer. Open Event Viewer (search in Start), go to Windows Logs > System, and look for errors around the time of the failure. The details may point to the specific file or service causing the issue.
  • Try a different user account. Create a new local admin account and attempt the update or install. This isolates profile corruption.
  • Disable antivirus temporarily. Third-party security software can block system files. Disable it, try the operation, then re-enable it.
  • Use the Windows Update Assistant. Download the official Windows Update Assistant from Microsoft's website to force the latest feature update.
  • Check for hardware issues. Run a memory diagnostic (search "Windows Memory Diagnostic") and check your hard drive's health with tools like CrystalDiskInfo (third-party).

Frequently Asked Questions

What exactly causes error 0x80070002?

It's usually caused by missing or corrupted system files, a damaged Windows Update cache, or permission issues. It can also occur when a file referenced by an installer or update is deleted or renamed.

Will I lose my files if I reset Windows?

If you choose "Keep my files," your personal documents, photos, and settings remain. However, installed apps will be removed, and some settings may revert to default. Always back up important data first.

How long does DISM take?

Typically 10-20 minutes, but it can take longer on older hardware or if the system image needs significant repair. Let it run without interruption.

Can I skip the clean boot step?

Yes, but it's a valuable diagnostic step. If the error disappears after a clean boot, a third-party service or startup program is the culprit, and you can identify it by re-enabling items one by one.

Is this error specific to Windows 10 or 11?

It appears on both, as well as older versions like Windows 7 and 8. The fixes are similar, though the exact menu paths may differ slightly.

Do I need to run all the steps in order?

Not strictly, but the order is logical: start with the least invasive fixes (restart, troubleshooter) and move to more disruptive ones (reset). Running them in order helps you identify what works.