修复Windwos10更新失败

前些时间因为手欠得问题去折腾系统,最终导致系统更新失败。

然后网上搜索N多方法都无效,万般尝试最终解决了,将解决方法记录一下

顺便分享给有需要得朋友们,如果按照说明后还是无效,那绝对得妥妥得是人品问题

解决方法:

一、将下面代码copy后创建一个 fixWindows10Update.bat 文件,粘贴进去。

二、右键管理员权限执行,执行完成后重启电脑

sc stop wuauserv
sc stop bits
sc stop appidsvc
sc stop cryptsvc
sc stop msiserver

regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s browseui.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s wudriver.dll

ipconfig /flushdns
netsh winsock reset
netsh winsock reset proxy
 
rmdir %systemroot%\SoftwareDistribution /S /Q
rmdir %systemroot%\system32\catroot2 /S /Q

sc start bits
sc start wuauserv
sc start appidsvc
sc start cryptsvc

评论列表