0x80070002 (File not found): what it means and how to fix it
Updated Oct 10, 2026 · Checked against Microsoft documentation · How this page is made
Quick answer
This error means Windows cannot find a specific file or folder required to complete an update or installation. It is most often caused by missing system files, incomplete previous updates, or corrupted registry entries. Start by checking your system logs to identify exactly which file is missing.
What it means
Understanding Error 0x80070002
When you see error 0x80070002, Windows is telling you that it tried to perform a task—usually installing an update—but stopped because a necessary piece of the puzzle is missing. The code literally translates to "The system cannot find the file specified."
This happens because the update process relies on a specific sequence of files, folders, and registry instructions. If a previous update was interrupted, or if a critical system file was accidentally deleted or moved, the update process hits a wall. Windows cannot "guess" where the missing information is, so it halts the process to prevent further errors or system instability.
How to find the source of the problem
Because this error is generic, it does not tell you exactly which file is missing. To find out, you need to look at the CBS (Component-Based Servicing) logs. These are text files that record the details of update attempts. You can find the main log at C:\Windows\Logs\CBS\CBS.log. When you open this file, look for lines containing "Error" or "Failed to find file." These entries will typically name the specific file or registry key that caused the failure. Once you know the name of the missing item, you can focus your efforts on restoring that specific component rather than guessing at a solution.
Common causes
- Incomplete or interrupted previous Windows updates.
- Missing or corrupted system files in critical directories.
- Registry entries pointing to files or services that no longer exist.
- Missing DLL files within the Windows Side-by-Side (WinSxS) store.
- Driver installation failures during a cumulative update.
How to fix it
Safest and most likely fixes first. Readers' answers to "Did this fix it?" reorder this list over time.
Run the Windows Update troubleshooter
Use this as a first step to automatically detect and repair common update issues.
- Open the Settings app.
- Go to System and then Troubleshoot.
- Select Other troubleshooters.
- Find Windows Update and click Run.
Did this fix it?Check CBS logs for missing files
Use this when you need to identify exactly which file is causing the error.
- Navigate to C:\Windows\Logs\CBS\ in File Explorer.
- Open the CBS.log file using Notepad.
- Search for the text "Failed to find file" or "Error" to identify the missing component.
- Note the file path or name mentioned in the error line.
Did this fix it?Run the System File Checker
Use this to automatically replace missing or corrupted system files.
- Open the Start menu and type cmd.
- Right-click Command Prompt and select Run as administrator.
- Type sfc /scannow and press Enter.
- Wait for the process to complete and restart your computer.
Did this fix it?Use the DISM tool
Use this if the System File Checker fails to resolve the issue.
- Open Command Prompt as an administrator.
- Type DISM.exe /Online /Cleanup-image /Restorehealth and press Enter.
- Allow the tool to download and replace corrupted files from Windows Update.
Did this fix it?
Is it just you?
25+ Microsoft Q&A threads discuss this. Most recent activity:
- Windows 11 Insider Preview Feature Update (26340.9233) Install error - 0x80070002Aug 30, 2026
- error code 0x80070002Aug 12, 2026
- Install error - 0x80070002Aug 8, 2026
- 0x80070002 errorJul 29, 2026
- Install error - 0x80070002Apr 2, 2026
Checked Oct 9, 2026. Refreshed automatically every few days.
Sources
Frequently asked questions
Does 0x80070002 mean my hard drive is failing?
Not necessarily. It usually indicates a software or configuration issue where Windows cannot locate a specific file, rather than a physical hardware failure.
Can I ignore this error?
You should not ignore it, as it prevents your computer from receiving important security updates and may lead to further system instability.
Will I lose my files if I fix this?
The fix involves repairing system files, not your personal documents. However, it is always recommended to have a backup of your data before performing system repairs.