WAPTWUA behavior upon shutdown

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
Vincent38
Messages: 41
Registration: May 22, 2023 - 12:13

April 26, 2024 - 3:53 PM

Good morning

There is something I don't understand about how waptwua works.

I have noticed several times that the installation of Windows updates at shutdown (install_at_shutdown = 1 in wapt-get.ini) is extremely long, because at each shutdown a search for updates is launched, then if there are any available they are downloaded, and finally they are installed.

The behavior I would like (and which in my opinion should be the default behavior in case of installation at a standstill) is that the search for updates and the downloading of these updates take place while the user session is open, and that at closing only the installation is done, not the rest, to limit as much as possible the time needed before shutting down.

Is this a bug on my end during setup?
Otherwise, how can this behavior be achieved?

THANKS
Commander

WAPT Enterprise 2.5.4

wapt-get.ini:

Code: Select all

[global]
repo_url=https://wapt1.xxxxxxxxxx.com/wapt
wapt_server=https://wapt1.xxxxxxxxxxxx.com
verify_cert=0
use_fqdn_as_uuid=1
allow_remote_reboot=1
allow_remote_shutdown=1

[waptwua]
enabled=1
default_allow=1
install_delay=7d
download_scheduling=1d
install_at_shutdown=1
PS: There seems to be a small error in the documentation; it indicates "install_at_shutdown = True" as an example, whereas in wapt-get.ini the actual parameter is "install_at_shutdown = 1"
Frankly, your tool is great, but this is not (by far) the first time I've found an error in the documentation (not to mention the illustration images which are from old versions and no longer correspond to anything).
Thank you for making an effort and updating it (I had already pointed this out to you), documentation full of errors for a product that we pay for (in our case at least), it's not exactly professional.
User avatar
vcardon
WAPT Expert
Messages: 278
Registration: Oct 06, 2017 - 10:55 p.m.
Location: Nantes, France

April 26, 2024 - 8:39 PM

Good evening Vincent,

Just so you know, True and 1 are interchangeable, just like False and 0 are for a boolean.

Regarding the documentation, we're seriously debating internally whether we should actually keep the screenshots, as they're such a pain to maintain. We'd love to hear your opinion.
Vincent CARDON
Tranquil IT
Vincent38
Messages: 41
Registration: May 22, 2023 - 12:13

April 27, 2024 - 02:46

Good evening,

if you really want my opinion, I'd be happy to! ;)
But to avoid cluttering my own post :lol: , I'll send it to you via private message; it's simpler.

Regards
Vincent38
Messages: 41
Registration: May 22, 2023 - 12:13

April 27, 2024 - 02:56

Well, apparently I can't send you a private message ;) , so I'll start a new thread about the documentation instead. Perhaps other opinions besides mine will be helpful?

At the very least, it'll let me know if it's just me who's having trouble with the current documentation :roll: :D

. Regards
Vincent38
Messages: 41
Registration: May 22, 2023 - 12:13

May 5, 2024 - 6:13 PM

Hello
, just a quick update: is it possible to do what I'd like?
Unless the WUA API doesn't allow launching WUA in "install only" mode?
Answer