WUA Operation

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
Kevin-LH76
Messages: 14
Registration: February 8, 2026 - 5:57 PM

February 8, 2026 - 6:38 PM

Hello,

We are currently implementing the WAPT 2.6 Enterprise solution and I have some questions about how Windows updates work.

Is it possible to define profiles similar to WSUS, specifically:

* Update check schedule
* Predefined action (Download only, 100% manual, or Automatic installation)
* Notify users of a pending restart.

Is it possible to automatically approve only critical updates and require approval for others?

Thank you in advance.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 9, 2026 - 10:25

Kevin-LH76 wrote: Feb 8, 2026 - 6:38 PM * Update search schedule
Regarding the schedule, it's not by design; instead, it's indicated as:

Code: Select all

download_scheduling=7d
If the post hasn't done it for more than 7 days, then it will do it
Kevin-LH76 wrote: Feb 8, 2026 - 6:38 PM * Predefined action (Download only, 100% manual or Automatic installation)
The `download_scheduling` parameter downloads updates that are pending.

For installation, you can set the following parameter:

install_scheduling

Who launches the installations? If you don't do this, you can create a package that launches a scheduled task which then executes the command:

wapt-get waptwua-install

or just for a download:

wapt-get waptwua-download

or just for a scan:

wapt-get waptwua-scan
Kevin-LH76 wrote: Feb 8, 2026 - 6:38 PM * Notify users of a pending restart.
By default, it is not offered, but if you install this type of package you can do so:

Code: Select all

from setuphelpers import *
from waptservice.enterprise import get_active_sessions, start_interactive_process
import datetime

if get_language() == "fr":
    title = "Redémarrage"
    message = "Votre pc est en attente de redémarrage, voulez-vous redémarrer maintenant ?"
else:
    title = "Reboot"
    message = "Your PC is waiting to restart, do you want to restart now?"

def install():
    pass

def session_setup():
    import waptguihelper

    if is_pending_reboot():
        last_reboot_warning = registry_readstring(HKEY_CURRENT_USER, r"SOFTWARE\WAPT\Shutdown Information", "Last_reboot_warning")
        today = str(datetime.date.today())
        if last_reboot_warning != today:
            registry_setstring(HKEY_CURRENT_USER, r"SOFTWARE\WAPT\Shutdown Information", "Last_reboot_warning",str(today))
            if waptguihelper.message_dialog(title, message , waptguihelper.ID_YES) == waptguihelper.ID_YES:
                run('shutdown /f /r /t 0')

    return 'RERUN'

def run_session_setup(package_name):
    for session_id in get_active_sessions():
        start_interactive_process("wapt-get", "--hide session-setup %s -f" % package_name, session_id=session_id)

def audit():
    run_session_setup(control.package)
    return "OK"
Kevin-LH76 wrote: Feb 8, 2026 - 6:38 PM Is it possible to automatically approve only critical updates and request approval for other updates?
Yes : https://www.wapt.fr/fr/doc/wapt-console ... wapt-agent
Answer