Windows-Server-2008

Windows 更新 KB4487022 下載和安裝問題

  • March 13, 2019

我在老化的 Windows Server 2008 中遇到以下問題。在此之前,安裝更新沒有​​問題。

“問題”更新是 Windows Server 2008 每月質量匯總的 2019 年 2 月預覽版。KB4487022。

從 Windows 更新,我得到以下資訊:- 來自 Windows 更新螢幕的錯誤

從事件查看器(應用程序和服務日誌,WindowsUpdate)我得到一個“事件 31”,文本為“Windows 更新無法下載更新”。


我知道並嘗試過的:-

  • 僅提供一個更新,它是可選的。
  • 本地 WSUS 未使用。
  • 其他更新今天已正確安裝。(Windows Defender 定義 KB915597 版本 1.289.464.1)
  • 伺服器有網際網路連接。
  • DNS 記憶體已刷新
  • 防火牆和 AV 軟體已被禁用
  • 重新啟動伺服器。
  • 停止 WU 和 BITS 服務,清除 /SoftwareDistribution/Download 文件夾並再次啟動服務。
  • wuauclt /detectnow 在管理員 cmd 提示符下。(在事件查看器中創建與上述相同的錯誤)
  • 應用程序或系統日誌下的事件查看器中沒有相關條目。

到目前為止,在Google上搜尋錯誤程式碼、知識庫文章和類似術語都沒有顯示任何有用的結果。

這並不重要,因為更新是可選的,但我仍然想知道是什麼原因造成的。它表明存在網路問題,但考慮到工作網路和其他更新都很好,我無法理解這一點。

任何人都可以建議接下來的步驟或可能的原因嗎?


編輯 1 -

正如 joeqwerty 所建議的,我已經從 Windows 目錄下載了 KB 安裝程序。下載很好,但安裝失敗並出現相同的錯誤程式碼。

目錄下載錯誤


編輯 2 CBS 日誌

我搜尋了 CBS 日誌,只找到了與此 KB 相關的以下行。

2019-02-25 07:39:48, Info                  CSI    0000020f@2019/2/25:07:39:48.515 CSI Transaction @0x22d34b0 initialized for deployment engine {d16d444c-56d8-11d5-882d-0080c847b195} with flags 00000002 and client id [26]"TI5.30723293:1212092951:1/"

2019-02-25 07:39:48, Info                  CSI    00000210@2019/2/25:07:39:48.531 CSI Transaction @0x22d34b0 destroyed

然後我在日誌中進一步搜尋“0x22d34b0”,看看是否還有其他條目,結果是否定的。

我檢查了錯誤,只發現以下

23/02/2019 00:41 Error CBS Failed to get internal update: MediaServer in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
23/02/2019 00:41 Error CBS Failed to get internal update: MediaServer-WebAdmin in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
23/02/2019 00:41 Error CBS Failed to get internal update: MediaServer-LoggingAgent in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
23/02/2019 00:41 Error CBS Failed to get internal update: SIS in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
23/02/2019 00:41 Error CBS Failed to get internal update: ADFS-FederationService in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
23/02/2019 00:41 Error CBS Failed to get internal update: ADFS-FederationServiceProxy in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
23/02/2019 00:42 Error CBS Failed to get internal update: OnlineRevocationServices in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
23/02/2019 00:42 Error CBS Failed to get internal update: NetworkDeviceEnrollmentServices in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
23/02/2019 00:42 Error CBS Failed to get internal update: FailoverCluster-FullServer in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
23/02/2019 00:42 Error CBS Failed to get internal update: OnlineRevocationServicesManagementTools in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
23/02/2019 00:42 Error CBS Failed to get internal update: UDDIServicesDatabase in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:08 Error CBS Failed to get internal update: MediaServer in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:08 Error CBS Failed to get internal update: MediaServer-WebAdmin in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:08 Error CBS Failed to get internal update: MediaServer-LoggingAgent in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:08 Error CBS Failed to get internal update: SIS in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:08 Error CBS Failed to get internal update: ADFS-FederationService in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:08 Error CBS Failed to get internal update: ADFS-FederationServiceProxy in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:08 Error CBS Failed to get internal update: OnlineRevocationServices in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:08 Error CBS Failed to get internal update: NetworkDeviceEnrollmentServices in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:08 Error CBS Failed to get internal update: FailoverCluster-FullServer in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:09 Error CBS Failed to get internal update: OnlineRevocationServicesManagementTools in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c
26/02/2019 01:09 Error CBS Failed to get internal update: UDDIServicesDatabase in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000. hr: 0x800f080c

編輯 3 windowsupdate.log

此日誌中有與知識庫文章相關的條目……再次是未知錯誤 0x80240003

2019-03-05  14:12:40:706     244    1248    DnldMgr ***********  DnldMgr: Copy update to cache [UpdateId = {44EAA446-DC1C-4EEA-B113-62E4B8A98B1A}.501]  ***********
2019-03-05  14:12:40:769     244    1248    DnldMgr Asking handler to generate non-range requests.
2019-03-05  14:12:40:769     244    1248    Handler Generating request for CBS update 44EAA446-DC1C-4EEA-B113-62E4B8A98B1A in sandbox C:\Windows\SoftwareDistribution\Download\36c6c7d69e84094689fbc7cdb7067817_ctc
2019-03-05  14:12:40:769     244    1248    Handler Selecting self-contained because update does not have express payload.
2019-03-05  14:12:40:769     244    1248    Handler Selected payload type is ptSelfContained
2019-03-05  14:12:40:769     244    1248    Handler Detected download state is dsStart
2019-03-05  14:12:40:769     244    1248    Handler Adding Windows6.0-KB4487022-x64.cab (entire file) to request list.
2019-03-05  14:12:40:769     244    1248    Handler Request generation for CBS update complete with hr=0x0 and pfResetSandbox=0 
2019-03-05  14:12:40:769     244    1248    DnldMgr   * WARNING: Copy update to cache failed with exit code = 0x80240003
2019-03-05  14:12:40:769    1192    65c COMAPI  WARNING: ISusInternal::CopyUpdateToCache2 failed, hr=80240003
2019-03-05  14:12:40:784    1192    65c COMAPI  -----------  COMAPI: IUpdateServiceManager::RemoveService  -----------
2019-03-05  14:12:41:580     244    1248    Agent   WARNING: WU client fails CClientCallRecorder::RemoveService with error 0x80248014
2019-03-05  14:12:41:580    1192    65c COMAPI  WARNING: ISusInternal::RemoveService failed, hr=8024801

我不確定消息是否已連接,但也有對此錯誤 0x80248014 的引用。Google搜尋給出了這個連結: -

修復的新連結

我將按照說明進行操作,因為它們比我已經嘗試過的更進一步。

新指令不起作用。Windows 更新和目錄關閉都提供相同的錯誤。

我在我的一台 Server 2008 R1 機器上遇到了同樣的問題,我也在看這個問題,但沒有足夠的代表來評論我的進展。

看起來該更新現在已被 KB4489880 取代,安裝沒有問題。我的猜測是更新問題而不是伺服器問題。

至於為什麼首先生成的錯誤程式碼,我能得到的最接近的答案是錯誤程式碼意味著更新是針對不同的作業系統的,但那是在另一個論壇上,我無法驗證如果那是真的。

引用自:https://serverfault.com/questions/956834