Skip to content

Wiresoft · Wiresoft Canada Inc.

Reading display

Your display preferences are saved on this device. Resetting removes the saved selection.

Operating Systems

Windows Error 0x80070002 - Here's How to Fix It!

Windows errors are often very complex and difficult to fix. We'll show you how to fix Windows error 0x80070002!

By Wiresoft Editorial Team

Published
Content reviewed

Listen to this article

Start reading aloud with a voice from your device. Changing the voice, speed or section stops playback; you can then start again.

Read-aloud settings

Checking available voices.

Overview

One of the most common errors you'll see in Microsoft Windows is the error with code 0x80070002. Regardless of the situation in which the error occurs, it’s usually triggered by a Windows Update. That’s why it’s often difficult for inexperienced Windows 10 users to fix the error—but we’ll show you how to do it anyway in our tutorial here.

Check the date and time

That may sound very trivial, but often all you need to do is correct the date setting. If the time and date in the operating system don't match those in the firmware, Windows may display this error code or cause problems with Windows Update.

To rule out this cause of error 0x80070002, press the Windows+S key combination and type “Control Panel” in the search bar. In this window, click “Time and Region” and then “Set date and time.” A new window will open with the option “Change date and time”—the small icon on the button indicates that you need administrator rights for this setting. Our tutorial shows you how to activate your administrator account.

Now you can set the correct time and date and confirm by clicking "OK." You should now be able to install the Windows Update.

Delete Corrupted Update Files

Sometimes Windows Update files are corrupted or were installed incorrectly. In that case, you can try uninstalling the latest Windows 10 update.

To do this, open the Start menu either by clicking the Windows icon in the lower-left corner or by pressing the Windows key. From there, locate the "Windows Administrative Tools" folder and then select "Services."

A window with a list will open; right-click on “Windows Update” in the list and select “Exit” from the drop-down menu. Next, open Windows Explorer and navigate to the folder C:\Windows\SoftwareDistribution\DateStore. In this folder, delete all files and subfolders. Do the same in the folder “C:\Windows\SoftwareDistribution\Download.”

Now you can go back to the "Services" window and right-click "Windows Update" again. This time, select "Start" from the drop-down menu, and Windows will try to run the update again.

In most cases, error 0x80070002 should now be resolved. If not, you can try setting the correct partition as active.

Your primary partition is not active

If your computer still displays error code 0x80070002 after reinstalling the Windows update, it's possible that the wrong partition is set as active.

To do this, go back to the "Windows Administrative Tools" folder in the Start menu. Right-click the "Computer Management" menu item, and in the drop-down menu, select "More" and then "Run as administrator."

On the left side of the window that opens, click "Disk Management," and then right-click the "OS (C:)" entry on the right side. Now select the option “Mark partition as active.” After that, you can close the window and run Windows Update again.

Resolve Windows Error 0x80070002 Using the Troubleshooter

Use the Windows+S keyboard shortcut to search for "Troubleshooting settings." Here you'll find the "Windows Update" option with the "Run troubleshooter" button.

This tool automatically checks for any issues with Windows Update and provides instructions if one is found.

Quick Guide: Correcting the Date and Time

  1. Open the "Date and Time" menu in Control Panel
  2. Set the correct time and date under "Set Date and Time"

Quick Guide: Deleting Windows Update Files

  1. Open "Services" from the "Windows Administrative Tools" folder in the Start menu
  2. You can close "Windows Update" by right-clicking on it
  3. Delete all files and subfolders in the "C:\Windows\SoftwareDistribution\DataStore" and "C:\Windows\SoftwareDistribution\Download" folders.
  4. In the "Services" window, you can restart Windows Updates

Quick Guide: Setting the Primary Partition as Active

  1. Run "Computer Management" in the "Windows Administrative Tools" folder in the Start menu as an administrator
  2. Set the partition where you installed your operating system (usually C:) as the active partition
  3. Reinstall the latest Windows Update

About the authors

Wiresoft Editorial Team

The Wiresoft editorial team explains software, licenses, and how to use Windows, Office, and servers in a clear and practical way. The articles are based on questions that customers ask Wiresoft in their day-to-day lives.

Sources and further reading

Matching productsOperating systems

More on this topic

KEEP THE CONVERSATION GOING

Comments on this article

Reviewed comments and replies from the editorial team.

Comment on this article

There are no currently approved comments on this page yet.

YOUR SELECTION

Your basket