Fix 1: Run the Windows Update Troubleshooter
The built-in Windows Update Troubleshooter is Microsoft’s first-line diagnostic tool. It automatically detects and repairs the most common update issues, including missing or corrupted temporary files that trigger error 0x80070002.Always run the Windows Update Troubleshooter before attempting any manual fixes. It resolves the majority of update errors without requiring any technical steps.
1
Open Windows Settings
Press Win + I to open the Settings app.
2
Navigate to Troubleshoot
Go to System → Troubleshoot → Other troubleshooters.
3
Run the Windows Update Troubleshooter
Find Windows Update in the list and click Run next to it.
4
Apply fixes and restart
Follow any on-screen prompts the troubleshooter provides. Once it finishes, restart your PC and try running Windows Update again.
Fix 2: Clear the Windows Update Cache
Windows Update stores temporary download files in a folder called SoftwareDistribution. If these files become corrupted or incomplete, you’ll see error 0x80070002. Clearing the cache forces Windows Update to download fresh, uncorrupted files.1
Open the Services window
Press Win + R, type
services.msc, and press Enter.2
Stop the Windows Update service
Scroll down to find Windows Update in the list, right-click it, and select Stop.
3
Navigate to the SoftwareDistribution folder
Open File Explorer and navigate to
C:\Windows\SoftwareDistribution.4
Delete the contents of the Download folder
Open the Download folder inside SoftwareDistribution. Select all files and folders with Ctrl + A and delete them. Do not delete the Download folder itself — only its contents.
5
Restart the Windows Update service
Return to the Services window, right-click Windows Update, and select Start.
6
Try Windows Update again
Open Settings → Windows Update and click Check for updates to confirm the error is resolved.
Fix 3: Run System File Checker (SFC)
Corrupted or missing Windows system files are a leading cause of error 0x80070002. The System File Checker (SFC) scans your entire Windows installation for corrupted files and automatically replaces them with known-good copies.1
Open an elevated terminal
Right-click the Start button and select Windows Terminal (Admin) or Command Prompt (Admin). Click Yes if prompted by UAC.
2
Run the SFC scan
Type the following command and press Enter:
3
Wait for the scan to complete
The scan can take 10–20 minutes to finish. Do not close the terminal window or interrupt the process. Once complete, you’ll see a message indicating whether Windows found and repaired any corrupted files.
4
Restart and update
Restart your PC after the scan completes, then open Windows Update and try again.
Fix 4: Verify Date and Time Settings
An incorrect system clock is a surprisingly common trigger for error 0x80070002. Windows Update relies on accurate timestamps to verify downloaded files. If your date or time is wrong, update verification fails.1
Open Date & Time settings
Press Win + I to open Settings, then go to Time & Language → Date & Time.
2
Enable automatic time and time zone
Toggle on both Set time automatically and Set time zone automatically. If they are already on, toggle them off, wait a few seconds, and toggle them back on.
3
Sync your clock
Scroll down to the Additional settings section (Windows 11) or click Sync now (Windows 10) to immediately synchronize your clock with Microsoft’s time server. Confirm the Last successful time synchronization timestamp updates correctly.
Fix 5: Temporarily Disable Antivirus
Third-party antivirus software can sometimes intercept Windows Update processes and block file downloads or verification, causing error 0x80070002. Temporarily disabling your antivirus lets you rule this out as a cause. Open your antivirus application’s system tray icon or main dashboard and look for an option such as Disable protection, Pause, or Turn off temporarily. Select a short duration (10–15 minutes) so it re-enables automatically. Then run Windows Update. If the update succeeds, add Windows Update to your antivirus’s exclusion list rather than leaving protection disabled permanently.Still Not Fixed?
If none of the above fixes resolved error 0x80070002 on your system, the problem likely involves deeper component corruption or a registry issue. Explore the resources below to continue troubleshooting.Advanced Fixes
Apply DISM repairs, reset Windows Update components manually, and use PowerShell scripts to fix persistent 0x80070002 errors.
What Causes Error 0x80070002?
Understand the root causes behind error 0x80070002 so you can prevent it from recurring in the future.