Page 1 of 1

Uninstalling Windows updates

Published: Dec 21, 2023 - 4:53 PM
by ymeyer
Hello,

Although I've consulted the documentation on this, I still have two questions:
- The first is that I can't uninstall an update on a client. There is progress in the task tab; the status ends with OK, but the update remains on the workstation (and how can I tell if it has been applied to the client?).
- The same issue occurs with updates on the server that I also want to remove. If I understand correctly from the video explaining the Windows update functionality, it would be enough (if I understood correctly) to delete the product lines. However, nothing happens on the server side, and the files remain.

Console version: 2.4.0.14143
Same version for the agent
Server: Ubuntu 22.04.3 LTS

Thank you,

Re: Uninstalling Windows updates

Published: Dec 22, 2023 - 3:28 PM
by sfonteneau
Good morning
ymeyer wrote: Dec 21, 2023 - 4:53 PM - The first issue is that I can't uninstall an update on a client. There is progress in the task tab; the status ends with OK, but the update remains on the workstation (by the way, how can you see if it has been applied to the client?)
Capture.PNG
Capture.PNG (21.09 KB) Viewed 2320 times
First important point: some KB files cannot be uninstalled.
Microsoft assigns an IsUninstallable value:
https://learn.microsoft.com/fr-fr/previ ... 8(v=vs.85)

Then, when you perform the action from the console "Launch the uninstallation of selected updates," it will simply execute the following command on the machine:

Code: Select all

wusa.exe /kb:5012170 /uninstall /quiet /norestart
If this fails, the update will still be considered installed.

ymeyer wrote: Dec 21, 2023 - 4:53 PM - The same applies to server updates, which I would also like to remove. If I refer to the video demonstrating the Windows update functionality, it would be enough (if I understood correctly) to delete the product lines. Except that nothing happens on the server side, and the files remain.
The delete line does not delete the kb line, it deletes the associated files.

Note that wapt wua automatically deletes KBs that no longer have any machines associated with them on the wapt server.
You can click on this button to do so:

Capture2.PNG
Capture2.PNG (13.73 KB) Viewed 2320 times
You can use the "show clients" button for the workstations associated with the cab

Re: Uninstalling Windows updates

Published: Dec 22, 2023 - 6:08 PM
by sfonteneau
Note for your information, I note that the order:

Code: Select all

wusa.exe /kb:5012170 /uninstall /quiet /norestart
It no longer works because Microsoft has deprecated the /quiet argument...

I'll look into whether there's another solution to fix this.