Hello.
Have you tried to configure the reboot time through group policy?
Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update -> Manage end user experience
Hope this helps.
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.