Windows 10 更新/升級過程出現 0x80240020 錯誤,通常因 Windows Update 服務快取損毀或下載檔案不完整。重置更新元件可快速修復。
net stop wuauservren C:\Windows\SoftwareDistribution SoftwareDistribution.oldnet start wuauservSoftwareDistribution 資料夾並重新下載更新檔案。
若上述無效,可執行完整重置腳本 (存為 ResetWU.bat 以管理員執行):
@echo off
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
echo Windows Update 元件已重置,請檢查更新。
pause
sfc /scannow + dism /online /cleanup-image /restorehealth。