Hello @Gracjan Podłęcki
Thanks for your response.
after install notify user that he need restart machine or machine will be restarted within 12 hours automatically regardless someone is logged in or not
I haven't found any related group policy which could implement this function right now. Perhaps I missed the other point. According to your goal, I share my thoughts on your needs. If it were me, I would refer to the following group policies.
Configure Automatic Updates - 4
Specify deadline before auto-restart for update installation
Configure auto-restart warning notifications schedule for updates
Allow Automatic Updates immediate Installation
Turn off auto-restart for updates during active hours (There is no such group policy we could refer to force the device restart in next 12 hours)
Reference link:
https://learn.microsoft.com/en-us/windows/deployment/update/waas-restart?msclkid=d8c5c823d03311eca92d142b762fb1bd
Best regards,
Rita
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.