win10 KB4551762更新失败 错误代码:0x8007025d 错误代码的解决方法
更新日期:2024-10-15 14:39
来源:互联网
最近,有用户在安装Windows 10某些更新时遇到了问题,错误代码为0x8007025d。系统显示稍后会重试更新。这次更新是针对2020年适用于Windows 10 Version 1909的03累积更新,适用于基于x64的系统(KB4551762)。如果你也遇到了这个问题,可以尝试以下操作方法来解决。
首先,尝试运行“DiagPackage.diagpkg”C:WindowsdiagnosticssystemWindowsUpdateDiagPackage.diagpkg。如果这个方法不奏效,可以尝试以下操作:
1. 在搜索框中输入“powershell”,右键点击选择以管理员身份运行。将下面的命令复制粘贴到命令行中并运行:
$arch=Get-WMIObject-ClassWin32_Processor-ComputerNameLocalHost|Select-ObjectAddressWidth
Write-Host“1.停止Windows更新服务。..”
Stop-Service-NameBITS
Stop-Service-Namewuauserv
Stop-Service-Nameappidsvc
Stop-Service-Namecryptsvc
Write-Host“2.删除QMGR数据文件。..”
Remove-Item“$env:allusersprofileApplicationDataMicrosoftNetworkDownloaderqmgr*.dat”-ErrorActionSilentlyContinue
Write-Host“3.重命名SoftwareDistribution和CatRoot文件夹。..”
Rename-Item$env:systemrootSoftwareDistributionSoftwareDistribution.bak-ErrorActionSilentlyContinue
Rename-Item$env:systemrootSystem32Catroot2catroot2.bak-ErrorActionSilentlyContinue
Write-Host“4.删除旧的Windows更新日志。..”
Remove-Item$env:systemrootWindowsUpdate.log-ErrorActionSilentlyContinue
Write-Host“5.重置Windows更新服务为默认设置。..”
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
Set-Location $env:systemrootsystem32
Write-Host“6.注册一些DLLs.。.”
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
Write-Host“7)移除WSUS客户端设置。..”
REG DELETE “HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate” /v AccountDomainSid /f
REG DELETE “HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate” /v PingID /f
REG DELETE “HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate” /v SusClientId /f
Write-Host“8)重置WinSock.。.”
netsh winsock reset
netsh winhttp reset proxy
Write-Host“9)删除所有BITS任务。..”
Get-BitsTransfer | Remove-BitsTransfer
Write-Host“10)尝试安装Windows更新代理。..”
if ($arch -eq 64) {
wusa Windows8-RT-KB2937636-x64 /quiet
} else {
wusa Windows8-RT-KB2937636-x86 /quiet
}
Write-Host“11)启动Windows更新服务。..”
Start-Service-NameBITS
Start-Service-Name wuauserv
Start-Service-Name appidsvc
Start-Service-Name cryptsvc
Write-Host“12)强制发现。..”
wuauclt /resetauthorization /detectnow
Write-Host“进程完成。请重新启动计算机。”
完成以上操作后,重新启动计算机,应该就可以正常更新KB4551762补丁了。希望以上方法能帮助到你解决更新失败的问题!