[wpkg-users] Uninstall windows Patches/KB...
Marco Gaiarin
gaio at lilliput.linux.it
Fri Oct 20 12:26:41 CEST 2023
Mandi! Pawel Jagoda
In chel di` si favelave...
>> How can i map, possibly automatically, KB name and Package name?
> Get-WindowsPackage -Online |ft -Autosize
OK, i can confirm that works; looking at dates, seems that patch that have
to be removed is the 'ServicingStack' ones, eg:
PS P:\> Get-WindowsPackage -Online -PackageName "*ServicingStack*" | ft
PackageName PackageState ReleaseType InstallTime Applicable Copyright Company Creat
ionTi
me
----------- ------------ ----------- ----------- ---------- --------- ------- -----
Package_for_ServicingStack_1613~31bf3856ad364e35~amd64~~19041.1613.1.1 Installed Update 09/05/2022 06:12:24 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_1704~31bf3856ad364e35~amd64~~19041.1704.1.4 Installed SecurityUpdate 01/06/2022 10:50:43 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_1737~31bf3856ad364e35~amd64~~19041.1737.1.2 Installed Update 16/06/2022 11:12:52 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_1790~31bf3856ad364e35~amd64~~19041.1790.1.1 Installed Update 14/07/2022 10:39:58 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_1852~31bf3856ad364e35~amd64~~19041.1852.1.0 Installed Update 23/08/2022 11:03:15 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_1940~31bf3856ad364e35~amd64~~19041.1940.1.0 Installed Update 15/09/2022 10:38:28 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_2180~31bf3856ad364e35~amd64~~19041.2180.1.0 Installed Update 09/11/2022 11:35:55 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_2300~31bf3856ad364e35~amd64~~19041.2300.1.0 Installed Update 14/12/2022 11:36:02 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_2664~31bf3856ad364e35~amd64~~19041.2664.1.4 Installed Update 15/03/2023 11:56:49 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_2780~31bf3856ad364e35~amd64~~19041.2780.1.0 Installed Update 12/04/2023 11:04:39 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_2905~31bf3856ad364e35~amd64~~19041.2905.1.0 Installed Update 11/05/2023 10:38:59 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_3025~31bf3856ad364e35~amd64~~19041.3025.1.0 Installed Update 14/06/2023 10:55:15 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_3205~31bf3856ad364e35~amd64~~19041.3205.1.1 Installed Update 17/07/2023 10:55:37 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_3266~31bf3856ad364e35~amd64~~19041.3266.1.2 Installed Update 28/08/2023 09:26:29 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_3385~31bf3856ad364e35~amd64~~19041.3385.1.0 Installed Update 13/09/2023 07:34:11 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack_3562~31bf3856ad364e35~amd64~~19041.3562.1.0 Installed Update 10/10/2023 19:43:00 True Microsoft Corporation Microsoft Corporation 10...
Package_for_ServicingStack~31bf3856ad364e35~amd64~~19041.860.1.0 Installed SecurityUpdate 23/03/2021 12:01:08 True Microsoft Corporation Microsoft Corporation 10...
so the patch to remove seems to be:
Package_for_ServicingStack_3562~31bf3856ad364e35~amd64~~19041.3562.1.0
and so uninstall it would be a matter of doing:
powershell -noninteractive -Command "Get-WindowsPackage -Online -PackageName 'Package_for_ServicingStack_3562*' | Remove-WindowsPackage -Online"
but... how can i relate 'KB5031356' with '3562' that seems the
'patchnumber'?
Apart, clearly, installing it on a test system and look at patches? ;-)
Looking at:
https://support.microsoft.com/en-gb/topic/october-10-2023-kb5031356-os-builds-19044-3570-and-19045-3570-951fac64-5bf8-4eba-ba18-a9448920df1a
the KB itself mark themself as 'Builds 19044.3570 and 19045.3570', but
inside also say:
Windows 10 servicing stack update - 19044.3562 and 19045.3562
This update makes quality improvements to the servicing stack, which is the component that installs Windows updates. Servicing stack updates (SSU) ensure that you have a robust and reliable servicing stack so that your devices can receive and install Microsoft updates.
and '3562' is the magic number.
Thanks.
--
Non mi interessa sentirmi intelligente guardando in tv dei cretini,
preferirei sentirmi un cretino di fronte a persone eccellenti.
(Franco Battiato)
More information about the wpkg-users
mailing list