網站首頁 教育 學前教育 精緻生活 飲食養生 命理 科普教育 金融 歷史 影視 數碼 熱門資訊
當前位置:生活百科站 > 數碼 > 

WIN10系統更新2004版本卡在49%

欄目: 數碼 / 釋出於: / 人氣:4.92K

當我們想要將自己正在使用的win10作業系統升級更新到win102004版本的話,對於在更新的過程中出現的WIN10系統更新2004版本卡在49%一直不動的情況,小編覺得我們可以先檢查一下自己的網路,如果沒有問題還有可以在管理員許可權下使用命令提示符來修復。詳細內容就來看下小編是怎麼做的吧~

WIN10系統更新2004版本卡在49%

【win10 2004常見問題】

可能是因為您的更新元件有缺失的情況。

請您嘗試下方方法,手動註冊Windows Update元件:

1.同時按【Win+X】鍵,點選【Windows PowerShell(管理員)】

2.拷貝下方的程式碼到剛開啟的PowerShell裡面,按回車

WIN10系統更新2004版本卡在49% 第2張

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*" -ErrorAction SilentlyContinue

Write-Host "3. Renaming the Software Distribution and CatRoot Folder..."

Rename-Item $env:systemrootSoftwareDistribution -ErrorAction SilentlyContinue

Rename-Item $env:systemrootSystem32Catroot2 -ErrorAction SilentlyContinue

Write-Host "4. Removing old Windows Update log..."

Remove-Item $env: -ErrorAction SilentlyContinue

Write-Host "5. Resetting the Windows Update Services to defualt settings..."

" sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"

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

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

/s

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

以上就是小編給各位小夥伴帶來的WIN10系統更新2004版本卡在49%的所有內容,希望你們會喜歡。

Tags:win10 系統