Page 1 of 1

[RESOLVED] Automatic installation of certain packages upon computer restart

Published: June 3, 2022 - 11:46 AM
by croquebert
Hello everyone,

Context:
WAPT version: 2.1 Enterprise
Server OS: Debian 11
Administration console OS: Win10pro
Package development workstation OS: Win10pro

Some of our users' workstations remain off for a "relatively long" period.
Furthermore, some users rarely shut down their workstations (laptops + sleep mode).

We use WAPT to push certain patches (not yet fixed by Windows updates) resulting from CERT alerts, for example.

We would like to automatically install certain packages upon restarting the workstation.

Is there a way to automatically force the installation of certain packages at startup, rather than at shutdown? If so, how?

CR

Re: Automatic installation of certain packages upon computer restart

Published: June 3, 2022 - 4:28 PM
by olaplanche
Hello,

it's possible to run the waptexit.exe binary at login by placing a shortcut in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp".

The drawback is that the user will see the update window upon logging in, and depending on the update installation time, this could be problematic.

Re: [SOLVED] Automatic installation of certain packages upon computer restart

Published: June 7, 2022 - 10:09 AM
by sfonteneau
One interesting method, if it's for a specific package, is to use the `forced_install_on` attribute

(https://www.wapt.fr/fr/doc/wapt-package ... ntrol-file).

This allows you to force the installation from a certain date.