我有一台 Windows 7 笔记本电脑,里面有一堆待处理和失败的更新(2009 HP,i3)。
当我手动下载它们时(例如2017 年 1 月 Windows 7(基于 x64 的系统)安全质量月度汇总 (KB3212646))并尝试安装密歇根州立大学文件时,安装程序告诉我更新已在计算机上。
我如何才能安装此更新(以及其他待安装的更新)?每Windows 更新:常见问题解答,在手动安装待处理和失败的更新之前,我是否应该“卸载”它们?
值得一提的是,Windows Updater 控制面板没有报告任何“隐藏更新”。此外,如果我将 Windows Updater 首选项保留在“自动下载并安装”模式,我会不断被提醒重新启动,但重新启动很少真正安装任何东西。
当“关机”选项旁边有一个黄色盾牌图标时,表示重新启动时确实会安装一些东西。
安装历史可追溯到 2011 年,在 2015 年 8 月发布“升级到 Windows 10”之前,只有 5 次更新安装失败(3 次“重要”和 2 次“推荐”)。不包括失败的“升级到 Windows 10”安装,自 2015 年 8 月以来,共有 14 次更新失败和 100 多个待处理更新。我应该如何处理所有这些待处理和失败的更新,以使我的操作系统保持最新状态并使 Windows 更新程序消息相关?
更新
“修复 Windows 更新问题”来自“控制面板\所有控制面板项\疑难解答”(具有管理员权限)检查更新,然后根据它的建议打开 Windows 更新,我被告知重新启动以进行待定更改。我重新启动... 什么都没有改变。值得注意的是 - “最近检查更新”并不表示最近检查。
现在是早上 7 点,午夜时间戳是我第一次写这个问题时的。这很合理,因为故障排除报告显示搜索更新失败(尽管之前显示故障排除程序“运行成功”)。
...我喜欢“探索”
“探索其他选择”是让我来到这里的第一要务。
至于链接到在线故障排除,我现在已经确认没有网络问题导致此问题,并且可下载版本的 Windows 更新疑难解答 (Windows更新诊断卡) 与我控制面板中已有的一样无效:
当然,它说“已修复”,但 2017 年 1 月安全月度质量汇总仍未完成 - 虽然现在版本历史日志报告最新安装和检查为“从未”......继续与在线故障排除建议重新安装操作系统。这似乎是一个荒谬的选择。
至于“Windows 更新错误 0x80070490”,我正在研究以下步骤来解决它:
每http://www.thewindowsclub.com/windows-update-error-0x80070490:
1] [...] 如果您运行的是 Windows 7 或 Windows Vista,则在运行 系统文件检查器,你应该使用系统更新准备工具 修复 Windows 更新。
2] 如果这没有帮助,请创建一个新的用户帐户,看看是否适合您。
3] 您还需要确保 Windows 更新服务、后台智能传输服务和加密服务正常运行。为此,打开运行框,键入 services.msc 并按 Enter 打开服务管理器。在这里,您可以检查每个服务的状态。确保它们已启动。Windows 更新应设置为自动(触发启动),BITS 应设置为自动(延迟),加密服务应设置为自动。双击服务名称将打开其属性框,其中将提供其他选项。
4] 运行 Windows 更新疑难解答,看看是否有帮助。
更新
C:\Windows\Logs\CBS\CBS.log
当然是一个具有限制权限的 16MB 文本文件...所以让我找出一些grep
选项,因为cat
现在已经加载该文件一分钟多了:\
...这是我使用
DISM.exe /Online /Cleanup-image /Scanhealth
&得到的结果:
DISM.exe /Online /Cleanup-image /Restorehealth
更新
根据关于建议删除的答案 C:\windows\winsxs\pending.xml
:很奇怪,我有两个这样的文件,文件名后面都附加了一些内容,一个是 25KB,创建和修改日期为 2016 年 3 月 10 日@2:42AM
C:\windows\winsxs\pending.xml.01d17ae4bd6c3f2c
...另一个是 ~16MB,创建和修改日期为 2016 年 3 月 11 日@2:00PM
C:\windows\winsxs\pending.xml.01d17bd0c51f9f61
从目录中删除这两个文件C:\windows\winsxs\
不允许安装待处理的更新,也不允许控制面板检查待处理的更新:
可能与 2016 年 3 月 10 日上午 10:51 的更新失败有关:
更新
根据sfc/scannow
CBS.log,似乎“ ”有一个共同点31bf3856ad364e35
,例如:
Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514
&
Package_for_KB976933~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514
从 CBS.log 中查找0x80070490:
PS C:\Windows\system32> cat C:\Windows\Logs\CBS\CBS.log | grep 0x80070490
2017-02-09 10:09:34, Info CBS Failed to find package from aggreated XML string, package: Package_for_KB976933~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:09:34, Info CBS Failed to find package from deployment update [HRESULT = 0x80070490 -ERROR_NOT_FOUND]
2017-02-09 10:09:34, Error CBS Failed to check whether package is partially installed, package: Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:09:34, Info CBS Failed to evaluate external applicability for package update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:09:34, Error CBS Failed to call external evaluate applicability on package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, Update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:09:43, Info CBS Failed to find package from aggreated XML string, package: Package_for_KB976933~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:09:43, Info CBS Failed to find package from deployment update [HRESULT = 0x80070490 -ERROR_NOT_FOUND]
2017-02-09 10:09:43, Error CBS Failed to check whether package is partially installed, package: Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:09:43, Info CBS Failed to evaluate external applicability for package update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:09:43, Error CBS Failed to call external evaluate applicability on package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, Update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:18:51, Info CBS Failed to find package from aggreated XML string, package: Package_for_KB976933~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:18:51, Info CBS Failed to find package from deployment update [HRESULT = 0x80070490 -ERROR_NOT_FOUND]
2017-02-09 10:18:51, Error CBS Failed to check whether package is partially installed, package: Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:18:51, Info CBS Failed to evaluate external applicability for package update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:18:51, Error CBS Failed to call external evaluate applicability on package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, Update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:19:02, Info CBS Failed to find package from aggreated XML string, package: Package_for_KB976933~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:19:02, Info CBS Failed to find package from deployment update [HRESULT = 0x80070490 -ERROR_NOT_FOUND]
2017-02-09 10:19:02, Error CBS Failed to check whether package is partially installed, package: Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:19:02, Info CBS Failed to evaluate external applicability for package update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 10:19:02, Error CBS Failed to call external evaluate applicability on package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, Update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:07:06, Info CBS Failed to find package from aggreated XML string, package: Package_for_KB976933~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:07:06, Info CBS Failed to find package from deployment update [HRESULT = 0x80070490 -ERROR_NOT_FOUND]
2017-02-09 11:07:06, Error CBS Failed to check whether package is partially installed, package: Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:07:06, Info CBS Failed to evaluate external applicability for package update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:07:06, Error CBS Failed to call external evaluate applicability on package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, Update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:07:15, Info CBS Failed to find package from aggreated XML string, package: Package_for_KB976933~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:07:15, Info CBS Failed to find package from deployment update [HRESULT = 0x80070490 -ERROR_NOT_FOUND]
2017-02-09 11:07:15, Error CBS Failed to check whether package is partially installed, package: Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:07:15, Info CBS Failed to evaluate external applicability for package update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:07:15, Error CBS Failed to call external evaluate applicability on package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, Update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:08:18, Info CBS Failed to find package from aggreated XML string, package: Package_for_KB976933~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:08:18, Info CBS Failed to find package from deployment update [HRESULT = 0x80070490 -ERROR_NOT_FOUND]
2017-02-09 11:08:18, Error CBS Failed to check whether package is partially installed, package: Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:08:18, Info CBS Failed to evaluate external applicability for package update: 976933-0_neutral_PACKAGE [HRESULT= 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:08:18, Error CBS Failed to call external evaluate applicability on package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, Update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:08:28, Info CBS Failed to find package from aggreated XML string, package: Package_for_KB976933~31bf3856ad364e35~amd64~fr-FR~6.1.7601.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:08:28, Info CBS Failed to find package from deployment update [HRESULT = 0x80070490 -ERROR_NOT_FOUND]
2017-02-09 11:08:28, Error CBS Failed to check whether package is partially installed, package: Windows7SP1-KB976933~31bf3856ad364e35~amd64~~6.1.1.17514 [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:08:28, Info CBS Failed to evaluate external applicability for package update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2017-02-09 11:08:28, Error CBS Failed to call external evaluate applicability on package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, Update: 976933-0_neutral_PACKAGE [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
...然后我搜索regedit.exe
31bf3856ad364e35 并找到以下条目(参见下图)从“要添加的包”中删除“{A8F6EABA-43E3-410F-B196-A4A38FC70C51}”会使情况变得更糟吗?或者可能修复这些错误并让我安装待处理的更新?
答案1
(从评论迁移到问题)
首先,我会尝试重置所有 Windows 更新,这样它就会重新启动。您可以使用此脚本https://gallery.technet.microsoft.com/scriptcenter/Reset-Windows-Update-Agent-d824badc 以管理员身份运行,使用选项 2 和 3,完成后重新启动电脑。
如果这没有帮助,我建议您尝试删除注册表项HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
(先将其导出以进行备份)并重新启动电脑
答案2
根据 FleetCommand 的评论,更新历史记录中的“待定”和“失败”状态有些误导:
不要介意失败的更新,因为这是一个日志,而不是可用更新的列表。有时,对于失败的更新条目,日志上方还有另一个“成功”条目。有时,失败的更新永远不会安装,因为安装了较新的替代更新。真正失败且从未安装的更新会重新出现在 Windows Update 的主更新列表中。
根据 Yisroel 的回答,我已经下载并运行重置WUEng(以管理员身份)重置更新程序(选项 #2),以便我获得最新的更新(见下文)。我现在可以从控制面板检查更新(不会被告知我需要重新启动),并且我不再收到持续的重新启动提醒!
这是重置 Windows 更新工具的主屏幕 - 我只使用了选项 #2,但 Yisroel 也建议使用选项 #3:
这会删除历史记录以及更新组件 - 但根据 FleetCommand,历史记录并不是非常准确的记录。然后我习惯regedit.exe
先导出备份副本,然后删除注册表项HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
...
现在,当我启动 Windows 更新控制面板时,我看到:
...然后按下“检查更新”按钮,BINGO:
...一切看起来又恢复正常了。我选择并下载了更新,现在我在控制面板中看到的内容如下:
(我只安装了 5 个“可选”更新中的 4 个 - 其中一个是我不使用的程序。)
...下载后我重启了电脑,组件在注销后和关机前准备好,然后在重启时安装。最重要的是,现在我可以从 Windows Updater 控制面板检查更新:
...历史记录又恢复了。另外值得注意的是,我之前没有看到任何“可选”更新,只有“重要”或“推荐”更新 - 似乎一切都恢复正常了!