Home > Common Problem > What to do if Windows patches cannot be uninstalled

What to do if Windows patches cannot be uninstalled

WBOY
Release: 2023-06-29 16:25:26
forward
5118 people have browsed it

What should I do if Windows patches cannot be uninstalled? Win10 system is currently a popular computer system, and errors often occur when updating patches. Users who want to uninstall these patches will find that it is inoperable. They have tried various methods and still cannot solve it. At this time, they need to open cmd with administrator rights and use commands to uninstall. In order to help everyone solve this problem, the editor below will bring you a solution. How to solve the problem of uninstalling win10 patch. If you encounter the same problem, you can try it together.

What to do if Windows patches cannot be uninstalled

How to solve the problem that win10 patch cannot be uninstalled

Uninstall through command

Run CMD with administrator privileges. Then enter the following command in the command prompt to see if KB***** can be uninstalled.

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

If you still cannot uninstall, it is recommended to uninstall in safe mode.

If it still cannot be uninstalled, I suspect that there may be file corruption during the update. Run the "sfc /scannow" command to try to repair the system files and reset the Windows update components.

Manually Reset Windows Update Components

Open a Windows Command Prompt. To open a command prompt, click Start > Run. Copy and paste (or type) the following command and press Enter:

cmd

Disable the BITS service, Windows Update service, and Encryption service. To do this, type the following command at the command prompt. Press Enter after each command.

net stop bits

net stop wuauserv

net stop cryptsvc

Delete the qmgr*.dat file. To do this, type the following command at the command prompt and press Enter:

Del "%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat"

If this is a Windows issue use the steps in this article On your first attempt to update the issue, go to step 5 without performing the steps in step 4. If you still can't resolve your Windows Update issue after performing all steps except step 4, you can only perform step 4 in troubleshooting at this time. The "aggressive" mode described above is also performed in step 4.

Rename the following folder to *.BAK:

%Systemroot%SoftwareDistributionDataStore

%Systemroot%SoftwareDistributionDownload

%Systemroot%System32catroot2

To do this, type the following command at the command prompt. Press Enter after each command.

Ren %Systemroot%SoftwareDistributionDataStore DataStore.bak

Ren %Systemroot%SoftwareDistributionDownload Download.bak

Ren %Systemroot%System32catroot2 catroot2.bak

Replace BITS Services and the Windows Update service are set to the default security descriptor. To do this, type the following command at the command prompt. Press Enter after each command.

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)

Type the following command at the command prompt and press Enter:

cd /d %windir%system32

Re-register the BITS file and Windows Update files. To do this, type the following command at the command prompt. Press Enter after each command.

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 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 cryptdlg.dll

regsvr32 .exe oleaut32.dll

regsvr32.exe ole32.dll

regsvr32.exe shell32.dll

regsvr32.exe initpki.dll

regsvr32.exe 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

regsvr32.exe qmgrprxy.dll

regsvr32.exe wucltux.dll

regsvr32.exe muweb.dll

regsvr32.exe wuwebv.dll

What to do if Windows patches cannot be uninstalled

Reset Winsock. To do this, type the following command at the command prompt and press Enter:

netsh winsock reset

When running with Windows XP or Windows Server 2003, you need to configure proxy settings. To do this, type the following command at the command prompt and press Enter:

proxycfg.exe -d

Restart the BITS service, Windows Update service, and Encryption service. To do this, type the following command at the command prompt. Press Enter after each command.

net start bits

net start wuauserv

net start cryptsvc

If you are running Windows Vista or Windows Server 2008, clear the BITS queue. To do this, type the following command in the command prompt and press Enter:

bitsadmin.exe /reset /allusers

Of course I want to restore the system to before installing the KB if there is a restore point status is also available.

The above is the entire content of this site on [What to do if Windows patches cannot be uninstalled]. Please continue to pay attention to this site for more computer tutorials.

The above is the detailed content of What to do if Windows patches cannot be uninstalled. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:chromezj.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template