12-11-2019 12:41 PM
12-11-2019 12:41 PM
12-12-2019 07:41 AM
01-09-2020 12:22 PM - edited 01-10-2020 06:19 AM
Same here, since updating to WAC 1910. If I select schedule restart and set a time, the server always reboots immediately.
I've tried different browsers, but the behavior is consistent across browsers and Server OS versions (2012 R2 and 2019). I've also tried leaving the browser open to the update page, with the scheduled restart selected. It certainly behaves as if there's a bug in their code that's ignoring the scheduled restart.
01-10-2020 08:30 AM
After a little digging, I think I know where the problem resides, but don't know where else to file a bug report.
The PS module named Microsoft.SME.WindowsUpdate defines the function "Install-windowsUpdates" with a parameter for $restartTime.
This line is from the PS script WAC created on the managed server to trigger the updates....
$restartTime = 'Fri Jan 10 2020 10:00:20 GMT-0500 (Eastern Standard Time)';
The function later uses $restartTime in order to calculate a $waitTime for shutdown.exe,
$waitTime = [decimal]::round(((Get-Date $restartTime) - (Get-Date)).TotalSeconds);
If you simply run
get-date -date 'Fri Jan 10 2020 10:00:20 GMT-0500 (Eastern Standard Time)';
It throws an error, indicating this date string is invalid.
03-25-2020 04:15 PM - edited 03-25-2020 04:18 PM
There is currently a bug in the WAC until today and the scheduled restart does not work.
Note: The immediate restart works.
for more info, see https://windowsserver.uservoice.com/forums/295071/category/319162
Until this is fixed, here is a tip to have a script perform automatic windows update via the scheduled task https://techdirectarchive.com/2020/03/24/how-to-orchestrate-windows-update-with-powershell-and-task-...
08-22-2020 04:06 PM
Hi @MHampl ,
With WAC version 2017, the issue of scheduled rebooting has been resolved. If you have a different version of WAC running, kindly upgrade this. Here is a link https://techdirectarchive.com/2020/08/13/how-to-upgrade-windows-admin-center/
If you require additional information, please let me know.