Page 1 of 1

[SOLVED] How to use multiple initial configurations

Published: November 29, 2023 - 11:30 AM
by Benoit
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,

Re: How to use multiple initial configurations

Published: Dec 20, 2023 - 09:38
by t.heroult
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