0x80070002 error occurs due on different intervals outlined below:
- Downloading updates using Windows Update tool
- Downloading an app through Windows Store
- Using Windows Backup and Restore feature
Download the Diagnostic
There are certain situations when missing entries in your registry and registry corruption causes this problem. Try running a registry scan to identify if there are any such issues.
- Click the button below to download and install the Diagnostic
- Perform a Registry scan and fix any problems detected.
- Restart your computer.

Estimated Download Time: 10 Seconds
Use Windows Update Troubleshooter
The troubleshooting wizard automatically detects and repairs problems about installation of Windows updates.
1. Press Windows Key + X; choose Control Panel.
2. Click System and Security | Security and Maintenance.
3. Click “Troubleshooting” icon.
4. In the Troubleshooting page in Control Panel window, click System and Security | Windows Update.
5. The wizard shall open on your screen. Click “Advanced” link.
6. Click “Run as administrator” so that it would exit and re-open.
7. Click Next, follow the on-screen instructions.
Delete Software Distribution Files
Clear up directory containing temporarily downloaded Windows Update files. The folder contents may be corrupted resulting in failure in retrieving required data.
1. In the Search Box, type “services.msc” and open that keyword.
2. Now you have a list of all services — running and stopped.
3. Scroll down the list; right click “Windows Update” service and choose Stop option.
4. Double click This PC Desktop icon.
5. Delete all contents from following directories:
- C:\Windows\SoftwareDistribution\DataStore\
- C:\Windows\SoftwareDistribution\Download\
6. Exit File Explorer.
7. Re-open the Services tool. Restart the “Windows Update” service. (Right click > Start)
Delete MSC Registry Key
A startup entry named MSC refers to an application/ module that doesn’t work correctly, ultimately resulting in 0x80070002 error.
1. Use “RegEdit” in Run dialog to open the Registry Editor tool.
2. Locate the following subkey:
- HKEY_LOCAL_MACHINE | SOFTWARE | Microsoft | Windows | CurrentVersion | Run
3. Find the “MSC” string from the right-hand side panel.
4. Right click that; choose Delete and confirm it.
5. Close the tool; restart your system.
Change AllowOSUpgrade Value
There’s a DWORD (32 Bit) named AllowOSUpgrade into Windows Update registry entries. Change its value as specified below:
1. Open Registry Editor.
2. Locate below subkey:
- HKEY_LOCAL_MACHINE | SOFTWARE | Microsoft | Windows | CurrentVersion | WindowsUpdate | OSUpgrade
3. Double click “AllowOSUpgrade” DWORD (32 bit) and replace its value with “0x00000001” (without quotes).
4. Click OK, exit and restart.