Reasons why Error Code 0x80070002 occurs on Windows
- 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.
There are four cases when Windows users run into this error:
- Code 8007002: Windows Update encountered an unknown error.
- 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.
- Microsoft Security Client: An Error has occured in the program during initialization. If this problem continues, please contact your system administrator. Error code: 0x8007000.
- 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
Compatibility: Microsoft Windows
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:
- Open Windows Start menu and type troubleshoot in Windows search bar. Launch the matching result, which opens Settings > Troubleshoot window.
- Here, click on the Windows Update option. Then click on Run the troubleshooter button which appears on the screen.
- Now, follow the instructions the troubleshooter provides. Choose either Skip this fix or Apply this fix.
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.
- In Windows Start menu, use search to find Date & Time settings.
- 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.
- 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.
- Restart your PC before trying to update Windows.
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).
- Open the Command Prompt as Administrator – type cmd in Windows search, right-click it > Run as Administrator. Click Yes in UAC prompt.
- Now, type the given command and press Enter: DISM.exe /Online /Cleanup-image /Restorehealth
- Wait until the process is finished.
- Type sfc /scannow and hit Enter.
- 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.
4 Method. Delete corrupted Windows update files
- Press Windows key + R and type services.msc. Hit OK or Enter.
- Find a service called Windows Update. Right-click it and choose Stop option.
- 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.
- Finally, follow steps 1-2, but when you right-click on Windows update service, choose Start option.
- Restart your PC and see if 0x80070002 occurs when trying to install updates.
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.
- Launch Run prompt by pressing Windows key + R together.
- In Run, type diskmgmt.msc, press Enter.
- 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.
- If a pop-up asking to confirm appears, click Yes or OK.
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.
- In the taskbar, click on Windows icon.
- Then hit the Gear icon to open Settings.
- In Settings, click on Update & Security.
- On the left panel, choose Recovery.
- Here, scroll down to find Advanced Startup section. Click Restart Now under it.
- Wait until your computer restarts. Then go to Troubleshoot > Advanced Options > System Restore.
- 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
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.
- Boot into normal or Safe computer mode. Now, open Run prompt (Windows key+R) and type regedit into it.
- Press OK in User Account Control pop-up.
- 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.
- Once in OSUpgrade folder, right-click on the right panel and select New. Choose DWORD (32-bit) value.
- Rename the key: Right-click the default New Value #1 and click Rename. Type AllowOSUpgrade and press Enter.
- Right-click the key and choose Modify. Now, set its value data to 1, and base Hexadecimal. Click OK to save.
- 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:
- 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.
- 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
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.
- Press Windows key+R at the same time to open Run prompt. Type services.msc and press OK.
- Find Windows Update and right-click it to select Properties.
- In Properties, select Startup type: Automatic (Delayed Start).
- Click Apply and OK.
- 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:
- Search for CMD, then right-click it and Run As Administrator. Click Yes in UAC.
- In CMD with admin’s privileges type sfc /scannow and press Enter.
- 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 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.
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!
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.