好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

win10版本1903更新错误0x80004002解决方法

内容概述

可能有的小伙伴就会遇到更新错误故障,并且提示代码0x80004002的情况。对于这种问题小编觉得可能还是因为我们系统更新过程中出现了一些损坏导致。可以使用代码进行相关修复即可。

可能有的小伙伴就会遇到更新 错误 故障,并且 提示 代码 0x80004002的情况。对于这种问题小编觉得可能还是因为我们系统更新过程中出现了一些损坏导致。可以使用 代码 进行相关修复即可。

win101903更新 错误 0x80004002怎么 解决

1、首先同时按“ Win+X ”键,点选“ Windows PowerShell( 管理员 ) ”。

2、然后拷贝下方的程序码到刚打开的 PowerShell里面 ,按回车。

3、此时需要忽略红字 错误 , 重启电脑。

4、然后再次运行 Windows Update。

$arch = Get-WMIObject -Class Win32_Processor -Co mpu terName LocalHost |

Select-Object AddressWidth

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

Stop-Service -Name BITS

Stop-Service -Name wuauserv

Stop-Service -Name appidsvc

Stop-Service -Name cryptsvc

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

Remove-Item "$env:allusersprofileApplication

DataMicrosoftNetworkDownloaderqmgr*.dat" -ErrorAction SilentlyContinue

Write-Host "3. Renaming the Software dis tribution and CatRoot Folder..."

Rename-Item $env:sy stem rootSoftware dis tribution Software dis tribution.bak

-ErrorAction SilentlyContinue

Rename-Item $env:sy stem rootSy stem 32Catroot2 catroot2.bak -ErrorAction

SilentlyContinue

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

Remove-Item $env:sy stem roo twind owsUpdate.log -ErrorAction

SilentlyContinue

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

settings..."

"sc.exe sdset bits

D:(A;; ccl CSWRPWPDTLOCRRC;;;SY)(A;;C cdcl CSWRPWPDTLOCRSDRCWDWO;;;BA)(A;; ccl CSWLOCRRC;;;AU)(A;; ccl CSWRPWPDTLOCRRC;;;PU)"

"sc.exe sdset wuauserv

D:(A;; ccl CSWRPWPDTLOCRRC;;;SY)(A;;C cdcl CSWRPWPDTLOCRSDRCWDWO;;;BA)(A;; ccl CSWLOCRRC;;;AU)(A;; ccl CSWRPWPDTLOCRRC;;;PU)"

Set-Location $env:sy stem rootsy stem 32

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

regsvr32.exe /s atl.dll

regsvr32.exe /s urlmon.dll

regsvr32.exe /s mshtml.dll

regsvr32.exe /s shdocvw.dll

regsvr32.exe /s bro wseui.dll

regsvr32.exe /s jscript.dll

regsvr32.exe /s vbscript.dll

regsvr32.exe /s scrrun.dll

regsvr32.exe /s msxml.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 r SAE nh.dll

regsvr32.exe /s gpkcsp.dll

regsvr32.exe /s sccbase.dll

regsvr32.exe /s slbcsp.dll

regsvr32.exe /s cryptdlg.dll

regsvr32.exe /s oleaut32.dll

regsvr32.exe /s ole32.dll

regsvr32.exe /s shell32.dll

regsvr32.exe /s initpki.dll

regsvr32.exe /s wuapi.dll

regsvr32.exe /s wuaueng.dll

regsvr32.exe /s wuaueng1.dll

regsvr32.exe /s wucltui.dll

regsvr32.exe /s wups.dll

regsvr32.exe /s wups2.dll

regsvr32.exe /s wuweb.dll

regsvr32.exe /s qmgr.dll

regsvr32.exe /s qmgrprxy.dll

regsvr32.exe /s wucltux.dll

regsvr32.exe /s muweb.dll

regsvr32.exe /s wuwebv.dll

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

REG DELETE "HKLMSOFTWAREMicrosof twind owsCurrentVersionWindowsUpdate" /v

AccountDomainSid /f

REG DELETE "HKLMSOFTWAREMicrosof twind owsCurrentVersionWindowsUpdate" /v

PingID /f

REG DELETE "HKLMSOFTWAREMicrosof twind owsCurrentVersionWindowsUpdate" /v

SusClientId /f

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

netsh winsock reset

netsh winhttp reset proxy

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

Get-BitsTransfer | Remove-BitsTransfer

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

if($arch -eq 64){

wusa Windows8-RT-KB2937636-x64 /quiet

}

else{

wusa Windows8-RT-KB2937636-x86 /quiet

}

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

Start-Service -Name BITS

Start-Service -Name wuauserv

Start-Service -Name appidsvc

Start-Service -Name cryptsvc

Write-Host "12) Forcing dis covery..."

wuauclt /resetauthorization /detect Now

Write-Host "Process complete. Please reboot your co mpu ter."

你可能还想看:怎么 关闭 防火墙?|?定位服务怎么 关闭

总结

以上是 为你收集整理的 win10版本1903更新错误0x80004002解决方法 全部内容。

如果觉得 网站内容还不错,欢迎将 网站 推荐给好友。

Win11右键设计反人类?教你恢复Win11完整右键菜单方法

微软已经在10月5日发布了Windows 11正式版,很多朋友也已经升级了。不过对于Win11的一些新设计,并不是所有人都能适应的,例如新的右键快捷菜单,就不少朋友表示接受不了。

win11右键怎么设置原来的模样 win11右键菜单改回传统模式操作方法

今天小编就来为大家具体讲一讲win11右键菜单改回传统模式教程,需要的朋友一起看看。

win10右键新建卡顿2023解决方法

在使用我们的鼠标在桌面新建文件夹的时候,总是会出现一些卡顿延迟的情况,对于急性子来说,简直非常不友好没那么这个问题该怎么去解决呢,其实重装鼠标驱动或者使用命令代码都能解决。

win7升级win10会变流畅吗

在软件宣布对win7系统停止支持,将不会对win7系统有任何的更新和修复,大家在继续使用win7系统会有很大的风险,如果电脑支持我们升级win10系统运行起来也不会有卡顿的哦!

win7升级win10错误代码0x80072f8f-0x20000解决方法

win7系统目前微软已经不支持更新和修复出现的问题了,大家都在把win7升级为win10系统。其中出现错误代码0x80072f8f-0x20000该如何解决?这里帮助大家详细讲解一下解决方法,希望对大家有帮助!

win10右键显示设置打不开怎么办

有很的用户们在重装系统之后,或者不小心对系统文件进行了清理,导致在使用win10系统的时候,鼠标右键无法打开显示设置了,这时候只要先执行命令,再去服务中打开相关内容即可。

win7升级win10需要多少内存

win7在微软停止服务之后大家为了电脑更加安全,很多用户都选择升级为win10系统。在升级之前大家想了解一下win10系统需要多少内存才支持,这里详细讲解win10需要的电脑配置。

win11跳过联网激活方法

很多预装了win11的电脑在首次开机的时候会需要联网激活,但是激活后我们就无法验机确认了,这时候可以通过按下快捷键,再使用命令代码的方法来跳过联网激活。

查看更多关于win10版本1903更新错误0x80004002解决方法的详细内容...

  阅读:20次