0x80070002 - Windows cannot find a file it needs
0x80070002 Microsoft name: ERROR_FILE_NOT_FOUND
What it means
A file that Windows or an update expected is not where it should be. The Windows error behind it is File Not Found.
Where you see it
Windows Update, app installers, and boot or upgrade steps.
Likely causes
- An update file was removed or never finished downloading.
- A cleaning or security program deleted it.
- The date and time on the PC are wrong, which breaks update checks.
Three safe steps, in order
Try them one at a time and test after each. No registry edits, no repair tools to buy, and no switching off your security. If a step needs a driver, firmware or Windows installation media, get it only from Microsoft or your device maker.
- Check Settings > Time & language that the date and time are right, restart, and run Check for updates.Related Microsoft page: Troubleshoot problems updating Windows
- Run the Windows Update troubleshooter.Related Microsoft page: Fix Windows Update errors
- Repair system files: DISM /Online /Cleanup-Image /RestoreHealth and then sfc /scannow, from an administrator Command Prompt.Related Microsoft page: Use the System File Checker tool to repair missing or corrupted system files
Stop and get help when…
it appears during a Windows upgrade or startup and the PC will not load Windows.
Source and date
- Official Microsoft reference
- System Error Codes (WinError.h)
- More Microsoft help
- Fix Windows Update errors
- Date checked
- 24 November 2026. Microsoft changes its pages; if a step no longer matches, trust the Microsoft page.
Win32 error 2 wrapped as an HRESULT (0x8007xxxx)
Microsoft describes it as: “The system cannot find the file specified.”
Source: System Error Codes (WinError.h) (Microsoft Learn content, CC BY 4.0)
The wording above is ours. Where a box quotes Microsoft's description, it comes from Microsoft Learn documentation published under CC BY 4.0 and is credited to the page linked.