Hello,
I manage the IT infrastructure for a university institute of technology (IUT), and we recently switched to WAPT for software deployment and Windows Updates.
However, I'm having a problem with the WUA :
Updates (scanning and installation) start correctly when shutting down using WAPTExit.
However, students often turn off their PCs between classes, or sometimes a computer needs to be restarted during class.
Occasionally, WAPT runs a WUA at these times. This makes the PCs unavailable for a while, which is problematic.
Is there a way to configure settings so that Windows updates (scanning, downloading, and installation) only start after a certain time, for example?
Thank you in advance.
[SOLVED] WUA Configuration
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
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
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
If we use an auditing system, then we can do anything in terms of conditions:
In this specific case, the audit runs regularly; if it runs at appropriate times, then the installation begins.
However, you need to set install_at_shutdown=False and remove download_scheduling
This way you can add as many conditions as you want
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
from waptwua.client import WaptWUA
import datetime
def install():
pass
def audit():
t = datetime.datetime.now()
if t.hour < 6 or t.hour > 17 :
with EnsureWUAUServRunning():
wua= WaptWUA(WAPT)
if WAPT.read_param('waptwua.status') != "OK" or wua.rescan_needed():
print('scan or install need')
wua.install_updates()
return "OK"
However, you need to set install_at_shutdown=False and remove download_scheduling
This way you can add as many conditions as you want
