IT袋

当前位置:主页 > 经验教程 > 系统教程 >

KB4541335无法安装怎么办

kb4592449安装不上 KB4541335无法安装怎么办(2)

更新:2023-07-13 08:28:08 来源:IT袋 作者:马勇
导读:KB4541335无法安装怎么办,Rename-Item $env:systemroot\SoftwareDistribution SoftwareDistribution.bak -ErrorAction SilentlyContinue Rename-Item $env:systemroot\System32\Catroot2 catroot2.bak -ErrorAction SilentlyContinue Write-H

KB4541335无法安装怎么办

Rename-Item $env:systemroot\SoftwareDistribution SoftwareDistribution.bak -ErrorAction SilentlyContinue

Rename-Item $env:systemroot\System32\Catroot2 catroot2.bak -ErrorAction SilentlyContinue

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

Remove-Item $env:systemroot\WindowsUpdate.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: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\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /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..."

相关阅读

  • win11更新后无法进入桌面 更新win11没有桌面解决教程

    win11更新后无法进入桌面 更新win11没有桌面解决教程

    小编为大家说一说更新win11没有桌面解决教程的话题,关于win11更新后无法进入桌面 更新win11没有桌面解决教程,下面为详细的介绍。 许多IT袋网友在更新到最新的win11系统后,发现自己没有桌

  • vive怎么用 win7能不能玩vive详细介绍

    vive怎么用 win7能不能玩vive详细介绍

    今天小编介绍win7能不能玩vive详细介绍方面的知识,关于win7能不能玩vive详细介绍,下面IT袋为您详细介绍 vive能够给玩家们带来最真实逼真的游戏体验,但是有不少的玩家还在使用win7系统不知

  • 一键重装系统哪个软件好用 电脑恢复出厂设置方法

    一键重装系统哪个软件好用 电脑恢复出厂设置方法

    本文为你详解一键重装系统哪个软件好用和电脑恢复出厂设置方法IT技巧方面的经验,请看下面详细的介绍。 如果你的电脑出现了一些问题,比如系统崩溃、病毒感染等,而且尝试修复无果,

  • 可以翻译网页浏览器推荐 什么浏览器网页翻译好用

    可以翻译网页浏览器推荐 什么浏览器网页翻译好用

    为网友们解答可以翻译网页浏览器推荐的话题,关于可以翻译网页浏览器推荐 什么浏览器网页翻译好用,相关内容具体如下: 在日常浏览网页的时候很多的网页都是全英文的这就给使用带来了