关于Windows 11 24H2定制ISO镜像无法更新的问题,微软已推出解决方案。以下是技术分析和修复指南:
以管理员身份运行CMD:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
运行更新疑难解答:
msdt /id WindowsUpdateDiagnostic
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
cmd
wusa.exe X:\path\to\update.msu /quiet /norestart
重建WinSxS组件存储:
DISM /Online /Cleanup-Image /StartComponentCleanup
DISM /Online /Cleanup-Image /AnalyzeComponentStore
修复安装源(需原版ISO):
DISM /Online /Enable-Feature /All /LimitAccess /Source:X:\sources\install.wim
禁用第三方服务:
reg add "HKLM\SYSTEM\CurrentControlSet\Services\TrustedInstaller" /v Start /t REG_DWORD /d 4 /f
powershell
winget install Microsoft.WindowsInstaller
cmd
certutil -hashfile install.wim SHA256
diskpart
diskpart
select disk 0
select partition 3
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
微软在KB5037853更新中特别修复了以下组件: - Windows Update Client (wuaueng.dll v7.9.4001.1) - 组件基础库 (cbs-core.dll v10.0.26100.863) - 安装引擎 (setupcore.dll v10.0.26100.751)
建议管理员在部署前使用Windows Assessment and Deployment Kit验证镜像完整性。