[Solution] Error 0x80070002 Windows Update — File Not Found Fix
Error 0x80070002 is a “File Not Found” error that almost exclusively strikes during Windows Update operations. When Windows searches for update files that don’t exist or have been corrupted, it throws this error and blocks the entire update process.
This error affects both Windows 10 and 11 users and is usually caused by a corrupted Windows Update cache or mismatched update metadata. The fix is straightforward once you know which cache folders to clear.
Description
The full error message reads:
“There were problems downloading some updates, but we’ll try again later. If you keep seeing this, try searching the web or contacting support for help. Error code: (0x80070002)”
Or the classic form:
“Windows Update encountered an unknown error. Error code: 0x80070002”
This error occurs when Windows Update’s local cache contains references to update files that no longer exist on the Microsoft servers, or when the cached metadata is corrupted. The system tries to locate the file based on cached information, fails, and reports the error.
Common triggers include:
- Interrupted update downloads — A partial download left corrupt metadata
- Server-side removal — Microsoft pulled an update after it was cached locally
- Disk cleanup operations — Aggressive cleanup tools removing update files without clearing metadata
- Date and time changes — Incorrect system clock breaking certificate validation
- Third-party cleanup tools — Software like CCleaner removing update cache files selectively
Common Causes
- Corrupted SoftwareDistribution folder — The Windows Update download cache contains stale or damaged files.
- Corrupted Catroot2 folder — The folder that stores Windows Update package signatures is damaged.
- System file corruption — Core Windows Update DLL files are missing or broken.
- Incorrect system date/time — Certificate validation fails when the clock is wrong.
- Pending restart — A previous update is partially installed and blocking new ones.
- Damaged Windows Update agent — The Windows Update service itself needs repair.
Solutions
Solution 1: Clear the SoftwareDistribution Folder
This is the most effective fix for 0x80070002. The SoftwareDistribution folder stores all Windows Update download files and metadata. Clearing it forces Windows to start fresh.
Open Command Prompt as Administrator and run:
net stop wuauserv
net stop bits
Delete the contents of the SoftwareDistribution folder:
rd /s /q C:\Windows\SoftwareDistribution
md C:\Windows\SoftwareDistribution
Restart the services:
net start wuauserv
net start bits
Try running Windows Update again. Windows will recreate the SoftwareDistribution folder and download fresh update files.
Solution 2: Delete the Catroot2 Folder
The Catroot2 folder stores the signatures of Windows Update packages. If it’s corrupted, updates will fail with file-not-found errors.
net stop cryptsvc
Rename the folder:
ren C:\Windows\System32\catroot2 catroot2.old
Restart the service:
net start cryptsvc
Windows will automatically recreate the Catroot2 folder when you run Windows Update again. Do not delete it manually while the Cryptographic Services are running.
Solution 3: Run Windows Update Troubleshooter
The built-in troubleshooter can automatically detect and fix 0x80070002 by clearing caches and resetting services.
- Press
Win + Ito open Settings. - Navigate to System > Troubleshoot > Other troubleshooters.
- Locate Windows Update and click Run.
- Wait for the troubleshooter to scan and apply fixes.
- Click Close and restart your computer.
For a command-line approach, run the built-in diagnostic:
msdt.exe /id WindowsUpdateDiagnostic
Solution 4: Check Date and Time Settings
Incorrect date and time can break certificate validation, causing Windows to report files as not found when the download actually failed verification.
- Press
Win + Ito open Settings. - Go to Time & language > Date & time.
- Enable Set time automatically.
- Enable Set time zone automatically.
- Click Sync now under “Additional settings.”
From the command line:
w32tm /resync /force
Verify the current time:
net time
If the time is wrong, you can set it manually:
net time \\time.windows.com /set /yes
Solution 5: Run SFC and DISM Scans
Corrupted system files can prevent Windows Update from functioning properly.
sfc /scannow
If SFC finds errors it cannot fix, run DISM to repair the Windows component store:
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
After DISM completes, run SFC again:
sfc /scannow
Restart your computer and try Windows Update.
Solution 6: Manually Reset All Windows Update Components
For stubborn cases of 0x80070002, a complete reset of all Windows Update components is necessary. Run these commands in an elevated Command Prompt:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
net stop appidsvc
Rename the cache folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
Reset the Windows Update registry entries:
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f
Reset the Winsock catalog:
netsh winsock reset
Restart all services:
net start appidsvc
net start cryptsvc
net start bits
net start wuauserv
net start msiserver
Restart your computer and try Windows Update again.
Related Errors
- Error 0x80004005 — Unspecified Error, often appears alongside 0x80070002 in update failures
- Error 0x80070005 — Access Denied error during Windows Update
- Error 0x80070003 — Path not found, a closely related file-system error
- Error 0x800f081f — Windows could not find required files for .NET Framework installation
- Error 0x8024402c — Windows Update cannot connect to the update server