Group Policy Auto Restart Without Update

SFF 1 Reputation point

We are wanting to implement automatic restarts every couple of days for our company but we do not want computers to update before the restart. We tried to do a scheduled task but they do not work because a user will not be logged in at the time of reboot and when setting up the scheduled task in group policy management editor the box to check 'run whether user is logged on or not' is grayed out and can not be selected. no matter which user or group input we have tried using a user, a group with a user in it, and even tried a group with the computer in it and none of them seem to work. We would like to implement this scheduled task in group policy instead of going around to every single computer as local admin. I will note that the 'run whether user is logged on or not' appears when you use a user instead of a group however the restart still does not happen.

A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,092 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Daisy Zhou 21,276 Reputation points Microsoft Vendor

    Hello SFF-2954,

    Thank you for posting in our Q&A forum.

    For Computer Configurations > Preferences > Control Panel Settings > Scheduled Tasks

    You could try to use the account "SYSTEM" (NT Authority\System) and then you can select "Run whether user is logged on or not".


    After that check if it helps.

    Here is a similar thread for your references.
    Schedule a Shutdown Task using GPO

    Hope the information above is helpful.

    Best Regards,
    Daisy Zhou


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Limitless Technology 44,116 Reputation points

    Hello there,

    You can configure your endpoint in a way that your updates are patched when the users are logged in or on the days when you do not need the devices to auto restart.

    WSUS allows companies not only to defer updates but also to selectively approve them, choose when they’re delivered, and determine which individual devices or groups of devices receive them. WSUS provides additional control over Windows Update for Business but does not provide all the scheduling options and deployment flexibility that Microsoft Configuration Manager provides.

    Once you fix the frequency of the update then restarting them with simple scripts and scheduled task is not much of a hurdle


    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments