win102004更新总是重启卡死

操作系统 2023-07-15 15:49www.caominkang.comlinux操作系统

对于我们已经升级安装了的in102004操作系统,有的小伙伴们可能在更新之后就出现了in10版本2004系统更新总是重启卡死的情况。对于这种问题电脑维修网小编觉得我们可以先进入电脑的安全模式,然后使用管理员权限的命令提示符进行相关问题的排除修复即可。详细步骤就来看下电脑维修网小编是怎么做的吧~

【】

in102004更新总是重启卡死

方法一

手动注册Windos Update组件

1.按【Win+X】键,点选【Windos PoerShell(管理员)】

2.拷贝下方的程序码到刚打开的PoerShell里面,按回车

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

4.运行Windos Update

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

方法二

1.进入安全模式

2.打开【资源浏览器】,前往【C:\Windos\ServiceProfiles\LocalService\AppData\Local\Microsoft\NGC】

3.删除【NGC】文件夹里面的所有文件

(如果由于管理员权限问题而无法删除,请您为【NGC】重新命名为【NGC.old】

4.重启电脑

5.右键任务栏WINDOWS图标-【设置】-【账户】-【登陆选项】

6.重新设置PIN

《进入安全模式方法》

1.登陆界面中,按住shift,点击【电源】按钮,点击【重启】

2.【疑难解答】-【高级选项】-【启动设置】,点击【重启】

3.重启后,按F5尝试进入【网络安全模式】,看看是否能够进入

以上就是电脑维修网电脑维修网小编给各位小伙伴带来的in102004更新总是重启卡死的所有内容,电脑维修网希望你们会喜欢。更多相关教程请收藏系统家园~





Copyright © 2016-2025 www.caominkang.com 曹敏电脑维修网 版权所有 Power by