How-to guides · clear steps · safer fixes
troubleshooting

Troubleshoot Windows Update Error 0x80070002 on Windows 11

Short answer

Troubleshoot Windows Update error 0x80070002 on Windows 11 using supported Microsoft documentation procedures, including restarting, running the troubleshooter, and repairing system files with DISM and SFC.

Research-based

Last verified:

Applies to: Windows 11; Microsoft-documented Windows Update troubleshooting

Three supported Windows 11 update recovery options compared: restart and prerequisites, troubleshooter, and system-file repair.

In Microsoft support documentation for troubleshooting Windows Update issues, error code 0x80070002 is listed with the cause: Update failed to install. The documentation outlines general troubleshooting procedures when updates fail to install on Windows 11 and Windows 10, including restarting the device, running the troubleshooter, checking prerequisites, and repairing system files.

Preliminary Checks and Restart

  • Restart the device: Save your work and close all open applications. Select Start > Power, and select either Update and restart or Update and shut down.
  • Verify power and connectivity: Verify that your device is plugged into a power source and connected to the internet. To check network status, select Start > Settings > Network & internet > Wi-Fi. If disconnected, reconnect to your network.
  • Confirm administrator access: Some updates require administrator access. Ensure your account has administrator privileges or have an administrator on the device install the updates.
  • Disconnect external hardware: Remove external storage devices, drives, docks, and other hardware not needed for basic functionality, then try running updates again.

Run the Windows Update Troubleshooter

On Windows 11, run the built-in troubleshooter using these documented steps:

  1. Select Start > Settings > System.
  2. Select Troubleshoot, then select Other troubleshooters.
  3. Locate Windows Update and select Run.
  4. Follow the on-screen instructions to complete the process.

Restore and Repair System Files

If updates continue to fail, repair system files using the Command Prompt:

  1. In the search box on the taskbar, type command prompt, then select Run as administrator from the list of options.
  2. In the Command Prompt window, type the following command exactly as shown, including spaces, and press Enter:
    DISM.exe /Online /Cleanup-image /Restorehealth
  3. When the operation completes successfully, Command Prompt displays:

    “The restore operation completed successfully.” or “The operation completed successfully.”

    Note: If you do not see a confirmation message, retype the command and try again.

  4. Next, type the following command, including the space as shown, and press Enter:
    sfc /scannow
  5. Wait until the scan verification reaches 100% completion, then close Command Prompt.
  6. Try running Windows Update again.

Research Method and Limitations

This article was prepared directly from public Microsoft support documentation excerpts on troubleshooting Windows update problems for Windows 11 and Windows 10. Material limitations apply: the source text is truncated, omitting surrounding context, detailed error mechanics, and post-step service management in cache-clearing sections. Because the provided excerpt cuts off immediately after stopping the Windows Update service and deleting files in C:\Windows\SoftwareDistribution without documenting how to restore or restart the service, the cache-clearing procedure is withheld from this guide to prevent incomplete system changes. Competing independent coverage was not available for comparison.

Comparison of documented troubleshooting steps included versus incomplete cache-clearing instructions withheld.

Text version of the diagrams

  • Windows Update Recovery Options: Restart & Check — Power, network, admin access; Run Troubleshooter — Built-in Windows Update tool; Repair System Files — DISM, then SFC
  • Complete Steps vs Missing Context: Included Steps — Complete documented instructions; Source Boundary — Excerpt stops mid-procedure; Withheld Cache Clear — Restart steps not documented

Source references

Related guides