I had an issue where my scheduled reboots of servers in Delivery groups stopped working. Even stranger, some delivery groups were rebooting at the wrong times. After all users had logged out of a server, the broker service would put the server in maintenance mode and shut it down. It would not power back on. It acted as if it was a desktop OS that had power control enabled, however, these were server OS’s. Happened for 6 delivery groups, both containing 2012R2 and 2008 servers. This was not the schedule reboot task, as the event log showed Source: Admin
Spent a lot of time troubleshooting. Decided to remove the restart schedules completely. Removing them from Studio did not work, as they still showed up in powershell when running “Get-BrokerDesktopRebootSchedule”
The fix for me was to remove all the restart schedules through powershell, ie:
Remove-BrokerRebootSchedule -DesktopGroupName “Server 2012 R2 RDSH”
Then I recreated each reboot schedule via Studio. Now everything is working properly.
Note: This affected both my original 7.6 environment and my 7.13 environment after I upgraded.