How to Fix 0x80070002 Error Code in Windows 10

Many users have reported that they face Error 0x80070002 while installing the latest Windows 10 system and security updates. Windows 7 users are also facing the same issue. The windows update 0x80070002 is a common error and easy to solve as compared to other update errors. Also, the issue is very common if you have used Windows 10 Update Assistant to download and install new updates. Windows 10 Update Assistant allows users to install every pending update automatically, but sometimes it causes an error like 0x80070002 the system cannot find the file specified. Not only Windows 10, but Windows 7 users are facing the same issue.

Why Do I Get a 0x80070002 error code?

This Windows update error is caused by a damaged app installed on your computer or a corrupt system update. Also, some users have commented that their antivirus is blocking Windows 10 update service. The same reason causes the 0x80070057 and 0x80070005 error codes. A missing or corrupted registry file can also cause this error. There are other reasons why this error happens, like an incomplete Windows installation or a Windows update service has stopped.

Fix 0x80070002 Error Code in Windows 10

This article will help you to fix the 0x80070002 Windows 10 update error.

Method 1: Check for Pending Restarts in Start Menu

After installing each Windows update, you have to restart your system so that your system will adopt new changes made by the new update. Now if there is a pending restart left then it can cause errors like this.

When Windows Update finds that there are problems with the latest updates, it will show an error and you will not be able to complete the installation process. So before trying any solution, first restart your system when you see the 0x80070002 error code.

Method 2: Check date and time settings

If your computer time is wrong then you can face errors like this because Windows 10 required the correct time to download and install new updates.

This may sound funny as a solution but it does work for many users. So check your system time and make sure that it is synchronized with the internet time.

You can set the correct time and date using the command prompt. Follow these steps:

Step 1: Type cmd in the start menu > right-click on Command Prompt and then choose Run as Administrator.

Step 2: Now run these commands and press enter after each command.

time

date

w32tm/resync

net time /domain

Step 3: If the time is still incorrect, then follow another method mentioned below.

Many users are facing errors while changing the date and time with the command prompt. In this case, you can follow the manual approach.

Set Time and Timezone Manually

Here are the steps to change time and date manually in Windows 10.

Step 1: Right-click on the time widget in the taskbar and then click on adjust date/time.

Step 2: Make sure that “Set time automatically ” and “Set timezone automatically” options are enabled. This will sync your timezone and time with the internet timezone and time.

Step 3: Also click on the Sync button to synchronize your clock with the world.

Step 4: If automatic sync is not working for you then you can set your time and timezone manually. Just click in set time manually.

Step 5: Set the current time and date. Then save settings.

Step 6: Restart your computer and try installing new updates.

Method 3: Use Windows Update troubleshooter

The second step in fixing Windows Update error 0x80070002 is to scan your entire system with a Windows update troubleshooter. Windows Troubleshooter is a built-in tool, released by Microsoft to fix various issues related to Windows updates, driers, and networks. The tool is advanced and capable of solving issues like error code 0x80070002, blue screen of death, DNS error, and so on. A Windows Update troubleshooter is a tool that is designed to be able to help you resolve some of the more common problems that occur while updating Windows. You don’t need to download anything as it comes with Windows 10 itself.

To use Windows Troubleshooter, follow these steps:

Step 1: Search for troubleshooter in the start menu and then click on “Troubleshoot Setting“.

Step 2: Now you have to click on “Additional troubleshooter” to access advanced troubleshoot settings.

Step 3: Here you have to click on Windows Update in the Get up and running section and then click on Run the troubleshooter.

Step 4: It will start scanning your system for any pending restart or missing files. After you have begun the scanning process, it will show you a list of errors that it has found. If it can’t find the problem then move to the next solution.

Step 5: Follow the steps mentioned in the result to fix the issue.

Step 6: After you have repaired all of the errors, you should reboot your computer. This will refresh your system memory and temporary files on system. Then try to install new updates. It should work now.

Method 4: Set Windows Update to Automatic

The best way to avoid having Windows Update is to allow your computer to download the updates automatically by using the Windows Update service. This will ensure that Windows will only install the updates it needs from the correct locations. You can enable automatic updates using Windows services. Here are the steps:

Step 1: Open the start menu and then search for the control panel.

Step 2: Click on the control panel to open it.

Step 3: Now go to the search bar in the control panel and then type “Administrative Tools“.

Step 4: Now find Services and open it.

Step 5: In the Windows services, find “Windows Update service“.

Step 6: Right-click on it and go to Properties.

Step 7: Change the startup type to “Automatic” and then Apply changes.

Now your system will keep checking the new updates automatically and install them whenever it find any pending update.

Method 5: Restart Windows Update Service

You can easily fix this issue by restarting Windows update services. When you restart the update service, it will refresh the windows update package and fix the issue related to any network error. Follow these steps:

Step 1: Follow the same steps as mentioned in method 3 till step 6.

Step 2: In properties, click on the Stop button to stop the Windows update service. This will shut down your Windows update and also kill the services related to it.

Step 3: Now click on the start button to again start the update service.

Step 4: Click on Apply to save changes.

Restarting the update service will definitely fix 0x80070002 sccm error on your Windows 10.

Method 6: Delete the Software Distribution Folder

Software Distribution Folder is used to store Windows update files temporarily and it is required by the Windows Update service to download new updates. Removing the Software Distribution Folder will refresh update files and solve the issue.

Step 1: Open your system installation drive. In my case, it is a C drive.

Step 2: Now go to the Windows directory and then go to SoftwareDistribution.

Step 3: Now select the folder and delete it. Enter admin password if aksed. You can also rename the folder if you don’t want to delete it. Renaming the folder will also do the same.

Step 4: Restart your computer and check for Windows updates.

Method 7: Modify Registry

Changing the Windows registry file can fix the issue. Make sure that you logged in as an administrator to edit the registry.

Step 1: Open the start menu and search for “Run,” or you can directly press the Win + R button on your keyboard to open the Run utility tool.

Step 2: Now, in the Run command box, type “regedit” and press enter. This command will open the Windows registry editor.

Step 3: Now navigate to this location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade

(If you can’t find the OSUpgrade key then create a new one. Right-click on WindowsUdpate > New > Key > rename it to OSUpgrade)

Step 4: Select OSUpgrade key > right-click in the blank area on the right size > click New > DWORD (32-bit) Value > name it to AllowOSUpgrade.

Step 5: Now again, right-click on the newly created value > select Modify.

Step 6: Double-click the number and change the value to 1 from 0.

Step 7: Select Hexadecimal >then click on OK.

Step 8: Restart the computer to apply changes.

 Related Posts:

Conclusion

We hope the error is fixed now. If you are still getting the same 0x80070002 error code even after following the above solutions then you can use the system restore option. It will restore all your system settings and fix the issue. Also, you can reset your Windows 10.

Comment below if you need any help regarding this topic.

Default image
Rahul Patel

Rahul is a blogger and a tech geek. By reviewing the latest technology and finding the solution of pesky errors, he feels immense pleasure. Driven by his innate interest in blogging, he adapted blogging as a full-time profession 4 years ago.

Articles: 106