win102004更新卡在49%怎么办_win10升级更新2004版卡在49%解决办法

时间:2022-10-14 23:34:51 

最近win102004更新开放了之后,很多用户都在更新最新的2004版系统了,但是有部分用户发现自己更新到49%的时候卡主了,解决方法不是很麻烦,一起来看看吧。

【win10 2004问题汇总】

win102004更新卡在49%怎么办

问题情况:

安装总是卡49%,重启过也没用。

win102004更新卡在49%怎么办_win10升级更新2004版卡在49%解决办法

解决方法一:

等待,在网络情况正常的话,多等一会,时间过长比如2个小时或以上再看看方法二。

解决方法二:

1、同时按【Win + X】键,点选【Windows PowerShell(管理成员)】

win102004更新卡在49%怎么办_win10升级更新2004版卡在49%解决办法

2、复制下面的程序码到刚打开的PowerShell里面,按回车

$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..."

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 discovery..."

wuauclt /resetauthorization /detectnow

Write-Host "Process complete. Please reboot your computer."

3、忽略红字错误,重启电脑

win102004更新卡在49%怎么办_win10升级更新2004版卡在49%解决办法

4、运行Windows Update即可正常运行。

标签:win10升级更新2004版卡在49%解决办法
0
投稿

猜你喜欢

  • WinXP SP1如何增加虚拟内存以解决程序卡慢问题

    2023-03-26 17:37:15
  • 佳佳数据恢复软件恢复Shift+Del删除的文件

    2023-10-08 01:13:43
  • 电脑系统缓存文件在哪

    2023-08-08 01:08:45
  • 设置使用资源管理器打开FTP的方法

    2022-06-16 05:39:38
  • 在Excel中如何进行分析和设置格式?Excel for Mac使用教程详解

    2023-08-19 23:42:33
  • 小编教你闪存盘和U盘的区别

    2022-07-10 18:34:17
  • Win11安全模式怎么进 Win11怎么进入安全模式修复系统

    2022-01-18 09:07:02
  • Win10启动DNF游戏硬盘占用率100%怎么解决?

    2023-05-16 15:56:16
  • Win10如何设置图片打开方式?Win10设置图片打开方式的方法

    2022-04-19 17:16:29
  • Excel 2019如何删除分类汇总

    2023-01-17 23:04:32
  • excel设置文本格式的快捷键

    2022-11-10 05:25:18
  • Excel默认调色板颜色索引对照表

    2022-08-11 19:13:06
  • Win7系统word打不开提示模板损坏的解决方法

    2022-12-19 11:15:41
  • WPS表格技巧—在合并单元格中批量输入连续序号

    2022-10-16 10:21:18
  • Win10 音量图标不见了无法调节音量大小怎么办

    2023-02-17 14:47:31
  • 新版谷歌浏览器如何安装第三方插件?新版谷歌浏览器安装第三方插件的方法

    2022-06-17 18:39:08
  • 巧设msconfig 让Windows7系统启动更快一步[图文方法介绍]

    2023-06-26 18:08:51
  • 关于WannaCry勒索病毒 你需要知道的8个问题

    2022-02-11 07:51:56
  • win98如何获知IP和MAC地址

    2023-08-04 01:56:04
  • PowerPoint2013 PPT形状默认填充颜色修改

    2023-06-06 09:33:21
  • asp之家 电脑教程 m.aspxhome.com