Home  /  Error Codes  /  0x80070002
Generic error

0x80070002

The system cannot find the file specified (0x80070002)

A system file is missing β€” commonly appears after a failed Windows Update or sfc error

Root cause

Windows cannot locate a file it expected. In a DLL context this usually means a failed Windows Update left system components undeployed, or sfc detected a missing file but could not repair it.

Fix paths (try in order)

  1. Run System File Checker

    Open PowerShell or Command Prompt as Administrator and run these commands in order:

    sfc /scannow
    DISM /Online /Cleanup-Image /RestoreHealth
  2. Run Windows Update

    Settings β†’ Update & Security β†’ Windows Update β†’ Check for updates. Install all optional updates and driver updates, then reboot.

  3. Run the Media Creation Tool for an in-place repair install

    Download the Media Creation Tool for Windows 11/10 from microsoft.com/software-download. Choose "Keep personal files and apps" to run an in-place upgrade β€” Windows will refill the missing system files itself.

Commonly related DLLs

⚠ What NOT to do: Don't grab a DLL from a random download site and drop it into System32. That's the #1 source of "entry point not found" follow-up errors and introduces malware risk.