共用方式為


針對 Windows Update 錯誤 0x8024002E 進行疑難排解

Windows Update 錯誤0x8024002E指出不允許存取 Unmanaged 伺服器,通常是因為伺服器上的 Windows Update 用戶端服務已停用。 本檔提供識別並解決此問題的步驟。

先決條件

請確定您具有伺服器的系統管理存取權,以修改系統設定和原則。

若要找出問題

若要識別問題,請檢查 CBS.logCbsPersist_XXXXXXXXXXXXXX.logCbsPersist_XXXXXXXXXXXXXX.cab 檔案中是否有類似下列的專案:

{8F8EA247-1586-48E4-A5F6-1D19A9343341} 2024-04-17 05:14:55:630-0400 1 148 [AGENT_DETECTION_FAILED] 101 {00000000-0000-0000-0000-000000000000} 0
8024002e
Azure VM Guest Patching Failure Software Synchronization Windows Update Client failed to detect with error 0x8024002e.
2024-04-17 08:45:10:060 1084 3a10 Agent *********** Agent: Initializing global settings cache ***********
2024-04-17 08:45:10:060 1084 3a10 Agent * Endpoint Provider: 00000000-0000-0000-0000-000000000000
2024-04-17 08:45:10:060 1084 3a10 Agent * WSUS server: <NULL>
2024-04-17 08:45:10:060 1084 3a10 Agent * WSUS status server: <NULL>
2024-04-17 08:45:10:060 1084 3a10 Agent * Target group: (Unassigned Computers)
2024-04-17 08:45:10:060 1084 3a10 Agent * Windows Update access disabled: Yes
2024-04-17 08:45:10:060 1084 97b0 WuTask WuTaskManager delay initialize completed successfully..

根本原因

停用 Windows Update 用戶端服務時,會發生錯誤碼0x8024002E,以防止存取 Unmanaged 伺服器。 此問題通常是因為停用 Windows Update 存取的組策略設定所造成。

解決或疑難解答步驟

啟用 Windows Update 服務

  1. Win+R 開啟 [執行] 對話框,輸入 services.msc,然後按 Enter
  2. 在 [ 服務] 視窗中,找出 [Windows Update]。
  3. 以滑鼠右鍵按兩下 [Windows Update] ,然後選取 [ 屬性]。
  4. 將 [ 啟動類型 ] 設定為 [ 手動 ],然後選取 [ 啟動]。
  5. 選取 [確定] 以套用變更。

修改登錄機碼

這很重要

本節、方法或任務包含告訴您如何修改註冊表的步驟。 然而,如果不正確地修改登錄檔,可能會出現嚴重問題。 因此,請確保仔細遵循這些步驟。 若要獲得保護,請在進行修改前先備份登錄,以便在出現問題時還原登錄。 如需有關如何備份和還原登錄檔的詳細資訊,請參閱 如何在 Windows 中備份和還原登錄檔

  1. Win+R 開啟 [執行] 對話框,輸入 regedit,然後按 Enter

  2. 導航至 HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\DisableWindowsUpdateAccess

  3. 如果值設定為 1,請將它變更為 0 以啟用服務。

    備註

    建議您盡可能透過組策略管理此設定。

停用組策略

  1. Win+R 開啟 [執行] 對話框,輸入 gpedit.msc,然後按 Enter
  2. 導航至 Computer Configuration\Administrative Templates\System\Internet Communication Management\Internet Communication settings\
  3. 停用 關閉所有 Windows Update 功能原則的存取 權。

確認手動修補

  1. 開啟 [控制面板 ],然後流覽至 [Windows Update]。
  2. 嘗試透過更新小程式手動修補伺服器。
  3. 如果手動修補失敗,請與裝置和部署小組共同作業以取得進一步的協助。