[SOLVED] How to use multiple initial configurations

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
Benoit
Messages: 43
Registration: June 26, 2023 - 11:52
Location: Tarbes

November 29, 2023 - 11:30

Hello,

I have WAPT Enterprise version 2.4.0.14143
on a Debian server, a
development PC, and a Windows 10 package.

My goal is to install:
- a WAPT agent with an initial configuration that automatically manages Windows updates on certain machines
- another agent with an initial configuration that does not automatically manage Windows updates on other machines.

How can I do this?

Sincerely,
Last edited by Benoit on January 17, 2024 - 08:01, edited 1 time.
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

December 20, 2023 - 9:38 AM

The simplest way is to deploy the agent uniformly using waptupgrade.
Next, different configurations need to be pushed depending on the workstations.

Take inspiration from the tis-wapt-conf-policy package.
Basically, for the WUA part, you'll have a configuration with

Code: Select all

inifile_writestring(WAPT.config_filename, 'waptwua', 'enabled', 'True')
and one with

Code: Select all

inifile_writestring(WAPT.config_filename, 'waptwua', 'enabled', 'False')
For the True version, it's up to you to determine the additional settings that suit you. Everything is in the online documentation.

Sincerely,
Tom
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Answer