WUA positions remain pending

Questions about WAPT Server / Requests and help related to the WAPT server
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
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

June 6, 2025 - 08:40

Good morning

I have several workstations in WUA testing before the total migration from WSUS of all workstations.

For example, I have KB5058411 marked as "Pending" on a few machines

On the server, this KB is:
is required: False
Downloaded: 2025-05-27T02:38:04.702476

The job description:

Code: Select all

[waptwua]
enabled=true
install_at_shutdown=true
download_scheduling=4h
allowed_severities=Critical
install_delay=15d
default_allow=true
What could be the reason why they are not settling?

THANKS

PS: If I run the installation manually, it works
Last edited by Emmanuel64 on June 6, 2025 - 09:01, edited 1 time.
WAPT Enterprise
Version 2.6.1.17576
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 6, 2025 - 09:00

Hello,

is the computer showing as "pending reboot" in the Windows Update tab?

Simon
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

June 6, 2025 - 09:02

Hello,

thank you for your reply.

No, it's in PENDING_UPDATES.
WAPT Enterprise
Version 2.6.1.17576
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 6, 2025 - 09:07

So, nothing like in the screenshot here.

Logically, if you launch the installer (right-click on the machine, run the Windows update installation),

the machine will go into "Pending reboot" mode and the cab will remain in "PENDING" mode while waiting.

After rebooting, the machine will go into "need scan" mode (to verify that everything is OK)

, and the cab should appear as OK.
Attachments
Capture.PNG
Capture.PNG (31.76 KB) Viewed 22015 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 6, 2025 - 09:10

Ah, I hadn't seen your message "PS: If I launch the installation manually, it works."

Actually, in this case, you're missing the "install_scheduling=2d" parameter in the waptwua section.

The "install_at_shutdown=true" parameter no longer works because Windows now (for the past 24 hours) returns an error if we try to install while shut down.
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

June 6, 2025 - 09:28

This is indeed the behavior when I update manually.
The problem arises with the update on shutdown, since that's the behavior requested by "install_at_shutdown=true".
Attachments
Screenshot 2025-06-06 092615.png
Screenshot 2025-06-06 092615.png (42.73 KB) Viewed 22012 times
WAPT Enterprise
Version 2.6.1.17576
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 6, 2025 - 09:48

Ah, I hadn't seen your message "PS: If I launch the installation manually, it works."

Actually, in this case, you're missing the "install_scheduling=2d" parameter in the waptwua section.

The "install_at_shutdown=true" parameter no longer works because Windows now (for the past 24 hours) returns an error if we try to install while shut down.
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

June 6, 2025 - 10:26

Here's the reasoning behind it: :)
When setting 2d, for example, we base it on 48 hours, from what point? (Update received or 00:01 of the day?)
Those sudden 24h2 updates in the middle of work are rather annoying (it always happens during a presentation or a video conference... Otherwise, it wouldn't be any fun :roll: ).
WAPT Enterprise
Version 2.6.1.17576
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 6, 2025 - 11:27

Emmanuel64 wrote: June 6, 2025 - 10:26 If we use 2d for example, from what point do we base it on 48 hours? (from the receipt of the update or 00:01 of the day)?
Actually, the service checks in a loop (every minute, for example). If it hasn't checked for more than 48 hours, it starts the next check
Emmanuel64 wrote: June 6, 2025 - 10:26 The barbaric 24h2 updates in the middle of work are rather annoying (it's always during a presentation or a video call... Otherwise it's not funny :roll: )
Technically it does not reboot the machine (at least wapt does not reboot and asks waptwua not to reboot) and it does not close any application.
However, it does increase CPU usage during installation.
Emmanuel64
Messages: 46
Registration: February 23, 2024 - 09:37

June 6, 2025 - 12:32

Thank you for all this valuable information
WAPT Enterprise
Version 2.6.1.17576
Answer