# Windows Error 0x80070002: The system cannot find the file specified

**Code:** `0x80070002` · **Category:** Windows · **Seen on:** Windows

A file or registry entry Windows expected is missing — common in Windows Update, backups and app installs.

## Meaning

0x80070002 wraps Win32 error 2, ERROR_FILE_NOT_FOUND. In Windows Update it often means downloaded update files are incomplete or the update database is out of sync.

## Common causes

- Incomplete or corrupted update downloads
- Wrong path in a shortcut, script or scheduled task
- Files removed by cleanup tools or antivirus
- Date/time out of sync during updates
- Uninstalled dependency still referenced

## Quick fix

1. Run the Windows Update troubleshooter
2. Reset Windows Update components (see 0x80070005)
3. Check the exact path in the error/event log exists
4. Sync the clock (Settings → Time → Sync now)

## Detailed fix by platform

### Windows

1. Find the failing update in the log:

```powershell
Get-WindowsUpdateLog          # writes WindowsUpdate.log to the Desktop
Get-WinEvent -LogName System -MaxEvents 50 | Where-Object { $_.Message -match '0x80070002' }
```


## How to diagnose

1. **Path** — Which file/path is missing?
2. **Source** — Update, installer, task or script?
3. **Logs** — Event Viewer / WindowsUpdate.log entries

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/windows/0x80070002-file-not-found)
