Windows Update Error 0x80070002 Troubleshooting Guide
Why This Error Happens
Error 0x80070002 typically occurs when Windows Update cannot locate specific files it expects to find, often due to corruption in the Software Distribution folder where update files are temporarily stored. This can result from interrupted downloads, incorrect system date/time settings, or corrupted Windows Update components (BITS, wuauserv). Incomplete or damaged update caches prevent the installer from verifying and applying the update correctly.
Step-by-Step Resolution Guide
-
Check Date and Time Settings
Go to Settings > Time & Language > Date & Time and ensure “Set time automatically” is enabled. Incorrect system time can cause certificate validation failures during updates. -
Stop Windows Update Services
Open Command Prompt as Administrator and run:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
- Rename the SoftwareDistribution and Catroot2 Folders
In the same elevated Command Prompt, rename the folders to force Windows to rebuild them:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
- Restart the Services
Restart the services you stopped earlier:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
- Run the Windows Update Troubleshooter
Navigate to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update, then run the troubleshooter to detect and fix remaining issues automatically.
Alternative or Verification Steps
- After completing the steps above, go to Settings > Update & Security > Windows Update and click Check for updates to confirm the update installs successfully without the 0x80070002 error.
- If the issue persists, run the System File Checker (
sfc /scannow) and DISM (DISM /Online /Cleanup-Image /RestoreHealth) commands in an elevated Command Prompt to repair underlying system file corruption before retrying the update.