[wpkg-users] Uninstall windows Patches/KB...

Marco Gaiarin gaio at lilliput.linux.it
Fri Sep 15 13:27:03 CEST 2023


Supposing i need to uninstall a particular KB, supposing KB5030211.


Normally i do:

	wusa /uninstall /kb:5030211 /quiet /norestart

but for that particular KB i cannot use the /quiet switch: uninstallation
simply stall.

Also the KB page:

	https://support.microsoft.com/it-it/topic/september-12-2023-kb5030211-os-builds-19044-3448-and-19045-3448-c0dee353-f025-4f03-bcc1-336f74fb992c

report:

	If you want to remove the LCU
	To remove the LCU after installing the combined SSU and LCU package, use the DISM/Remove-Package command line option with the LCU package name as the argument. You can find the package name by using this command: DISM /online /get-packages.
	Running Windows Update Standalone Installer (wusa.exe) with the /uninstall switch on the combined package will not work because the combined package contains the SSU. You cannot remove the SSU from the system after installation.

and effectively using:

	DISM.exe /Online /Remove-Package /PackageName:<name> /quiet

works as expected BUT... '<name>' seems totally unrelated to KB name.


How can i map, possibly automatically, KB name and Package name?



Thanks.

-- 
  Il ministro dei temporali in un tripudio di tromboni
  auspicava democrazia con la tovaglia sulle mani
  e le mani sui coglioni				(F. De Andre`)




More information about the wpkg-users mailing list