当出现安装 Windows 更新时出现问题 时,Windows将显示错误代码0x80070005。如果 Windows 无法激活或运行某些 Office 应用程序,特别是在 Windows 更新后,您也可能会遇到该错误。错误代码基本上告诉您 Windows 没有执行操作所需的文件或注册表权限。
我们重点介绍针对 Windows 错误代码 0x80070005 的七种潜在故障排除解决方案。
1。运行 Windows 更新疑难解答
如果您在尝试安装 Windows 更新时收到 0x80070005 错误代码,请执行此操作。 Windows 更新疑难解答程序还可以修复更新过程中的其他错误。
在 Windows 11 中,转至设置 >系统 >疑难解答 >其他疑难解答 ,然后选择Windows 更新旁边的 >运行 按钮。

如果您拥有 Windows 10 计算机,请转到设置 >更新和安全 >问题排查 >其他问题排查工具>Windows 更新 并选择运行疑难解答 。

等待问题排查程序诊断导致错误代码 0x80070005 的潜在问题,并按照屏幕上的建议进行操作。

2。扫描恶意软件和病毒
恶意软件和病毒通常会删除运行某些程序和安装 Windows 更新所需的重要系统文件和注册表项。使用第三方软件扫描您的电脑是否存在恶意软件和病毒 或在 Windows 安全应用中打开实时保护。
转到设置 >隐私和安全 >Windows 安全 >打开 Windows 安全 >病毒和威胁防护 >管理设置 并开启实时防护 。

在 Windows 10 中,前往设置 >更新和安全 >Windows 安全 >病毒和威胁防护 >管理设置 并启用实时保护 。.
3。运行系统文件检查器
系统文件检查器 (SFC) 是一个命令行工具,检查 Windows 中是否有损坏、损坏和丢失的系统文件 。如果该工具找到任何内容,则会用新副本替换它们。
如果您因重要系统文件丢失或损坏而收到 0x80070005,则运行 SFC 是解决该问题的最佳选择。将您的计算机连接到互联网并按照以下步骤操作。

如果你的电脑运行 Windows 8 或更高版本,Microsoft 建议在运行系统文件检查器之前运行部署映像服务和管理 (DISM) 工具。否则,如果您拥有 Windows 7 PC,请跳至步骤 #3。

当您收到“恢复操作成功完成”的成功消息时,运行系统文件检查器(请参阅下一步)。

等待成功消息,关闭命令提示符窗口,然后重新运行应用程序/操作系统,抛出 0x80070005 错误。您可能需要重新启动计算机才能完成待处理的修复操作。

因此,运行系统文件检查器时请注意屏幕上的消息。
4。更新 Windows 注册表
微软建议更新注册表 如果更新 Windows 后 Office 应用程序中弹出错误代码 0x80070005。删除或损坏注册表中的任何项目都可能导致 Windows 出现其他问题。因此,请确保在执行更新之前备份 Windows 注册表 。
关闭所有 Microsoft Office 应用程序并按照以下步骤操作:






- 选择网络服务 ,然后选择编辑 。





关闭注册表编辑器,重新打开 Office 应用并检查是否可以停止 0x80070005 错误代码。
注意: 将 C: 替换为安装 Windows 的驱动器盘符。同样,将 USERNAME 替换为您电脑的用户名。










5。检查您的防火墙设置
您可以通过配置 SV主机 (Windows 服务的主机进程)绕过防火墙设置来解决 0x80070005 错误。


这会将您重定向到控制面板中的 Windows Defender 防火墙窗口。






6。执行干净启动
执行 Windows 中的干净启动 可以帮助诊断启动错误、频繁应用崩溃和 Windows 更新问题的原因。当您执行干净启动时,您的电脑会暂时禁用非必要的服务。这将有助于隔离和诊断在更新 Windows 或运行 Office 应用时导致错误代码 0x80070005 的软件冲突。
在启动干净启动之前,请确保您已使用管理员帐户登录电脑。.




关闭任务管理器并重新启动计算机以启动到“干净”的环境。如果您在干净启动过程后没有收到 0x80070005 错误,则意味着某个已禁用的应用程序导致了该错误。
7。重置 Windows 更新组件
如果在尝试上述故障排除步骤后错误仍然存在,请重置 Windows 更新代理的所有组件。




关闭命令提示符窗口并检查您现在是否可以安装 Windows 更新而不会出现 0x80070005 错误代码。
最后的手段:重置Windows
将 Windows 重置为出厂设置 如果由于 0x80070005 错误您仍然无法安装 Windows 更新或运行 Office 应用。
.