Page 1 of 1
WUA positions remain pending
Published: June 6, 2025 - 8:40 AM
by Emmanuel64
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
Re: WUA positions remain pending
Published: June 6, 2025 - 09:00
by sfonteneau
Hello,
is the computer showing as "pending reboot" in the Windows Update tab?
Simon
Re: WUA positions remain pending
Published: June 6, 2025 - 09:02
by Emmanuel64
Hello,
thank you for your reply.
No, it's in PENDING_UPDATES.
Re: WUA positions remain pending
Published: June 6, 2025 - 09:07
by sfonteneau
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.
Re: WUA positions remain pending
Published: June 6, 2025 - 09:10
by sfonteneau
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.
Re: WUA positions remain pending
Published: June 6, 2025 - 09:28
by Emmanuel64
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".
Re: WUA positions remain pending
Published: June 6, 2025 - 09:48
by sfonteneau
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.
Re: WUA positions remain pending
Published: June 6, 2025 - 10:26
by Emmanuel64
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

).
Re: WUA positions remain pending
Published: June 6, 2025 - 11:27
by sfonteneau
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

)
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.
Re: WUA positions remain pending
Published: June 6, 2025 - 12:32
by Emmanuel64
Thank you for all this valuable information