Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win10 升級錯誤 0x80240020 解決法:重設 Windows Update 元件 (含 9226 版實測有效)

編輯:Windows 10 系統介紹

Win10 升級 (含早期 9226 版、正式版) 出現 0x80240020 錯誤,主因為 Windows Update 元件損壞或軟體衝突。標準重設流程可解決 90% 此類錯誤。

標準修復步驟 (命令提示字元 管理員)

  1. 按 Win+X → 選擇「命令提示字元 (管理員)」或「Windows PowerShell (管理員)」。
  2. 依序執行下列指令 (每行輸入完按 Enter):
net stop wuauserv
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
  1. 重新開啟「設定 → 更新與安全性 → Windows Update」→ 點擊「檢查更新」→ 重新下載安裝。
  2. 若提示需重開機,重開機完成安裝。

原理說明

  • net stop wuauserv:停止 Windows Update 服務,釋放資料夾鎖定。
  • ren SoftwareDistribution SoftwareDistribution.old:重命名更新快取資料夾,強制系統建立全新乾淨快取 (舊快取保留為 .old 供回溯)。
  • net start wuauserv:重啟服務,開始全新下載。

錯誤 0x80240020 畫面

進階:若標準法無效,嘗試完整重設 Windows Update

net stop wuauserv
net stop bits
net stop cryptsvc
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start bits
net start cryptsvc

此法同步重設 BITS (背景智慧傳輸) 與加密服務快取,解決更深層元件損壞。

註冊表修正法 (針對 80240020 特定情境)

若為強制升級指令 (wuauclt.exe /updatenow) 導致缺乏使用者確認互動而報錯,可嘗試:

  1. Win+R → regedit
  2. 導航至:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade
  3. 右鍵新建 DWORD (32-bit) 值:AllowOSUpgrade = 1
  4. 重開機後重新檢查更新。

註冊表 AllowOSUpgrade 設定

註冊表編輯器介面

溫馨提醒

  • 修復過程中出現其他錯誤碼,多按幾次「重試」通常可自動恢復。
  • 正式版釋出後鮮少遇到 9226 版升級,但此修復流程對所有 0x80240020 及相關 Windows Update 錯誤通用。
  • 若反覆失敗,建議直接使用媒體建立工具全新安裝,成功率最高。

小結

0x80240020 核心解法:停止 wuauserv → 重命名 SoftwareDistribution → 重啟 wuauserv → 重新下載。配合註冊表 AllowOSUpgrade=1 解決強制升級缺乏確認互動問題。全新安裝為終極備案。

Copyright © Windows教程網 All Rights Reserved