win10系统更新错误0x8007042B解决方法
对in10系统准备升级更新的时候,有的小伙伴们可能遇到提示出错0x8007042B,对于这种问题电脑维修网小编觉得可能是因为我们系统更新的时候出现了一些问题,可以在指定的系统运行DiagPackage.diagpkg程序即可,来看看详细操作吧。
in10系统更新错误0x8007042B
方法一
1、按下快捷键“ctrl+alt+del”打开任务管理器。
2、然后找到其中的恶意程序,右击选择“结束任务”。
3、然后尝试in10系统的更新即可。
方法二
1、可到以下途径,尝试运行“DiagPackage.diagpkg”
C:\Windos\diagnostics\system\WindosUpdate\DiagPackage.diagpkg
2、如果以上不行,试试按查找>Poershell(选择 ISE)>右键>用管理员运行>把以下拷贝到里面
运行>运行完后重启电脑>然后再试试看。
$arch = Get-WMIObject -Class Win32_Processor -ComputerName LocalHost | Select-Object AddressWidth
Write-Host "1. Sping Windos Update Services..."
S-Service -Name BITS
S-Service -Name uauserv
S-Service -Name appidsvc
S-Service -Name cryptsvc
Write-Host "2. Remove QMGR Data file..."
Remove-Item "$env:allusersprofile\Application Data\Microsoft\Netork\Donloader\qmgr.dat" -ErrorAction SilentlyContinue
Write-Host "3. Renaming the Softare Distribution and CatRoot Folder..."
Rename-Item $env:systemroot\SoftareDistribution SoftareDistribution.bak -ErrorAction SilentlyContinue
Rename-Item $env:systemroot\System32\Catroot2 catroot2.bak -ErrorAction SilentlyContinue
Write-Host "4. Removing old Windos Update log..."
Remove-Item $env:systemroot\WindosUpdate.log -ErrorAction SilentlyContinue
Write-Host "5. Resetting the Windos Update Services to defualt settings..."
"sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
"sc.exe sdset uauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
Set-Location $env:systemroot\system32
Write-Host "6. Registering some DLLs..."
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocv.dll
regsvr32.exe /s broseui.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 intrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s gpkcsp.dll
regsvr32.exe /s sbase.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 uapi.dll
regsvr32.exe /s uaueng.dll
regsvr32.exe /s uaueng1.dll
regsvr32.exe /s ucltui.dll
regsvr32.exe /s ups.dll
regsvr32.exe /s ups2.dll
regsvr32.exe /s ueb.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s qmgrprxy.dll
regsvr32.exe /s ucltux.dll
regsvr32.exe /s mueb.dll
regsvr32.exe /s uebv.dll
Write-Host "7) Removing WSUS client settings..."
REG DELETE "HKLM\SOFTWARE\Microsoft\Windos\CurrentVersion\WindosUpdate" /v AountDomainSid /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windos\CurrentVersion\WindosUpdate" /v PingID /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windos\CurrentVersion\WindosUpdate" /v SusClientId /f
Write-Host "8) Resetting the WinSock..."
sh insock reset
sh inhttp reset proxy
Write-Host "9) Delete all BITS jobs..."
Get-BitsTransfer | Remove-BitsTransfer
Write-Host "10) Attempting to install the Windos Update Agent..."
if($arch -eq 64){
usa Windos8-RT-KB2937636-x64 /quiet
}
else{
usa Windos8-RT-KB2937636-x86 /quiet
}
Write-Host "11) Starting Windos Update Services..."
Start-Service -Name BITS
Start-Service -Name uauserv
Start-Service -Name appidsvc
Start-Service -Name cryptsvc
Write-Host "12) Forcing discovery..."
uauclt /resetauthorization /detectno
Write-Host "Process plete. Please reboot your puter."
你可能还想看 |
|
|
|
|
|
|
|
|
电脑操作系统
- 乌鲁木齐佑玛壁挂炉24小时服务热线
- 江门热水器故障码E1-江门电热水器E1故障
- 阳春热水器显示故障码维修-阳春热水器故障码
- 珠海靖江燃气灶厂家服务热线
- 许昌洗衣机厂家服务热线—— 400统一服务中心
- 珠海衢州热水器售后服务电话—— 全国统一人工
- 温岭洗衣机24小时服务电话—全国统一人工【7X
- 扬州中央空调24小时电话多少-扬州中央空调官方
- 郑州米特拉空气能售后维修服务中心—— (7X2
- 长春溧阳壁挂炉售后服务电话
- 泰安集成灶全国各市区售后24小时服务热线
- 江阴洗衣机维修售后售后400中心电话
- 长春呼和浩特壁挂炉售后服务电话-全国统一人工
- 苏州维修空调电话-苏州维修空调电话号码是多少
- 庄河集成灶售后维修服务电话-全国统一人工【
- 新余洗衣机服务24小时热线—全国统一人工【7X