首頁  >  文章  >  Windows補丁無法解除安裝怎麼辦

Windows補丁無法解除安裝怎麼辦

WBOY
WBOY轉載
2023-06-29 16:25:265040瀏覽

Windows補丁無法解除安裝怎麼辦? win10 系統作為目前熱門電腦系統,在更新補丁很多時候會發生錯誤。使用者想要卸載這些補丁會發現無法操作,試過各種方法依然無法解決,這時候需要透過管理員權限開啟cmd用指令來卸載,為了讓大家解決這個難題,下面小編就帶給大家解決win10補丁無法卸載的方法,有遇到相同的問題可以一起試試看。

Windows補丁無法解除安裝怎麼辦

解決win10補丁無法卸載的方法

#透過指令卸載

##用管理員權限執行CMD,然後在命令提示字元中輸入以下命令看是否可以卸載KB*****。

wusa /uninstall /KB:******

如果還是無法卸載,建議在安全模式下進行卸載。

如果還是無法卸載,我懷疑可能在更新的時候存在文件損壞,運行“sfc /scannow”命令嘗試修復系統文件,重置 Windows 更新組件。

手動重設 Windows 更新元件

開啟 Windows 命令提示字元。若要開啟命令提示符,請按一下 “開始” > “執行”。複製並貼上(或鍵入)以下命令,然後按 Enter:

cmd

#停用 BITS 服務、Windows 更新服務和加密服務。為此,請在命令提示字元中鍵入以下命令。鍵入每個命令後按 Enter。

net stop bits

net stop wuauserv

net stop cryptsvc

刪除 qmgr*.dat 檔案。為此,請在命令提示字元中鍵入以下命令,然後按Enter:

Del “%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat”

如果這是使用本文中的步驟解決Windows更新問題的首次嘗試,請前往步驟5,而無需執行步驟4 中的步驟。如果在執行步驟 4 以外的所有步驟後仍無法解決 Windows 更新問題,則只能在此時在故障排除中執行步驟 4 中的步驟。上述「攻擊性」的模式也會在步驟 4 中執行。

將以下文件夾重命名為*.BAK:

%Systemroot%SoftwareDistributionDataStore

%Systemroot%SoftwareDistributionDownload

%Systemroot%System32catroot2

為此,請在命令提示字元中鍵入以下命令。鍵入每個命令後按 Enter。

Ren %Systemroot%SoftwareDistributionDataStore DataStore.bak

Ren %Systemroot%SoftwareDistributionDownload Download.bak

Ren %Systemroot%System32cat2 catroot2.bak2 catroot#BIpak服務和Windows 更新服務設定為預設的安全描述符。為此,請在命令提示字元中鍵入以下命令。鍵入每個命令後按 Enter。

sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(AWP;;CCLCSWRPDTLOCRRC; ;PU)

sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;; CCLCSWRPWPDTLOCRRC;;;PU)

在命令提示字元下鍵入以下命令,然後按Enter:

cd /d %windir%system32

#重新註冊BITS 檔案和Windows更新文件。為此,請在命令提示字元中鍵入以下命令。鍵入每個命令後按 Enter。

regsvr32.exe atl.dll

regsvr32.exe urlmon.dll

regsvr32.exe mshtml.dll

regsvr32.exe shdocvw.dll

#regsvr32.exe browseui.dll

regsvr32.exe j .dll

regsvr32.exe .dll

#regsvr32.exe scrrun.dll

regsvr32.exe scrrun.dll

#regsvr32.exe ms .dll

regsvr32.exe ms 3.dll

regsvr32.exe ms 6.dll

#regsvr32.exe act xp rxy.dll

regsvr32.exe softpub.dll

regsvr32.exe wintrust.dll

regsvr32.exe dssenh.dll

regsvr32.exe rsaenh.dll

regsvr32.exe gpkcsp.dll

regsvr32.exe sccbase.dll

regsvr32.exe slbcsp.dll

##regsvr32.exe cryptdlglg.dll

#svr2##svr32.exe cryptdlg.dll

#svr2## .exe oleaut32.dll

regsvr32.exe ole32.dll

regsvr32.exe shell32.dll

#regsvr32.exe initpki.dll

#regsvr

#regsvr32.exe initpki.dll

#regsvr

#regsvr32.exe initpki.dll

#regsvr

# wuapi.dll

regsvr32.exe wuaueng.dll

regsvr32.exe wuaueng1.dll

regsvr32.exe wucltui.dll

regsvr32.exe wups. dll

regsvr32.exe wups2.dll

regsvr32.exe wuweb.dll

regsvr32.exe qmgr.dll

Windows補丁無法解除安裝怎麼辦regsvr32.exe qmgrprxy.dll

#regsvr32.exe wucltux.dll

regsvr32.exe muweb.dll

#regsvr32.exe muweb.dll

重置Winsock。為此,請在命令提示字元中鍵入下列命令,然後按 Enter:######netsh winsock reset######在使用 Windows XP 或 Windows Server 2003 執行時,需要設定代理設定。為此,請在命令提示字元中鍵入下列命令,然後按 Enter:######proxycfg.exe -d######重新開啟 BITS 服務、Windows 更新服務和加密服務。為此,請在命令提示字元中鍵入以下命令。鍵入每個命令後按 Enter。 ###

net start bits

net start wuauserv

net start cryptsvc

如果正在執行 Windows Vista 或 Windows Server 2008,請清除 BITS 佇列。為此,請在命令提示字元中鍵入以下命令,然後按Enter:

bitsadmin.exe /reset /allusers

當然我想如果有還原點,系統還原到安裝KB之前的狀態也可以。

以上是本站關於【Windows補丁無法卸載怎麼辦】的全部內容,更多電腦教學請繼續關注本站。

以上是Windows補丁無法解除安裝怎麼辦的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:chromezj.com。如有侵權,請聯絡admin@php.cn刪除