[SOLVED] WUA vs Windows Update

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
Locked
Cantrel
Messages: 14
Registration: Sep 29, 2020 - 1:49 p.m.

May 12, 2021 - 2:20 PM

Hello,

We use Windows Update Agent (WUA) to manage Windows updates on our client machines running Windows 10. It works quite well, but for several reasons, we would like to leave some machines using standard Windows Update instead of WUA. Is it possible to have this hybrid configuration and select certain machines and exclude WUA from them?

Would configuring two different types of agents meet this need?

Thank you,
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

May 18, 2021 - 3:33 PM

Hello Cantrel,

Yes, that's entirely possible. Simply don't enable it when creating the agent, and then create a configuration package to enable it. You can check the settings on a machine where it's enabled (or consult the documentation) https://www.wapt.fr/fr/doc-1.7/wapt-usa ... pdate.html) and take the conf package as an example https://store.wapt.fr/store/tis-wapt-conf-policy

Code: Select all

inifile_writestring(WAPT.config_filename,'waptwua','enabled',True)
Sincerely,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Cantrel
Messages: 14
Registration: Sep 29, 2020 - 1:49 p.m.

June 3, 2021 - 10:30

Thanks, indeed, in the meantime we created a package that changes the WUA parameter in the ini file to false.

We're just looking for the line to reboot the WAPT service using that same package. We'll find it eventually...

Thanks again.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

June 4, 2021 - 11:37

Hello Cantrel,

It is possible to restart the reloading of the configuration file with the command

Code: Select all

WAPT.reload_config_if_updated()
However, I'm not sure if all the service threads are reloaded to reflect the change. So if it's not reflected immediately, it's possible to make a call

Code: Select all

wgets('http://127.0.0.1:8088/waptservicerestart.json')
Sincerely,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
jacky35
Messages: 23
Registration: Sep 17, 2020 - 5:51 p.m.

June 4, 2021 - 3:12 PM

That's an interesting question.
Thank you!
Locked