GPO to schedule recurring reboots for the "next" 3 days?


  • We will be uninstalling some software that requires 3 reboots to completely remove.

    To make sure all the required reboots get done in a timely manner, we need to schedule these systems to restart at 5am three mornings in a row.  Instead of hard coding specific calendar dates into the policy, is there any way to make it start the reboots at 5am starting on the day after the policy is applied to the machine?

    If it is too difficult to do it that way, we will create separate policies for each date range.

    What are some ways to do this via GPO and what is the best way?

    Tuesday, March 24, 2015 9:39 PM


  • Hello MyGposts,

    I think the better and easy way to accomplish this is through Group Policy Preferences.
    You can configure at a computer level or user level the GPP item(s) for Scheduled Tasks as follows:

    1. Open the Group Policy Management Console . Right-click the Group Policy object (GPO) that should contain the new preference item, and then click Edit .

    2. In the console tree under Computer Configuration or User Configuration , expand the Preferences folder, and then expand the Control Panel Settings folder.

    3. Right-click the Scheduled Tasks node, point to New , and select Scheduled Task .

    4. In the New Scheduled Task Properties dialog box, select an Action for Group Policy to perform. (For more information, see "Actions" in this topic.)

    5. On the Task tab, enter task settings for Group Policy to configure or remove. (For more information, see "Task settings" in this topic.)

    6. If creating, updating, or replacing a task:

      1. Click the Schedule tab, and configure one or more schedules for the task. 

      2. Click the Settings tab, and enter any additional task settings for Group Policy to configure. 

    7. Click the Common tab, configure any options, and then type your comments in the Description box.

    8. Click OK . The new preference item appears in the details pane.

    On this document you can see all the different settings that you can use to configure a task schedule as you wish in order to reach your goal.

    Configure a Scheduled Task Item

    5ALU2 !

    • Edited by YoElPirra Wednesday, March 25, 2015 4:16 AM Format
    • Proposed as answer by YoElPirra Thursday, March 26, 2015 5:46 AM
    • Marked as answer by MyGposts Thursday, March 26, 2015 5:47 AM
    Wednesday, March 25, 2015 4:15 AM