2022 年 1 月 17 日

如何修复错误 0x80070002 Windows 10

Did you come across any errors while downloading Windows 10 update? This is a fairly common problem in Windows 7 also. Today, we will fix update error 0x80070002 on Windows 10 with the help of tried and tested methods. Error Code 0x80070002 Windows 7 & 10 occurs especially when the Windows update file goes missing from the database or the said file on the device mismatches with the database instructions. The following messages may appear on your screen if your face this error:

  • Windows could not search for new updates.
  • An error occurred while checking for new updates for your PC.
  • Error(s) found: code 80070002.
  • Windows Update encountered an unknown error. Error code 0x80070002

How To Fix Error 0x80070002 Windows 10

How To Fix Error 0x80070002 Windows 10

Here are the root causes for 0x80070002 error:

  • 有故障的驱动程序
  • 失踪 Windows更新
  • Issues with Windows update
  • Corrupt applications

There are other error codes such as 80244001, 80244022, and a few more, indicating Windows update issue. The said code may vary, but the solutions to resolve it are almost identical. Follow any of the methods listed below to fix this issue.

方法 1:运行 Windows 更新疑难解答

Windows offers an in-built troubleshooter to rectify minor issues. It is advisable to run the Windows troubleshooter first to fix Windows 10 update error code 0x80070002 as follows:

1。 按 Windows + I键 同时启动 个人设置.

2。 点击 更新与安全 瓷砖,如图所示。

更新和安全

3。 去 疑难解答 左窗格中的菜单。

4。 选择 Windows更新 疑难解答并单击 运行疑难解答 按钮如下突出显示。

click on Troubleshoot from the Update and Security settings and select Windows Update troubleshooter and click on Run the troubleshooter. How To Fix Error 0x80070002 Windows 10

5. 等待故障排除程序检测并解决问题。一旦该过程完成, 重新开始 您的电脑.

另请参阅: 如何在 Windows 10 中设置警报

Method 2: Synchronize Date and Time Settings

You might wonder why we should synchronize time and date for this issue. But, many users said that this solution worked, and hence, it is advised to do the same.

1.右键单击 时间和日期 from the right-end of the 任务栏.

right click on time and date on the Taskbar

2。 选择 调整日期/时间 列表中的选项。

Choose Adjust date or time. How To Fix Error 0x80070002 Windows 10

3。 开关 On the toggle for the given options:

  • 设置时间自动
  • 设置时区自动

Toggle on the options Set time automatically and Set time zone automatically.

Now, try updating Windows again.

另请参阅: 修复Windows Update错误0x800704c7

Method 3: Modify Registry Editor

Follow the given instructions carefully since any changes made by modifying Registry Editor will be permanent.

请注意: Before processing the method, ensure that the device language is set to 英语(美国).

1。 按 Windows + R的 同时启动 运行 对话框。

2。 类型 注册表编辑器 并击中 回车键 打开 注册表编辑器.

Type regedit and hit Enter. A Registry Editor Window opens. How To Fix Error 0x80070002 Windows 10

3。 点击 确认 用户帐户控制 提示。

4. 导航至以下内容 .

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateOSUpgrade.

Navigate to the following path. How To Fix Error 0x80070002 Windows 10

请注意: 如果 OSUpgrade folder is not present follow given steps. Else, you can skip to 编辑 OSUpgrade 键。

4A。右键单击 WindowsUpdate的。 选 新> DWORD(32位)值 如下图所示。

Right click on WindowsUpdate and go to New and choose DWORD 32 bit value

4B. Type the values with 值名称: as AllowOSUpgrade 并设置 值数据: as 1.

Create a new file type DWORD 32 bit Value with Name as AllowOSUpgrade and set Value data as 0x00000001.

4C. Choose 十六进制基值 并点击 OK

Choose Hexadecimal under Base and click on OK. How To Fix Error 0x80070002 Windows 10

5. Or, Choose the OSUpgrade 键。

6.右键单击 空地 并点击 全新 > DWORD(32位)值 如下图所示。

Right click on the empty area and click New. Choose DWORD 32 bit Value from the menu.

7. Right-click on the newly created 折扣值 并选择 修改… 选项,如图所示。

选择修改。

8. Set the Value name as AllowOSUpgrade and Value data as 1.

Create a new file type DWORD 32 bit Value with Name as AllowOSUpgrade and set Value data as 0x00000001.

9。 选择 十六进制 in 基值 并点击 OK.

Choose Hexadecimal under Base and click on OK. How To Fix Error 0x80070002 Windows 10

10。 最后, 重新开始 您的电脑.

方法 4:禁用 Windows Defender 防火墙(不推荐)

Windows Defender or third-party antivirus software running in the background may also cause this issue. Follow the below steps to fix to disable Windows Defender temporarily to fix Error Code 0x80070002 on Windows 7 & 10 :

1. Go to the 个人设置 > 更新与安全 如图所示 方法1.

更新和安全

2。 选择 Windows安全 from the left pane and 病毒和威胁防护 在右侧窗格中。

选择保护区域下的病毒和威胁防护选项

3.在 Windows安全 窗口,点击 管理设置 病毒和威胁防护设置

Click on Manage settings

4。 开关 关闭 the toggle bar for 实时保护.

Toggle off the bar under the Real-time protection. How To Fix Error 0x80070002 Windows 10

5。 点击 进行确认。

另请参阅: 如何在 Windows Defender 防火墙中阻止或取消阻止程序

Method 5: Rollback Windows Update

Sometimes, Windows might fail to extract the updated files successfully. To fix update error 0x80070002 Windows 10, it is advised to roll back Windows update as follows:

1。 导航 个人设置 > 更新与安全 as shown previously.

2。 在 Windows更新, 点击 查看更新历史记录,如下图所示。

In the Windows Update, Click on the View update history.

3。 点击 卸载更新 如图所示。

Click on Uninstall updates

4。 选择 最新更新 of Microsoft Windows (For example, KB5007289)然后点击 卸载 按钮突出显示。

Choose the latest update of Microsoft Windows and click on Uninstall

5。 最后, 重新开始 your Windows PC.

Method 6: Run SFC and DISM Scans

Damaged system files may also affect the Windows Update on your Windows 7 or 10 desktop/laptop. Follow the below steps to detect, repair, and restore system files and solve the update error 0x80070002 Windows 10 using in-built repair tools:

1.点击 Windows键,类型 命令提示符 并点击 以管理员身份运行“.

打开“开始”菜单,键入命令提示符,然后单击右侧窗格中的“以管理员身份运行”。

2。 点击  ,在 用户帐户控制 提示。

3。 类型 SFC / SCANNOW 并按下 回车键 运行 系统文件检查器 扫描。

Type the below command line and hit Enter to execute it. How To Fix Error 0x80070002 Windows 10

请注意: 将启动系统扫描,需要几分钟才能完成。同时,您可以继续执行其他活动,但请注意不要意外关闭窗口。

完成扫描后,它将显示以下消息之一:

  • Windows资源保护未发现任何完整性违规。
  • Windows资源保护无法执行请求的操作。
  • Windows资源保护发现损坏的文件并成功修复它们。
  • Windows资源保护发现损坏的文件但无法修复其中一些。

4. 扫描完成后, 重新开始 您的电脑.

5.再次启动 命令提示符为管理员 并依次执行给定的命令:

dism.exe /在线 /cleanup-image /scanhealth
dism.exe /在线 /cleanup-image /restorehealth
dism.exe /在线 /cleanup-image /startcomponentcleanup

请注意: 您必须有有效的互联网连接才能正确执行 DISM 命令。

命令提示符中的扫描运行状况命令

另请参阅: 如何修复 Windows 更新错误 80072ee2

Method 7: Modify Windows Update Service

Often, the update might fail and miss out on a few files. In such scenarios, you have to delete or rename these installation files to resolve Windows 10 update error 0x80070002.

请注意: The update service must be disabled from running in the background to modify these files.

Step I: Disable Windows Update Service

1。 发射 运行 对话框按 Windows + R键.

2。 类型 SERVICES.MSC 并击中 输入 推出 特色服务 窗口。

在运行命令框中键入 services.msc,然后按 Enter

3. Scroll down to locate the Windows 更新 service. Right-click on it and choose 查看房源 从上下文菜单中,如下所示。

Scroll through to locate and right click on Windows Update. Choose Properties from the menu

4.在 常规选项卡, 选择 启动类型: 至 自动表.

In the General tab, in Startup type drop down choose Automatic. How To Fix Error 0x80070002 Windows 10

5。 点击 Stop 停止 如果 服务状态 is 运行.

Click on Stop if the Service status is Running.

6。 点击 使用 保存更改,然后 OK 退出。

Click Apply and then OK. How To Fix Error 0x80070002 Windows 10

Step II: Delete Software Distribution Folder

1。 按 的Windows + E 同时打开 文件管理器。

2。 去 C:Windows的 viz directory where Windows OS is installed.

Go to path where Windows is installed

3A。选择 SoftwareDistribution 文件夹然后按  删除文件夹。

请注意: If prompted to edit as an 管理员,然后输入 密码 并击中 输入.

Choose SoftwareDistribution folder and press Del key. How To Fix Error 0x80070002 Windows 10

3B.或者, 重命名 它通过按下 F2键 并继续。

Step III: Re-enable Windows Update Service

1。 打开 特色服务 window as instructed in 第一步

2。 右键单击 Windows更新 service and choose Start 开始 如下图所示。

Right click on it and choose Start. How To Fix Error 0x80070002 Windows 10

3. 重新启动 your device and try updating Windows again.

另请参阅: 如何修复 Windows 10 访问被拒绝的问题

Method 8: Reset Winsock Catalog

Winsock Catalog is an interface to communicate between Windows network software and network services. Resetting this interface would help in fixing update error code 0XC1900200 and 0x80070002 on Windows 7 & 10.

1。 发射 命令提示符 作为管理员 as ealier.

打开“开始”菜单,键入命令提示符,然后单击右侧窗格中的“以管理员身份运行”。

2。 类型 的netsh winsock重置 并击中 回车键 to execute to reset Windows Sockets Catalog.

的netsh winsock重置

3. 重新启动 您的电脑 一旦过程完成。

常见问题解答(FAQ)

Q1. Will updating my device driver help in resolving the update issue?

答。是的, updating your device drivers could help in resolving the update error 0x80070002 issue in Windows 10. Read our guide on How to Update Device Drivers on Windows 10 to do so.

Q2. Will power cycling my PC resolve the update issue?

答。 是的, power cycling might resolve the update error code 0x80070002 in Windows 7 and 10. You can power cycle your computer through these simple steps:

  • the PC and the router.
  • Disconnect the power source by unplugging it.
  • For a few minutes, press – hold the 功率 按钮。
  • 重新连接 电源。
  • 打开 the computer after 5-6 minutes.

推荐:

We hope this guide helped you fix Windows 10 update 错误代码0x80070002的 effectively. Feel free to reach out to us with your queries and suggestions via comments section below.