当前位置:主页 > XP教程 >

win7系统更新win7 2004版卡在49%一直不动如何处理

时间:2016-09-23作者:xp系统之家 来源:http://www.37m.cn


win7系统更新win7 2004版卡在49%一直不动如何处理?

微软向用户增强推出win7 2004版本已经有一段时间了。许多小朋友想对自己电脑进行升级更新,实际升级过程中遭遇了升级卡在了49%,一直不动。排除网络故障,接下来跟随爱装机知道下全部的处理方法。

 

win7系统更新win7 2004版卡在49%一直不动的处理方法:

第一步:同时按住【win + x】键,菜单栏中选择【win powershell(管理成员)】。

第二步:复制以下的程序码粘贴到刚打开的powershell里面,然后按回车键。

$arch = Get-wMiobject -Class win32_processor -Computername LocalHost | select-object Addresswidth

write-Host "1. stopping win 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:allusersprofile\Application data\Microsoft\network\downloader\qmgr*.dat" -ErrorAction silentlyContinue

write-Host "3. Renaming the software distribution and CatRoot Folder..."

Rename-item $env:systemroot\softwaredistribution softwaredistribution.bak -ErrorAction silentlyContinue

Rename-item $env:systemroot\system32\Catroot2 catroot2.bak -ErrorAction silentlyContinue

write-Host "4. Removing old win update log..."

Remove-item $env:systemroot\winupdate.log -ErrorAction silentlyContinue

write-Host "5. Resetting the win 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: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 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 "HKLM\soFTwARE\Microsoft\win\CurrentVersion\winupdate" /v Accountdomainsid /f

REG dELETE "HKLM\soFTwARE\Microsoft\win\CurrentVersion\winupdate" /v pingid /f

REG dELETE "HKLM\soFTwARE\Microsoft\win\CurrentVersion\winupdate" /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 win update Agent..."

if($arch -eq 64){

wusa winxp-RT-KB2937636-x64 /quiet

}

else{

wusa winxp-RT-KB2937636-x86 /quiet

}

write-Host "11) starting win 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."

第三步:忽略红字错误,重启win7电脑后直接正常升级系统。

上述便是win7系统更新win7 2004版卡在49%一直不动的处理办法,win7系统电脑故障众多处理办法关注爱装机。

我要分享:

本站发布的ghost系统与电脑软件仅为个人学习测试使用,不得用于任何商业用途,否则后果自负!