-
如何解决Win10 1803升级Win10 1909失败?
- 作者:李遵顼 分类:win10 发布时间:2021-06-09 00:44:24
Win10 1803更新升级Win10 1909失败怎么办?目前Windows10系统最新的版本是Win10 1909系统,因为win7系统的停止支持,所以越来越多的朋友都升级了Win10 1909系统。很多使用Win10 1803系统的朋友开始准备升级了Win10 1909,但是却升级失败了,错误代码x80004005,那我们应该如何解决这个问题呢?今天小编就来向大家简单的介绍一下Win10 1803升级Win10 1909失败的解决方法,希望大家会喜欢。 Win10 1803升级Win10 1909失败的解决方法: 手动注册Windows Update组件: 1. 同时按【Win+X】键...
Win10 1803更新升级Win10 1909失败怎么办?目前Windows10系统最新的版本是Win10 1909系统,因为win7系统的停止支持,所以越来越多的朋友都升级了Win10 1909系统。很多使用Win10 1803系统的朋友开始准备升级了Win10 1909,但是却升级失败了,错误代码x80004005,那我们应该如何解决这个问题呢?今天小编就来向大家简单的介绍一下Win10 1803升级Win10 1909失败的解决方法,希望大家会喜欢。
Win10 1803升级Win10 1909失败的解决方法:
手动注册Windows Update组件:
1. 同时按【Win+X】键,点选【Windows PowerShell(管理员)】
2. 拷贝下方的程序码到刚打开的PowerShell里面,按回车
3. 忽略红字错误,重启电脑
4. 运行Windows Update
$arch = Get-WMIObject -Class Win32_Processor -ComputerName 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 Distribution and CatRoot Folder..."
Rename-Item $env:systemrootSoftwareDistribution SoftwareDistribution.bak -ErrorAction SilentlyContinue
Rename-Item $env:systemrootSystem32Catroot2 catroot2.bak -ErrorAction SilentlyContinue
Write-Host "4. Removing old Windows Update log..."
Remove-Item $env:systemrootWindowsUpdate.log -ErrorAction SilentlyContinue
Write-Host "5. Resetting the Windows 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 wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
Set-Location $env:systemrootsystem32
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 browseui.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 rsaenh.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 "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v AccountDomainSid /f
REG DELETE "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v PingID /f
REG DELETE "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /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..."
猜您喜欢
- win10扫描仪缺少WIA驱动?这个修复方法..2024-05-02
- 如何找回Win10默认英文输入法:设置路..2024-05-02
- 帝国时代2黑屏问题,win10下玩不了?轻..2024-05-02
- Win10硬盘合并大法:轻松解决分区难题..2024-05-02
- Win10删除3D对象文件夹,轻松几步让你..2024-05-01
- Win10默认看图软件误删?恢复方法大揭..2024-05-01
相关推荐
- Win10 CMD命令提示符有哪些使用技巧?使..2023-05-02
- Windows10系统下如何输入商标符号..2023-01-10
- win10系统重置失败一直卡在42%如何解决..2021-03-25
- win10系统电脑本地出现黄色三角形感叹..2023-01-02
- 揭秘:Windows10隐藏文件后缀名,你的电..2023-12-19
- 为什么win10电脑打开桌面什么都没有..2021-05-09