这种情况已经发生过多次了 - 当我晚上关闭我的 Aspire 7741G-6426 笔记本电脑(运行 Windows 7 和 8.1)时,它会进行更新然后关闭。
第二天早上我启动它时收到了以下消息:
我们无法完成更新。正在撤消更改。请勿关闭计算机
为什么更新总是失败,为什么在多次尝试失败后 Windows 不会停止尝试应用更新?
或者这些都是不同的更新实例?昨晚/今天早上是最新的。
那么,如何才能找出 Windows 更新失败的原因呢?
更新
这条评论让我想起很久以前我写过一个事件日志查看器。查看过去一天内的事件,它给了我:
Type: Warning
Source: Microsoft-Windows-ApplicationExperienceInfrastructure
Time Generated: 03/20/2015 04:35:50
Message: The application (Microsoft SQL Server (2008 and 2008 R2), from vendor Microsoft) has the following problem: Microsoft SQL Server (2008 and 2008 R2) is not supported on this version of Windows. For more information, contact Microsoft.
Machine Name: AcerAndroid
User Name: NT AUTHORITY\NETWORK SERVICE
Type: Warning
Source: Wlclntfy
Time Generated: 03/20/2015 04:36:46
Message: The winlogon notification subscriber <TrustedInstaller> is taking long time to handle the notification event (CreateSession).
Machine Name: AcerAndroid
Type: Warning
Source: Wlclntfy
Time Generated: 03/20/2015 04:38:46
Message: The winlogon notification subscriber <TrustedInstaller> took 180 second(s) to handle the notification event (CreateSession).
Machine Name: AcerAndroid
Type: Warning
Source: Wlclntfy
Time Generated: 03/20/2015 04:38:57
Message: The winlogon notification subscriber <TrustedInstaller> failed a critical notification event.
Machine Name: AcerAndroid
Type: Warning
Source: Microsoft-Windows-ApplicationExperienceInfrastructure
Time Generated: 03/20/2015 04:40:22
Message: The application (Microsoft SQL Server (2008 and 2008 R2), from vendor Microsoft) has the following problem: Microsoft SQL Server (2008 and 2008 R2) is not supported on this version of Windows. For more information, contact Microsoft.
Machine Name: AcerAndroid
User Name: NT AUTHORITY\NETWORK SERVICE
Type: Warning
Source: Wlclntfy
Time Generated: 03/20/2015 04:41:21
Message: The winlogon notification subscriber <TrustedInstaller> is taking long time to handle the notification event (CreateSession).
Machine Name: AcerAndroid
Type: Warning
Source: Wlclntfy
Time Generated: 03/20/2015 04:43:06
Message: The winlogon notification subscriber <TrustedInstaller> took 165 second(s) to handle the notification event (CreateSession).
Machine Name: AcerAndroid
Type: Warning
Source: Microsoft-Windows-ApplicationExperienceInfrastructure
Time Generated: 03/20/2015 04:44:37
Message: The application (ATI Catalyst Control Center *, from vendor ATI Technologies Inc) has the following problem: To function properly, ATI Catalyst Control Center * must be reinstalled after you upgrade Windows.
Machine Name: AcerAndroid
User Name: ACERANDROID\Clay
更新2
我尝试了 John Ball 的建议,并进入了 Windows 8.1 中的“Windows 更新历史记录”屏幕,但它是空白的。当我通过 Windows 键+D 返回 Windows 7 模式时,我看到了以下内容:
更新 3
Wolverine 的链接似乎起作用了。这是我运行后看到的结果:
更新 4
好吧,这毕竟没用:今天早上我又遇到了同样的问题,启动了我的笔记本电脑。C:\Windows\Logs\CBS 压缩内容的链接是https://onedrive.live.com/redir?resid=C150662F95F0ACCE%2120553
答案1
您可以通过多种方式查看出现的问题或找出更新失败的原因。您可以尝试使用更新故障排除工具由 Microsoft 提供或者,如果您使用的是 Windows 8,您可以尝试以下操作。
- 从屏幕右侧向左滑动或将鼠标移到屏幕右下角,然后向上移动以调出任务栏。在任务栏上,单击设置。
- 点击“更改电脑设置”
- 点击“更新和恢复”
- 点击“查看更新历史记录”
这样您就可以查看更新失败的错误代码,然后您可以研究如何修复它。
另一个可能找出更新问题所在是使用 %windir%\windowsupdate.log 文件这个 Microsoft KB。 该日志文件包含大量有关通过计算机上的 Windows 更新进行的更新的信息,因此您很可能能够找到有关出现问题的信息,包括退出代码等等。
答案2
在开始菜单搜索框中输入“windows update”。当 Windows Update 窗口出现时,点击“查看更新历史记录”。然后您可以点击任何失败的更新,然后您应该会看到一个链接“获取此错误的帮助”。
答案3
根据日志文件,安装更新的驱动程序由于配置错误而失败:
2015-03-22 07:07:49, Info CBS STAGE index: 0, phase: 1, result 1009, inf: wdma_bt.inf
2015-03-22 07:07:49, Info CBS Doqe: Recording result: 0x800703f1, for Inf: wdma_bt.inf
2015-03-22 07:07:49, Info CBS DriverUpdateStageUpdates failed [HRESULT = 0x800703f1 - ERROR_BADDB]
2015-03-22 07:07:49, Error CBS Doqe: Failed staging driver updates [HRESULT = 0x800703f1 - ERROR_BADDB]
C:\Users\André>err 0x800703f1
# as an HRESULT: Severity: FAILURE (1), FACILITY_WIN32 (0x7), Code 0x3f1
# for hex 0x3f1 / decimal 1009
ERROR_BADDB winerror.h
# The configuration registry database is corrupt.
# 1 matches found for "0x800703f1"
这似乎很难调试。尝试做一个就地升级以修复 Windows:
- 在运行 Windows 时,插入 Windows DVD 或安装 Windows ISO。
- 运行
setup.exe
并选择Upgrade
。