How to fix 0x80070002 on Windows 10

Windows Update Error 0x80070002 Troubleshooting Guide

Why This Error Happens

Error 0x80070002 typically occurs when Windows Update cannot locate expected files, usually due to corrupted update components in the SoftwareDistribution folder or interrupted download data. This can also result from incorrect system date/time settings, which cause the Windows Update client to reject valid update packages as expired or invalid. In some cases, third-party antivirus software or a stalled Background Intelligent Transfer Service (BITS) prevents proper file retrieval.

Step-by-Step Resolution Guide

  1. Check System Date and Time
    Go to Settings > Time & Language > Date & Time and enable “Set time automatically.” Incorrect clock settings are a common trigger for this error.

  2. Stop Windows Update Related Services
    Open Command Prompt as Administrator and run:

   net stop wuauserv
   net stop cryptSvc
   net stop bits
   net stop msiserver
  1. Rename the SoftwareDistribution and Catroot2 Folders
    In File Explorer, navigate to C:\Windows\SoftwareDistribution and rename it to SoftwareDistribution.old. Then navigate to C:\Windows\System32\catroot2 and rename it to catroot2.old. This forces Windows to rebuild these folders with fresh files.

  2. Restart the Services
    In the same Command Prompt window, run:

   net start wuauserv
   net start cryptSvc
   net start bits
   net start msiserver
  1. Run the Windows Update Troubleshooter
    Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update, then click “Run the troubleshooter” to detect and repair 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 error no longer appears and updates download successfully.
  • If the issue persists, run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth in an elevated Command Prompt to repair underlying system file corruption that may be causing the missing file error.