为什么 Windows 更新突然失败并显示错误 0x80244019?

Der*_*ler 5 wsus windows-update windows-server-2008-r2

自昨天安装更新以来,我们的 2008 R2 服务器之一拒绝再次连接到我们的 WSUS,而是报告未知错误0x80244019。连接到官方 Windows 更新存储库没有任何问题。问题只发生在我们本地的 WSUS 上。

有关错误的 Windows 支持网站建议:

如果您在下载更新时收到这些错误之一,最常见的原因是计算机病毒关闭了 Windows 更新或 Windows 更新所需的计算机上的其他服务。

我要投票没有在那一个。

我的WindowsUpdate.log显示如下:

2012-09-13  13:00:52:738     892    5c0 PT  +++++++++++  PT: Synchronizing server updates  +++++++++++
2012-09-13  13:00:52:738     892    5c0 PT    + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL = http://SRV-PDC/ClientWebService/client.asmx
2012-09-13  13:00:52:769     892    5c0 PT  WARNING: Cached cookie has expired or new PID is available
2012-09-13  13:00:52:769     892    5c0 PT  Initializing simple targeting cookie, clientId = a6c96caf-d9ca-4f31-a003-827e7089ff64, target group = Server, DNS name = srv-exchange.porta.haseke.de
2012-09-13  13:00:52:769     892    5c0 PT    Server URL = http://SRV-PDC/SimpleAuthWebService/SimpleAuth.asmx
2012-09-13  13:00:52:957     892    5c0 PT  WARNING: GetAuthorizationCookie failure, error = 0x80244019, soap client error = 10, soap error code = 0, HTTP status code = 404
2012-09-13  13:00:52:957     892    5c0 PT  WARNING: Failed to initialize Simple Targeting Cookie: 0x80244019
2012-09-13  13:00:52:957     892    5c0 PT  WARNING: PopulateAuthCookies failed: 0x80244019
2012-09-13  13:00:52:957     892    5c0 PT  WARNING: RefreshCookie failed: 0x80244019
2012-09-13  13:00:52:957     892    5c0 PT  WARNING: RefreshPTState failed: 0x80244019
2012-09-13  13:00:52:957     892    5c0 PT  WARNING: Sync of Updates: 0x80244019
2012-09-13  13:00:52:957     892    5c0 PT  WARNING: SyncServerUpdatesInternal failed: 0x80244019
2012-09-13  13:00:52:957     892    5c0 Agent     * WARNING: Failed to synchronize, error = 0x80244019
2012-09-13  13:00:52:957     892    5c0 Agent     * WARNING: Exit code = 0x80244019
Run Code Online (Sandbox Code Playgroud)

而且,实际上,另一篇支持文章引起了我的注意: 当您从位于防火墙或代理服务器之后的基于 Windows XP 的计算机访问 Windows Update 网站时,您无法下载更新

该文章涉及 XP,但我最近不得不调整该服务器上的 WinHTTP 设置以解决另一个问题(请参阅支持文章将第三方证书导入 Exchange Server 2010 时的错误消息:“证书状态可能无法确定,因为吊销检查失败”以获取更多详细信息)。

我通过运行解决了这个访问问题:

netsh winhttp set proxy proxy-server="http=www-proxy:8080" bypass-list="*.domain.example.com"
Run Code Online (Sandbox Code Playgroud)

因此,我假设 Windows 更新也使用 WinHTTP,而我的更改会阻止它正常工作。但即使将我的调整bypass-list"*.domain.example.com;<local>",Windows Update 也拒绝运行。

Der*_*ler 5

似乎在调整 之后只需要重新启动bypass-list,它必须包含,<local>以便本地 WSUS 安装绕过 WinHTTP 代理:

netsh winhttp set proxy proxy-server="http=www-proxy:8080" bypass-list="*.domain.example.com;<local>"
Run Code Online (Sandbox Code Playgroud)

或者,如果您已经在 IE 中设置了正确的代理(例如,通过组策略),您只需这些设置导入 WinHTTP:

netsh winhttp import proxy source=ie
Run Code Online (Sandbox Code Playgroud)

检查您自己当前的 WinHTTP 代理设置,请运行netsh winhttp show proxy.