How to Fix Windows Update 0x80070012 on Windows

This guide provides step-by-step instructions to resolve Windows Update error 0x80070012 on Windows 10, covering troubleshooting, network checks, and system file repairs.

Bertie Atkinson

Windows Update error 0x80070012 is a common issue that can prevent your Windows 10 system from downloading and installing updates. This error typically occurs when the system encounters a problem with update files or network connectivity.

Run the Windows Update Troubleshooter

The first step in resolving error 0x80070012 is to run the built-in Windows Update Troubleshooter. This tool is designed to automatically detect and fix common issues related to Windows Update. To use it, follow these steps:

  • Open the Settings app by pressing Win + I.
  • Navigate to Update & Security > Troubleshoot > Additional troubleshooters.
  • Select Windows Update and click Run the troubleshooter.
  • Follow the on-screen instructions to complete the process.

If the troubleshooter identifies any issues, it will attempt to fix them automatically. Restart your computer after the process is complete and check if the error persists.

Check Your Network Connection

A stable internet connection is essential for Windows Update to function properly. If your network connection is unstable or interrupted, it can trigger error 0x80070012. To ensure your connection is stable:

  • Restart your router or modem to refresh the connection.
  • Disable any VPN or proxy services that might interfere with the update process.
  • Test your connection by visiting other websites or using online tools to check for latency or packet loss.

If you suspect network issues, consider switching to a wired connection for a more stable experience during the update process.

Clear the Windows Update Cache

Corrupted or outdated files in the Windows Update cache can also cause error 0x80070012. Clearing the cache can resolve this issue. Follow these steps:

  • Open the Command Prompt as an administrator by searching for cmd in the Start menu, right-clicking, and selecting Run as administrator.
  • Enter the following commands one by one, pressing Enter after each:
    • net stop wuauserv
    • net stop bits
    • ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    • net start wuauserv
    • net start bits

This process stops the Windows Update service, renames the cache folder, and restarts the service. After completing these steps, attempt to run Windows Update again.

Repair System Files with SFC and DISM

Corrupted system files can also lead to error 0x80070012. Windows provides two built-in tools to repair these files: System File Checker (SFC) and Deployment Imaging Service and Management Tool (DISM). To use these tools:

  • Open Command Prompt as an administrator.
  • Run the following command to initiate SFC: sfc /scannow.
  • Wait for the scan to complete. If issues are found, SFC will attempt to repair them.
  • Next, run the following DISM commands:
    • DISM /Online /Cleanup-Image /CheckHealth
    • DISM /Online /Cleanup-Image /ScanHealth
    • DISM /Online /Cleanup-Image /RestoreHealth

These tools scan and repair system files, ensuring your system is in optimal condition for updates.

Reset Windows Update Components

If the above steps do not resolve the issue, resetting Windows Update components may help. This process involves stopping related services, clearing cache files, and restarting the services. Follow these steps:

  • Open Command Prompt as an administrator.
  • Run the following commands one by one:
    • net stop wuauserv
    • net stop bits
    • net stop cryptSvc
    • net stop msiserver
    • ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    • ren C:\Windows\System32\catroot2 catroot2.old
    • net start wuauserv
    • net start bits
    • net start cryptSvc
    • net start msiserver

After completing these steps, restart your computer and attempt to run Windows Update again.

Perform a Clean Boot

Third-party applications or services can sometimes interfere with Windows Update. Performing a clean boot can help identify and resolve such conflicts. Here’s how:

  • Press Win + R, type msconfig, and press Enter.
  • In the System Configuration window, go to the Services tab and check Hide all Microsoft services.
  • Click Disable all.
  • Next, go to the Startup tab and open Task Manager.
  • Disable all startup items.
  • Restart your computer and attempt to run Windows Update.

If the update succeeds, re-enable services and startup items one by one to identify the culprit.

Share This Article