2024年11月win10更新错误代码:0x80004002 有效修复方法

发布时间:

  ⑴win更新错误代码:x 该怎么办?近期使用win系统的用户遇到了头疼的问题,系统无法更新也无法安装新的补丁,出现了错误 x 补丁也装不了 版本也不能更新的故障现象,该怎么办呢?本文中winwin小编给大家分享介绍下win更新错误代码:x的修复方法,有遇到相同故障的用户快来试试吧!

  ⑵您可到以下途径,尝试运行 “DiagPackage.diagpkg”

  ⑶C:WindowsdiagnosticssystemWindowsUpdateDiagPackage.diagpkg

  ⑷打开开始菜单,搜索powershell,(选择ISE》右键 》 用管理员运行 》 把以下拷贝到里面》运行 》 运行完后重启电脑 》 然后再试试看?

  ⑸$arch = Get-WMIObject -Class Win_Processor -puterName LocalHost | Select-Object AddressWidth

  ⑹Write-Host ". Stopping Windows Update Services..."

  ⑺Stop-Service -Name BITS

  ⑻Stop-Service -Name wuauserv

  ⑼Stop-Service -Name appidsvc

  ⑽Stop-Service -Name cryptsvc

  ⑾Write-Host ". Remove QMGR Data file..."

  ⑿Remove-Item "$env:allusersprofileApplication DataMicrosoftworkDownloaderqmgr*.dat" -ErrorAction SilentlyContinue

  ⒀Write-Host ". Renaming the Software Distribution and CatRoot Folder..."

  ⒁Rename-Item $env:systemrootSoftwareDistribution SoftwareDistribution.bak -ErrorAction SilentlyContinue

  ⒂Rename-Item $env:systemrootSystemCatroot catroot.bak -ErrorAction SilentlyContinue

  ⒃Write-Host ". Removing old Windows Update log..."

  ⒄Remove-Item $env:systemrootWindowsUpdate.log -ErrorAction SilentlyContinue

  ⒅Write-Host ". Resetting the Windows Update Services to defualt settings..."

  ⒆"sc.exe sdset bits D:(A;;LCSWRPWPDTLOCRRC;;;SY)(A;;DCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;LCSWLOCRRC;;;AU)(A;;LCSWRPWPDTLOCRRC;;;PU)"

  ⒇"sc.exe sdset wuauserv D:(A;;LCSWRPWPDTLOCRRC;;;SY)(A;;DCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;LCSWLOCRRC;;;AU)(A;;LCSWRPWPDTLOCRRC;;;PU)"

  ⒈Set-Location $env:systemrootsystem

  ⒉Write-Host ". Registering some DLLs..."

  ⒊regsvr.exe /s atl.dll

  ⒋regsvr.exe /s urlmon.dll

  ⒌regsvr.exe /s mshtml.dll

  ⒍regsvr.exe /s shdocvw.dll

  ⒎regsvr.exe /s browseui.dll

  ⒏regsvr.exe /s jscript.dll

  ⒐regsvr.exe /s vbscript.dll

  ⒑regsvr.exe /s scrrun.dll

  ⒒regsvr.exe /s msxml.dll

  ⒓regsvr.exe /s msxml.dll

  ⒔regsvr.exe /s msxml.dll

  ⒕regsvr.exe /s actxprxy.dll

  ⒖regsvr.exe /s softpub.dll

  ⒗regsvr.exe /s wintrust.dll

  ⒘regsvr.exe /s dssenh.dll

  ⒙regsvr.exe /s rsaenh.dll

  ⒚regsvr.exe /s gpkcsp.dll

  ⒛regsvr.exe /s sbase.dll

  ①regsvr.exe /s slbcsp.dll

  ②regsvr.exe /s cryptdlg.dll

  ③regsvr.exe /s oleaut.dll

  ④regsvr.exe /s ole.dll

  ⑤regsvr.exe /s shell.dll

  ⑥regsvr.exe /s initpki.dll

  ⑦regsvr.exe /s wuapi.dll

  ⑧regsvr.exe /s wuaueng.dll

  ⑨regsvr.exe /s wuaueng.dll

  ⑩regsvr.exe /s wucltui.dll

  Ⅰregsvr.exe /s wups.dll

  Ⅱregsvr.exe /s wups.dll

  Ⅲregsvr.exe /s wuweb.dll

  Ⅳregsvr.exe /s qmgr.dll

  Ⅴregsvr.exe /s qmgrprxy.dll

  Ⅵregsvr.exe /s wucltux.dll

  Ⅶregsvr.exe /s muweb.dll

  Ⅷregsvr.exe /s wuwebv.dll

  ⅨWrite-Host ") Removing WSUS client settings..."

  ⅩREG DELETE "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v AountDomainSid /f

  ㈠REG DELETE "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v PingID /f

  ㈡REG DELETE "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v SusClientId /f

  ㈢Write-Host ") Resetting the WinSock..."

  ㈣sh winsock reset

  ㈤sh winhttp reset proxy

  ㈥Write-Host ") Delete all BITS jobs..."

  ㈦Get-BitsTransfer | Remove-BitsTransfer

  ㈧Write-Host ") Attempting to install the Windows Update Agent..."

  ㈨if($arch -eq ){

  ㈩wusa Windows-RT-KB-x /quiet

  wusa Windows-RT-KB-x /quiet

  Write-Host ") Starting Windows Update Services..."

  Start-Service -Name BITS

  Start-Service -Name wuauserv

  Start-Service -Name appidsvc

  Start-Service -Name cryptsvc

  Write-Host ") Forcing discovery..."

  wuauclt /resetauthorization /detectnow

  Write-Host "Process plete. Please reboot your puter."

  大家可以尝试使用以上小编分享介绍的个方法来进行解决修复,有需要的用户快来试试吧!

  Win系统更新错误x解决方法

  win无法创建文件夹 错误:xFFFF 灾难性故障 该怎么办?