如何在 Windows 10 上重置 Windows 更新组件

如何在 Windows 10 上重置 Windows 更新组件

您可能已经注意到Windows 更新(Windows update)过程无法正常工作。届时,用户可能不得不考虑重置更新组件选项,尤其是当Windows Update 代理相关服务停止(Windows Update agent-related services stop working) 在其系统上运行时。此外,当某些 更新组件损坏(update components get corrupt)或 Windows 在更新缓存时出现问题时(Windows has issues while updating the cache),重置 Windows 更新组件脚本也可以发挥作用。阅读此分步指南以重置Windows 10台式机和笔记本电脑上的(desktop & laptop)Windows更新组件。

如何在 Windows 10 上重置 Windows 更新组件

如何在 Windows 10 上重置 Windows 更新组件(How to Reset Windows Update Components on Windows 10)

重置更新组件(update components)过程包括:

  • 重新启动BITSMSI 安装程序(MSI Installer)加密(Cryptographic)Windows 更新(Windows Update) 服务(Services)
  • 重命名Software Distribution 和 Catroot2 文件夹(Software Distribution and Catroot2 folders)

注意:(Note:)建议将Windows 10 PC 启动到安全模式(Mode)以获得更好的效果。

步骤 I:禁用(Step I: Disable)Windows 更新服务( Windows Update Service)

1. 通过同时Windows + R keys运行(Run)对话框。

2.输入services.msc并单击 OK启动服务(Services)窗口。

在运行对话框中键入 services.msc |  重置更新组件

3.向下滚动(Scroll)屏幕并右键单击(screen and right-click)Windows Update。(Windows Update.)

注意:(Note:)如果当前状态为Stopped,请跳至第二步(Step II)

4. 在这里,如果当前状态显示正在运行(Running),请单击停止(Stop )

在服务窗口中选择的 Windows 更新 |  重置更新组件

5.您将收到提示,Windows正在尝试停止本地计算机上的以下服务...(Windows is attempting to stop the following service on Local Computer…) 等待(Wait)提示完成。大约需要 3 到 5 秒。

Windows 正在尝试在本地计算机提示符下停止以下服务。 修复 Windows 10 更新 0x8007000d 错误

另请阅读:(Also Read:)如何运行Windows 更新疑难解答(Windows Update Troubleshooter)

第二步:停止更新组件(Step II: Stop Update Components)

实施(Implement)以下步骤以在此重置更新组件过程中停止更新组件:

1. 按 Windows 键(Windows key),键入 命令提示符(Command Prompt) 并单击 以管理员身份运行(Run as administrator)

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

 2. 现在,一一 键入以下 命令(commands),并 在每个命令后按Enter 。

net stop wuauserv 
net stop cryptSvc 
net stop bits 
net stop msiserver

type the following commands one by one and hit Enter after each command. Fix Windows 10 Update error 0x80070103

第三步:重命名软件分发和 Catroot 文件夹(Step III: Rename Software Distribution & Catroot Folder)

1. 要继续重置 Windows 更新组件脚本,请键入以下命令并在每个命令后按Enter

ren C:\Windows\SoftwareDistribution SoftwareDistribution.old 
ren C:\Windows\System32\catroot2 Catroot2.old 

另请阅读:(Also Read:)如何在Windows 10上(Windows 10)删除 SoftwareDistribution 文件夹(Delete SoftwareDistribution Folder)

第四步:开始更新组件
(Step IV: Start Update Components )

在重置更新组件过程中停止更新组件并重命名软件分发和 catroot 文件夹后,(software distribution and catroot folder)

1.在 Administrator 中执行(Execute)以下每个命令: 命令提示符(Administrator: Command Prompt)开始更新组件:

net start wuauserv 
net start cryptSvc 
net start bits 
net start msiserver

网络启动 wuauserv 网络启动 cryptSvc 网络启动位 网络启动 msiserver

第五步:重新启用(Step V: Re-enable)Windows 更新服务( Windows Update Service)

按照以下步骤重新启用Windows更新服务:

1. 返回服务(Services )窗口并右键单击Windows 更新(Windows Update)

2. 选择开始(Start )选项,如下图所示。

在“服务”窗口中选择了 Windows 更新。 修复 Windows 10 更新 0x8007000d 错误

3. 您将收到提示,Windows 正在尝试在本地计算机上启动以下服务...(Windows is attempting to start the following service on Local Computer…) 等待(Wait)3 到 5 秒,然后关闭“服务(Services)”窗口。

Windows 正在尝试在本地计算机提示符下启动以下服务

另请阅读:(Also Read:) 修复(Fix)等待安装(Update Pending Install)的Windows 10更新

第六步:删除(Step VI: Delete )软件分发和 Catroot 文件夹(可选)(Software Distribution & Catroot Folder (Optional))

现在要重置更新组件,您还可以选择删除软件分发和 catroot 文件夹(software distribution and catroot folders),如下所示:

1.通过同时单击Windows + E keys 打开文件资源管理器(File Explorer )

2. 现在,导航到C:\Windows\SoftwareDistribution\DataStore

3. 同时按下Ctrl+ A 键选择所有文件和文件夹,然后在空白处右键单击。选择删除(Delete )以从该位置删除所有文件和文件夹。

数据存储文件夹视图。

4. 现在,导航到C:\Windows\SoftwareDistribution\Download 并像之前一样删除(Delete )所有文件。

SoftwareDistribution 中的下载文件夹 |  重置更新组件

推荐的:(Recommended:)

  • 如何在Windows 10上(Windows 10)临时禁用防病毒软件(Antivirus Temporarily)
  • 如何在不丢失数据的情况下重置Windows 10
  • 修复 Windows 更新下载 0x800f0984(Fix Windows Update Download 0x800f0984) 2H1 错误
  • 修复 Windows 更新 0x8007000d 错误

完成这些步骤后,您了解了如何在 Windows 10 上重置更新组件(how to reset update components on Windows 10)您也可以在Windows 7(Windows 7)上执行类似的步骤。在下面的空白处留下任何问题或意见。



About the author

我是一名专业的音频工程师,拥有超过 10 年的经验。我参与过各种各样的项目,从小型家庭音响系统到大型商业制作。我的技能在于创造出色的配乐和声音处理工具,让音乐听起来很棒。我对 Windows 10 也非常有经验,可以帮助您充分利用您的计算机系统。



Related posts