Hello,
I have several scientific machines whose Windows updates are managed by WAPT. Since these machines perform data acquisitions for several days at a time, it's important that they don't restart on their own and that they only perform updates via WAPT, but this doesn't seem to be the case.
I currently have one machine with the Windows icon displaying "restarting pending," even though the WAPT configuration is set to "install_at_shutdown=true."
The complete WAPT configuration is:
[waptwua]
default_allow=false
install_at_shutdown=true
enabled = true
download_scheduling = 1d
allowed_severities = Critical,Important
direct_download = false.
Have I missed something? Why is Windows still installing its updates automatically (and therefore scheduling restarts)?
Thank you.
[RESOLVED] WUA - Restart pending?
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 :
Hello,
have any Windows Update installations been launched via the console? (Right-click and select "Run pending Windows Update installations")?
In Wapt, there's also: `wapt_status --> pending_reboot_reasons` which allows you to see the reason for a pending reboot (file replacement).
Or perhaps Windows Update managed to bypass the service deactivation...
In the new version, we've modified the service deactivation and added a setting that prevents the Windows Update service from running even after it's started.
To test this new setting in advance, you can install: https://wapt.tranquil.it/store/fr/tis-f ... ows-update
Simon
have any Windows Update installations been launched via the console? (Right-click and select "Run pending Windows Update installations")?
In Wapt, there's also: `wapt_status --> pending_reboot_reasons` which allows you to see the reason for a pending reboot (file replacement).
Or perhaps Windows Update managed to bypass the service deactivation...
In the new version, we've modified the service deactivation and added a setting that prevents the Windows Update service from running even after it's started.
To test this new setting in advance, you can install: https://wapt.tranquil.it/store/fr/tis-f ... ows-update
Simon
There was no manual installation, I'm sure of that.
Where can I find the "wapt_status --> pending_reboot_reasons" information? I haven't found it.
However, I checked on machines with WUA via Wapt and I do indeed have the Windows Update service set to "manual (trigger start)", and it's running on some of them. Is this the one that should be disabled?
Thanks.
Edit: Ah, I found pending_reboot_reasons in the hardware inventory. However, it's empty, while in the "Windows Updates" tab I have a red exclamation mark with the message "waiting for restart".
Where can I find the "wapt_status --> pending_reboot_reasons" information? I haven't found it.
However, I checked on machines with WUA via Wapt and I do indeed have the Windows Update service set to "manual (trigger start)", and it's running on some of them. Is this the one that should be disabled?
Thanks.
Edit: Ah, I found pending_reboot_reasons in the hardware inventory. However, it's empty, while in the "Windows Updates" tab I have a red exclamation mark with the message "waiting for restart".
- Installed WAPT version: 2.4.0.14143 Enterprise
- Server OS: Debian 11.8
- Administration/package creation machine OS: Windows 10
- Server OS: Debian 11.8
- Administration/package creation machine OS: Windows 10
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
This is calculated using the pending_reboot_reasons function of setuphelpers, which reads registry keys, so it means the keys are empty...
Yes, absolutely
Another software might reactivate it, but otherwise, sometimes Microsoft is annoying and absolutely insists that Windows Update reactivate.
You can try the package https://wapt.tranquil.it/store/fr/tis-f...ows-update which cuts out different tasks, schedules services, etc...
To ensure it doesn't restart, we also set up a fake WSUS server to reject any updates that don't go through WAPT.
The latest tests with a fake wsus server are working here, Windows Update sometimes manages to reactivate but the scan does not work.
I've looked around a bit but I can't see what could reactivate this service; it's probably a Windows routine that does it in the background...
So I deployed the package you recommended, and I can see the service is disabled now.
I'll keep an eye on it, but it seems okay for now. Thanks for your help.
Have a good day.
So I deployed the package you recommended, and I can see the service is disabled now.
I'll keep an eye on it, but it seems okay for now. Thanks for your help.
Have a good day.
- Installed WAPT version: 2.4.0.14143 Enterprise
- Server OS: Debian 11.8
- Administration/package creation machine OS: Windows 10
- Server OS: Debian 11.8
- Administration/package creation machine OS: Windows 10
