• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Geek's Advice

IT News, Software Reviews, How To's & Computer Help

  • News
  • Reviews
  • Removal guides
  • Fix
  • Tutorials
  • Forum
  • ASK A GEEK

Fix Error Code 0x80070002 on Windows (2022 Guide)

September 21, 2019 By Norbert Webb 3 Comments

Reasons why Error Code 0x80070002 occurs on Windows

Contents

  • Reasons why Error Code 0x80070002 occurs on Windows
  • Fix Error Code: 0x80070002 on Windows 10, 8, 7,Vista, XP
    • 1 Scenario: Error occurs when searching for Windows updates
    • 1 Method. Use Windows Update Troubleshooter
    • 2 Method. Check if Date & Time settings are correct
    • 3 Method. Sfc /Scannow
    • 4 Method. Delete corrupted Windows update files
    • 5 Method. Set Primary Partition Active
    • 6 Method. System Restore
    • 2 Scenario: Fix Something Happened: 0X80070002 – 0X20016 Error
    • 3 Scenario: Fixing 0x80070002 – 0xA001A error
    • Fix Microsoft Security Client Error Code: 0x8007002
    • Fix 0x80070002 Error when installing/uninstalling programs

Error code: 0x80070002 is a Windows error that informs about issues when updating Windows. Users typically run into it when searching for new updates, using Windows 10 Setup or after updating the operating system (Microsoft Security Client). Some users encounter it when installing new programs. In this article, we’ll analyze each case and provide possible solutions to fix the error.

When dealing with this issue, people find it impossible to install updates, a new operating system version, or a software on the computer. In other scenario, the update might go through, but the error can occur when attempting to launch particular programs, such as Adobe Acrobat, GTA, Far Cry, Steam and other popular ones.

Fix Error Code 0x80070002 on Windows
Fixing Windows Error Code 80070002 is easy.

There are four cases when Windows users run into this error:

  1. Code 8007002: Windows Update encountered an unknown error.
  2. Something happened: 0x8007000 – 0x20016 error or 0x80070002 – 0xA001A error. Typically occurs when installing Windows 10 with Microsoft Media Creation Tool on Windows 7, 8 or 8.1.
  3. Microsoft Security Client: An Error has occured in the program during initialization. If this problem continues, please contact your system administrator. Error code: 0x8007000.
  4. The system cannot find the file specified: Error code 0x80070002.

Luckily, the error is not that serious, and anyone can learn how to fix 80070002 on Windows 10/8/7 by following steps prepared by our experts.

Many users have faced this error after KB4338822, KB4462919, KB4464218, KB4462919, and KB4483234. The installation might fail and be reversed, or the computer might get rebooted.

In other words, it doesn’t matter how hard you try to install the update, and it just wouldn’t work out. However, there are some useful techniques that you should follow carefully. If you do so, the issue will be resolved, and you won’t encounter Error code: 80070002 or 80070002 on Windows when attempting to install updates.

FIX IT NOW

DOWNLOAD AND SCAN NOW

Compatibility: Microsoft Windows
Read Review

Fix PC errors, repair virus damage and identify hardware/stability issues using RESTORO – a unique PC Repair tool using a patented technology to replace damaged or missing Windows system files, which often are the real cause of annoying Windows errors. Try the FREE scan option to search for stability, security and hardware-related issues. To fix identified problems and receive hardware-related recommendations, you have to purchase the license key for the full software version.

Fix Error Code: 0x80070002 on Windows 10, 8, 7,Vista, XP

1 Scenario: Error occurs when searching for Windows updates

If you run into the described error because “Windows could not search for new updates,” or “Feature update to Windows 10, version 1803 – Error 0x80070002” try methods listed below.

1 Method. Use Windows Update Troubleshooter

Troubleshooters are fun because they can look for the cause of the problem and bring it up to you. Although they do not always work wonders, we find them quite useful and time-saving. Here’s how the troubleshooter can help you to fix 80070002 or 80070003:

  1.  Open Windows Start menu and type troubleshoot in Windows search bar. Launch the matching result, which opens Settings > Troubleshoot window.
  2. Here, click on the Windows Update option. Then click on Run the troubleshooter button which appears on the screen.
  3. Now, follow the instructions the troubleshooter provides. Choose either Skip this fix or Apply this fix.Run Windows Update Troubleshooter to fix error code 0x80070002

2 Method. Check if Date & Time settings are correct

Experts know that many Windows errors, including 0x80070002 and 0x80070003, can be caused by incorrect Date & Time settings. Although it seems there is no connection between these errors and time settings, believe us, there is. Windows update service can’t function properly if time settings are off, so make sure you fix this issue.

  1. In Windows Start menu, use search to find Date & Time settings.
  2. First of all, check if the Set Time and Time Zone automatically options are toggled on. With these options toggled on, your computer should pick and set the correct time automatically. If it doesn’t, you will have to select the time zone and set the time manually. Instructions on how to do it are provided in the next step.
  3. To control these settings manually, turn off Select time automatically & Set time zone automatically options. Then click Change button below Change date and time. Here, set the correct time and click Change again.
  4. Restart your PC before trying to update Windows.
    Modify date and time settings manually

3 Method. Sfc /Scannow

It is yet another easy method that may fix Error 0x80070002 Windows 10 update for you. All it takes is to perform two simple commands using the Command Prompt (Admin).

  1. Open the Command Prompt as Administrator – type cmd  in Windows search, right-click it > Run as Administrator. Click Yes in UAC prompt.
  2. Now, type the given command and press Enter: DISM.exe /Online /Cleanup-image /Restorehealth
  3. Wait until the process is finished.
  4. Type sfc /scannow and hit Enter.
  5. Wait until the process is finished. If it says that the procedure finished successfully, restart your PC and try to install the update. If it says that some files were corrupted and could not be repaired, you will need to delete them manually. Follow instructions in Method 4 to do it.
    Functions that help to fix corrupted Windows update files

4 Method. Delete corrupted Windows update files

  1. Press Windows key + R and type services.msc. Hit OK or Enter.
  2. Find a service called Windows Update. Right-click it and choose Stop option.
  3. Now, you will need to delete the SoftwareDistribution folder, which is located in C:\Windows. Right-click the SoftwareDistribution folder and Delete it. If you do not want to delete it, you can Rename it, for instance, to SoftwareDistributionX.
  4. Finally, follow steps 1-2, but when you right-click on Windows update service, choose Start option.
  5. Restart your PC and see if 0x80070002 occurs when trying to install updates.
    Deleting SoftwareDistribution folder in Windows

5 Method. Set Primary Partition Active

Error Code 0x80070002 can occur if your Windows OS is installed on inactive partition. That is to say, you need to activate it or repartition hard drive (which we do not suggest, as it wipes everything off your computer). Therefore, we will stick with the first option and make the current system partition active. Here’s what you need to do.

  1. Launch Run prompt by pressing Windows key + R together.
  2. In Run, type diskmgmt.msc, press Enter.
  3. In Disk Management, drag the right line of the Status column to expand it. Now, look which partition is marked as Primary Partition. Right-click this partition as click Make Partition As Active.
  4. If a pop-up asking to confirm appears, click Yes or OK.
    change primary partition to active

6 Method. System Restore

You can use System Restore to fix 0x80070002 on Windows 10 and other versions. System Restore basically restores your Windows computer system settings back to previous state. Typically, Win10 operating system creates a backup BEFORE installing an update, so even if you haven’t created a backup manually, you should find one to use.

TIP. Try to choose a backup prior to changes to system settings you or someone else have made and can’t determine what caused the discussed error.

  1. In the taskbar, click on Windows icon.
  2. Then hit the Gear icon to open Settings.
    open windows settings
  3. In Settings, click on Update & Security.
  4. On the left panel, choose Recovery.
  5. Here, scroll down to find Advanced Startup section. Click Restart Now under it.advanced startup restart now
  6. Wait until your computer restarts. Then go to Troubleshoot > Advanced Options > System Restore.
  7. Here, choose a restore point and click Next. Follow instructions and restore a previous version.

NOTE. System restore rolls back all your system and hardware changes. It DOES NOT delete your personal files. In addition, we suggest restoring from most recent backups, moving to older ones, since older ones tend to fail sometimes.

2 Scenario: Fix Something Happened: 0X80070002 – 0X20016 Error

fix something happened 0x80070002 - 0x20016
The error might occur when installing Windows from bootable USB device.

Error Code: 0x80070002 – 0x20016 on Windows 10 often occurs when running a Microsoft Media Creation tool. This tool typically allows creating Win 10 installation USB drive or .ISO file, which can later be used to install Windows OS on another PC.

If you ran into 0x80070002 – 0x20016 error when installing Windows 10 on your computer using Media Creation Tool, you need to solve the issue via Windows Registry Editor. Here’s what needs to be done. 

  1. Boot into normal or Safe computer mode. Now, open Run prompt (Windows key+R) and type regedit into it.
  2. Press OK in User Account Control pop-up.
  3. Expand folders on the left in the given order:
    HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows / CurrentVersion / WindowsUpdate / OSUpgrade.
    TIP: 
    If you can’t find OSUpgrade folder, then right-click WindowsUpdate folder and click New>Key and name it OSUpgrade.
  4. Once in OSUpgrade folder, right-click on the right panel and select New. Choose DWORD (32-bit) value.
    create osupgrade value
  5. Rename the key: Right-click the default New Value #1 and click Rename. Type AllowOSUpgrade and press Enter.
  6. Right-click the key and choose Modify. Now, set its value data to 1, and base Hexadecimal. Click OK to save.
    edit allowOSUpgrade key to fix 0x80070002 - 0x20016
  7. Try updating Windows.

Additional tips that may help in this scenario:

  • Run Windows Media Creation Tool as administrator. Simply right-click the file and choose Run as Administrator.
  • Set your computer’s primary language English (United States). You can change this setting later, after installing Windows.
  • Temporarily disable Windows firewall or security programs present on your computer. You can activate them after installation of the Windows 10 update.

3 Scenario: Fixing 0x80070002 – 0xA001A error

Error Code 0x80070002 – 0xA001A is related to the USB device used to create Bootable USB with the Media Creation Tool. Possible reasons for the error message to appear:

  1. Some files were corrupted or were deleted while creating the media creation tool. In such situation, you should restart your PC, and try to create a bootable USB again.
  2. Your USB might not be recognized by the Media Creation Tool. In such situation, you should open Device Manager and see if your USB is shown in the Universal Serial Bus controllers list. If it is not, try connecting your USB to another port (2.0) or just use another USB drive.

Fix Microsoft Security Client Error Code: 0x8007002

Microsoft Security Client Error 0x80070002
Microsoft Security Client window with the error code.

If you recently installed an update and now you receive Microsoft Security Client error code 0x80070002 at logon, you need to perform a little fix using WinRegistry. Please be careful while in Windows Registry, otherwise you can mess up your operating system strongly.

  1. Press Windows key+R at the same time to open Run prompt. Type services.msc and press OK.
  2. Find Windows Update and right-click it to select Properties.
    open windows update properties
  3. In Properties, select Startup type: Automatic (Delayed Start).
  4. Click Apply and OK.
    set automatic delayed start for windows update service
  5. Close the Services window by clicking X in the right corner.

Fix 0x80070002 Error when installing/uninstalling programs

In this scenario, people run into this problem when installing or uninstalling various programs such as Adobe or games like Far Cry 3/4/5. If you are running into this error, we suggest running system file checker first to find out if the problem is related to Windows system files:

  1. Search for CMD, then right-click it and Run As Administrator. Click Yes in UAC.
    search and open cmd as admin
  2. In CMD with admin’s privileges type sfc /scannow and press Enter.
    running sfc scannow command
  3. Wait until the process is finished and try installing or uninstalled your selected program again.

If this didn’t help and you are trying to install a program, remove all of its files and try to choose another download source, ideally, then official distributor’s website.

If you are trying to uninstall a program, remove its components manually (only for advanced users!). Otherwise, try to uninstall with administrator’s privileges.

We hope one of the provided methods helped you to solve this annoying Windows problem. Even better, maybe you have found another method or workaround to fix Error Code: 0x80070002? If so, don’t forget to share it in the comments section to help others!

This article has been published on February 4, 2019, and updated on September 21, 2019.

norbert webb author at geeksadvice.com
Norbert Webb

Norbert Webb is the head of Geek’s Advice team. He is the chief editor of the website who controls the quality of content published. The man also loves reading cybersecurity news, testing new software and sharing his insights on them. Norbert says that following his passion for information technology was one of the best decisions he has ever made. “I don’t feel like working while I’m doing something I love.” However, the geek has other interests, such as snowboarding and traveling.

Filed Under: Fix Tagged With: Error Code 0x80070002

Reader Interactions

Comments

  1. Wellington says

    September 9, 2020 at 2:10 am

    thank you. I’ve been trying to solve this bug for a long time and the 5 Method Set Primary Partition Active worked. no one from the microsoft community was quoted this tip!

    Reply
  2. Brad says

    January 16, 2020 at 8:04 pm

    This is a question about Windows 7:
    Hi Norbert, Since you are so knowledgeable on broken Windows Services, maybe you could help me with The Windows Software Protection Service error. When you go to services.msc & try to start it yourself a box pops up saying “Error 2 The system cannot find the Service”. But I have gone to System32 and found the file file sppsvc.exe and verified that it is there. I also have taken ownership of sppsvc.exe and I clicked it trying to start it manually. But in doing so I got the same error of “Error 2 The system cannot find the Service”. which is insane b/c I am clicking the file & it is where it belongs.

    Here is what might have gone wrong, I saw on another blog that some registry cleaners are known to mistakenly delete the registry entries for the Software Protection Service and I am thinking that if they were copied out a a good working system and and a clickable registry merge file was made, that it could fix this problem. This is not an obscure problem & there are lots of google results about restarting the Software Protection Service but when it is broken, it cannot be restarted and none of the search results tell how to fix it successfully

    Thanks so much if you can help me.
    Brad

    Reply
  3. ok says

    October 14, 2019 at 3:00 am

    ok

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

SEARCH OUR SITE

Trending

decrypt files locked by stop djvu ransomware virus

Decrypt Files Locked by STOP/DJVU Ransomware (Updated 2022 Guide)

You can decrypt or repair files encrypted by … [Read More...] about Decrypt Files Locked by STOP/DJVU Ransomware (Updated 2022 Guide)

Remove STOP/DJVU Ransomware Virus (2022 Guide)

STOP/DJVU ransomware attacks continue in 2022: new … [Read More...] about Remove STOP/DJVU Ransomware Virus (2022 Guide)

Remove Segurazo Antivirus (SAntivirus Removal Guide 2021)

Segurazo review: is it a virus? Segurazo … [Read More...] about Remove Segurazo Antivirus (SAntivirus Removal Guide 2021)

easy ways to fix dns_probe_finished_nxdomain error on windows, mac, android, chromebook

Fix DNS_PROBE_FINISHED_NXDOMAIN Error (Windows, Mac, Android, Chromebook)

DNS_PROBE_FINISHED_NXDOMAIN error … [Read More...] about Fix DNS_PROBE_FINISHED_NXDOMAIN Error (Windows, Mac, Android, Chromebook)

POPULAR SOFTWARE REVIEWS

Private Internet Access Review

Private Internet Access Review 2022: Fast, Secure & Cheap VPN

Private Internet Access (PIA) VPN maintains its long-term role as a leader Private Internet … [Read More...] about Private Internet Access Review 2022: Fast, Secure & Cheap VPN

intego antivirus for windows review 2021

INTEGO ANTIVIRUS for Windows Review 2022: Strong rival to existing security products

Intego Antivirus for Windows: exceptional security for your PC INTEGO ANTIVIRUS for Windows is … [Read More...] about INTEGO ANTIVIRUS for Windows Review 2022: Strong rival to existing security products

INTEGO antivirus review for Mac 2021

Intego Antivirus Review: Best Mac Antivirus in 2022?

Intego Antivirus for Mac is probably the best security choice for OS X Intego Antivirus for Mac … [Read More...] about Intego Antivirus Review: Best Mac Antivirus in 2022?

OUR EXPERTS RECOMMEND

Comprehensive PC Repair Software

geek's advice recommends restoro pc repair as editors choice
DOWNLOAD NOW
  • Uses Avira engine to remove malware
  • Repairs Virus Damage
  • Fixes Windows Errors & BSOD
  • Replaces Damaged DLLs
  • Repairs Damaged Windows Settings
  • Identifies Hardware Problems

Compatible with Microsoft Windows.

Read Full Review

Robust Mac Antivirus

geek's advice recommends intego antivirus as editors choice
GET INTEGO
  • 24/7 real-time protection
  • Intelligent firewall
  • Scans emails for malware
  • Scans iOS devices & external drives
  • Excellent malware detection rate
  • Easy-to-use

Compatible with Mac OS X 10.9-11.

Read Full Review

Copyright © 2022 Geeksadvice.com. Any unauthorized copying, redistribution or reproduction of part or all of the site contents in any form is prohibited.

About Us · Terms of Use · Privacy Policy · Contact Us

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok