Hello,
I would like to create a package that implements a scheduled task in Windows to shut down computers at 10 PM.
Currently, I'm using a simple:
<Exec>
<Command>shutdown.exe</Command>
<Arguments>/s /t 60</Arguments>
</Exec>
However, I would like to know if there is a simple way to check if a WAPT installation is in progress and, if so, prevent it from shutting down.
I've noticed that when I deploy certain configurations with multiple software packages, the scheduled shutdown still occurs, interrupting the WAPT package deployment. It only resumes the next time the machine is shut down.
Thank you in advance.
Scheduling automatic computer shutdowns with consideration of WAPT deployments
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 :
Do you mean that waptexit doesn't block the installation in this kind of case?OlivierSchmitt wrote: ↑May 26, 2025 - 3:11 PM Indeed, I've noticed that when I deploy certain configurations with multiple software programs, the scheduled shutdown still triggers, interrupting the deployment of the wapt packages. It only resumes the next time the machine shuts down.
-
Olivier Schmitt
- Messages: 44
- Registration: Oct 22, 2024 - 1:25 p.m.
I need to check that.
That being said, is it possible there's a timeout when WAPT is installing?
I actually have over 84 software programs per machine, some of them very large, like Autodesk suites, etc.
So far, I've never managed to deploy a machine in one go. Each time, I have to restart once or twice.
All the packages install if I test them one by one, but when I launch them all at once…
That being said, is it possible there's a timeout when WAPT is installing?
I actually have over 84 software programs per machine, some of them very large, like Autodesk suites, etc.
So far, I've never managed to deploy a machine in one go. Each time, I have to restart once or twice.
All the packages install if I test them one by one, but when I launch them all at once…
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Normally, the timeout for GPOs when the computer shuts down is increased with "PreShutdownTimeout". So normally there should be no timeoutOlivierSchmitt wrote: ↑May 28, 2025 - 6:38 PM That being said, is it possible that there is a timeout when WAPT is performing the installations?
I'll try again here to confirm that it still works.
