Uninstalling Windows updates

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
Meyer
Messages: 9
Registration: May 28, 2021 - 10:42

December 21, 2023 - 4:53 PM

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,
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

December 22, 2023 - 3:28 PM

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 2317 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 2317 times
You can use the "show clients" button for the workstations associated with the cab
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

December 22, 2023 - 6:08 PM

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.
Answer