FacebookTwitterLinkedIn

Fix Windows Update Error 0x80070002 and 0x80070003

How to Fix Windows Update Error 0x80070002 and 0x80070003

Windows Update is a free service for Windows. It is essential to keep Windows updated, primarily because of security updates that help stay protected online. However, the update process may fail due to errors such as 0x80070002 and 0x80070003. This article focuses on fixing these particular error codes.

error code: (0x80070003)

You may have encountered a Windows Update error code 0x80070002 or 0x80070003. This error usually occurs when Windows updates cannot be installed, when the installation process is in progress, or when updates are installed, but the process cannot be completed. The reason behind this problem remains unknown. However, one cause might be missing Windows Update files, even though the updates appear to have been downloaded and extracted.

Fortunately, there are several ways to resolve the issue with one or both error codes. You might need to run the Windows Update troubleshooter, check system files for corruptions, temporarily disable installed third-party antivirus software, delete SoftwareDistribution files, check time and date settings, and perform a clean boot to check that installed third-party software is not interfering with the Windows Update service.

The guide below thoroughly describes the various methods with screenshots.

Video Showing How to Fix Windows Update Error Codes 0x80070002 and 0x80070003

Table of Contents:

Run Windows Update Troubleshooter

First, try one of the Windows troubleshooters, which could solve the problem without needing more complex solutions. This guide shows how to run the Windows Update troubleshooter, which resolves issues that prevent you from updating Windows. You can find this troubleshooter using Windows settings Search. Go to Settings, type "troubleshoot" in the Windows Settings search bar, and click the "Troubleshoot" result.

run windows update troubleshooter step 1

Now find the Windows Update troubleshooter under "Troubleshoot" and select it. Click the "Run the troubleshooter" button. Windows will start resolving problems that prevent you from properly updating the Windows operating system.

Check if this troubleshooter can resolve the issues with Windows Update error code 0x80070002 or 0x80070003.

run windows update troubleshooter step 2

[Back to Table of Contents]

Download Servicing Stack Update

You can download the latest Servicing Stack Update, which must reliably install the latest features and quality updates. First, you need to determine the system type by going to Settings and clicking the "System" option.

download servicing stack update step 1

Scroll down through the left pane and find "About", which should be the last option on the list. Select it and check the system type next to the "System type" section. In our example, it is a 64-bit operating system, x64-based processor.

download servicing stack update step 2

Go to Microsoft Update Catalog and download the latest version of the Servicing Stack Update that matches your version of Windows.

Install it, restart your computer, and try to update Windows. Check if the Windows Update error code 0x80070002 or 0x80070003 is now fixed.

download servicing stack update step 3

[Back to Table of Contents]

Temporary Disable Installed Third-Party Antivirus

Installed antivirus software may be interfering with Windows Update and causing Windows Update error code 0x80070002 or 0x80070003. To ensure that the installed third-party antivirus software is not the source of the problem, we recommend that you try to temporarily disable this software (and its associated firewall). Then try to update Windows again and check if the problem persists.

If disabling (or uninstalling) your antivirus software solves the problem, we recommend that you switch to other antivirus software or reinstall the currently installed version. If you are not sure how to disable your antivirus software, read this guide in which you will find instructions on how to disable some of the most popular antivirus programs.

[Back to Table of Contents]

Run DISM and System File Checker

Deployment Image Servicing and Management (DISM) can repair and prepare Windows images, including the Windows Recovery Environment, Windows Setup, and Windows PE.

To run a DISM scan, open Command Prompt as administrator by typing "command prompt" in Search and right-click the "Command Prompt" result. Select the "Run as administrator" option from the contextual menu.

run dism and system file checker step 1

In Command Prompt, type the "DISM /Online /Cleanup-Image /RestoreHealth" command and press Enter. Once the DISM scan is complete, run the System File Checker. Run both DISM and SFC scans (not just one).

run dism and system file checker step 2

System File Checker is a Windows utility that allows users to scan for corruptions in Windows system files and restore corrupted files. This guide describes how to run the System File Checker tool (SFC.exe) to scan your system files and repair missing or corrupted ones. The "sfc scannow" option is one of several specific switches available with the SFC command.

To execute this command, type "sfc /scannow" in Command Prompt and press Enter. System File Checker will start and take some time to complete the scan. Wait for the scanning process to complete and then check if Windows Update error 0x80070002 or 0x80070003 persists when updating the Windows operating system.

run dism and system file checker step 3

[Back to Table of Contents]

Check Time and Date Settings

It is possible that Windows cannot be updated due to incorrect time and date settings on your Windows computer. To check these, go to Windows Settings and click on "Time & Language".

check time and date settings step 1

Select "Date & time" on the left pane and then make sure that the "Set time automatically" and "Set time zone automatically" options are both enabled. Try to disable and re-enable them by toggling the switch. Then click on "Add clock for different time zones".

check time and date settings step 2

Select the "Internet Time" tab and click the "Change settings..." button.

check time and date settings step 3

Make sure that the "Synchronize with an Internet time server" checkbox is ticked, and the server is "time.windows.com" or "time.nist.gov". Click the "Update now" button and try to update Windows.

check time and date settings step 4

[Back to Table of Contents]

Restart Windows Update Service and Rename SoftwareDistribution Folder

The 'SoftwareDistribution' folder is a temporary folder in which Windows stores the update files until they are completely downloaded. Windows then starts the update process. In this case, renaming the SoftwareDistribution folder might resolve the Windows Update error code 0x80070002 or 0x80070003 issue.

To rename the folder, you will need to stop the Windows Update service using a Command Prompt command, rename the folder, and then restart the service.

Open Command Prompt as administrator and type the "net stop wuauserv" command. Press Enter to execute it.

restart windows update service and rename softwaredistribution folder step 1

Type the "ren C:\Windows\SoftwareDistribution SoftwareDistribution.old" command and press Enter.

restart windows update service and rename softwaredistribution folder step 2

Type the "net start wuauserv" command and press Enter. Restart the computer and check if you still receive the Windows Update error code 0x80070002 or 0x80070003.

restart windows update service and rename softwaredistribution folder step 3

Alternatively, you can go to C:\Windows\SoftwareDistribution and delete all files and folders in the SoftwareDistribution folder. Stop the wuauserv service, delete SoftwareDistribution folder contents, and then restart the service. Restart the computer and try to update Windows.

[Back to Table of Contents]

Start Windows in a Clean Boot State

When you start Windows using a normal startup operation, several applications and services start automatically and then run in the background. These programs include basic system processes, antivirus software, system utility applications, and other previously installed software. These applications and services can cause software conflicts, resulting in the Windows Update error code 0x80070002 or 0x80070003.

A clean boot is performed to start Windows using a minimal set of drivers and startup programs. This helps eliminate software conflicts when you install a program or an update or run a program in Windows.

To perform a clean boot, type "system configuration" in Search and click on the "System Configuration" result.

start windows in a clean boot state step 1

In the System Configuration window, click on the "Services" tab and mark the "Hide all Microsoft services" checkbox. Then, click on "Disable all".

start windows in a clean boot state step 2

Click the "Startup" tab and click "Open Task Manager".

start windows in a clean boot state step 3

Under the Task Manager Startup tab, select all enabled applications one by one and click "Disable" for each. Once all programs are disabled, close Task Manager and click "OK" in the System Configuration Startup tab. Restart the computer and check if you can update Windows in a clean boot state.

start windows in a clean boot state step 4

We hope this guide was helpful and you were able to fix Windows Update error code 0x80070002 or 0x80070003.

If you know of other solutions to this problem not mentioned in our guide, please share them with us by commenting below.

[Back to Top]

▼ Show Discussion

About the author:

Rimvydas Iliavicius

Rimvydas is a researcher with over four years of experience in the cybersecurity industry. He attended Kaunas University of Technology and graduated with a Master's degree in Translation and Localization of Technical texts. His interests in computers and technology led him to become a versatile author in the IT industry. At PCrisk, he's responsible for writing in-depth how-to articles for Microsoft Windows. Contact Rimvydas Iliavicius.

Our guides are free. However, if you want to support us you can send us a donation.

About PCrisk

PCrisk is a cyber security portal, informing Internet users about the latest digital threats. Our content is provided by security experts and professional malware researchers. Read more about us.

Malware activity

Global malware activity level today:

Medium threat activity

Increased attack rate of infections detected within the last 24 hours.