Note: These steps how to schedule automatic reboots in Windows work on both Windows 11, Windows 10, as well as Windows Server 2016, 2019, 2022 and 2025. Windows 10 reached end of support in October 2025, so if you’re still running it, plan your move to Windows 11 or a cloud desktop soon.
Scheduling automatic reboots on Windows can keep your system running smoothly and prevent common performance issues. Over time, computers can slow down or encounter glitches if they stay on without restarting, especially after updates or high-usage periods.
By setting up regular reboots with Windows Task Scheduler, you can automate this process, ensuring your system stays efficient without needing manual restarts.
In this guide, we’ll show you how to use Task Scheduler to schedule automatic reboots on Windows in seven simple steps. This approach minimizes downtime, keeps your system in top shape, and is ideal for both personal and professional setups.
Task Scheduler looks and works the same on Windows 11 and Windows 10, so you can follow these steps on either version.
IN THIS GUIDE
Why Use Task Scheduler for Automatic Reboots?
Prerequisites and Compatibility
Step-by-Step to Schedule Automatic Reboots Using Task Scheduler Reboot
Advanced Options for Automatic Reboots on Multiple Systems
Faster Method: Schedule a Restart With One Command
Security and Maintenance Considerations
FAQs about Scheduling Automatic Reboots in Windows 11, Windows 10, Windows 8, or Windows 7
Recommended Method: Simplify Automatic Reboots and System Management with V2 Cloud
WordPress Table of Contents by Topic
Why Use Task Scheduler for Automatic Reboots?
Using Task Scheduler for automatic reboots is a simple yet powerful way to maintain your Windows system’s performance. Here are three key benefits:
- Improve System Performance: Regular reboots clear out temporary files, refresh system resources, and free up memory. This helps your system run smoothly and reduces the risk of lag, freezes, or crashes, especially if you use demanding applications or leave your computer on for long periods.
- Optimize Updates and Maintenance: Many updates and software patches require a restart to take full effect. Scheduling reboots allows these updates to install smoothly without disrupting your workday. It’s also a convenient way to apply maintenance routines at times when the computer isn’t actively being used.
- Automation Benefits: Once set, Task Scheduler handles reboots automatically according to your preferences. This ensures your system restarts at optimal times, without the need for manual input. Automation is especially useful for remote or unattended systems where you want regular maintenance but can’t restart the computer manually.
Setting up automatic reboots through Task Scheduler is a proactive way to keep your system performing well with minimal effort.
Prerequisites and Compatibility
Before you set up a scheduled restart, check these three things.
Supported versions: Task Scheduler works the same way on Windows 11, Windows 10 and current Windows Server releases. The screenshots in this guide use Windows 11. On Windows 10, the menus are identical, although a few icons look slightly different. Older versions such as Windows 7, 8 and XP no longer receive security updates, so we don’t recommend running scheduled tasks on them in a business environment.
Administrator access: You’ll need an account with administrator rights to create a task that runs when no one is signed in, which is what an unattended overnight restart requires. If you don’t have admin access, ask your IT administrator.
Frequency and timing: For most workstations, a weekly restart is enough to apply pending updates and free up memory. For servers or machines that run around the clock, a daily restart during off-peak hours, such as 3:00 a.m., keeps things stable without interrupting anyone’s work.
Step-by-Step Guide to Schedule Automatic Reboots Using Task Scheduler Reboot
Follow these steps to configure an automatic reboot using Task Scheduler on your Windows system.
This guide ensures your system restarts regularly, maintaining optimal performance without requiring manual intervention.
Step 1: Access Task Scheduler
- Open Task Scheduler: Press Win + R to open the Run dialog box, type taskschd.msc, and press Enter. On both Windows 11 and Windows 10, you can also click Start, type Task Scheduler, and select it from the results.
- Launch Task Scheduler: Type taskschd.msc in the Run box, then press Enter. This command opens Task Scheduler, a tool designed to help you automate and manage scheduled tasks on your computer.

Step 2: Create a New Task Folder
- Create a Task Folder for Organization: In Task Scheduler, look at the left panel and find Task Scheduler Library. Right-click on it and select New Folder.
- Name Your Folder: Enter a name that clearly identifies your task, such as Scheduled Reboots, and click OK. Organizing tasks in folders helps you easily locate and manage them in the future.

Step 3: Set Up the Task
- Start Creating the Task: Inside the folder you created, right-click and select Create Basic Task from the menu.
- Name Your Task: In the Name field, enter a straightforward title like Reboot or Scheduled Restart. This title will appear in Task Scheduler’s list of tasks.
- Provide a Description (Optional): You can add a description to remind you of the task’s purpose, such as “Automatically restart the system every week to refresh resources."
- Proceed to Next Step: Click Next to continue.

Step 4: Define the Task Trigger
- Choose Frequency: Task Scheduler will prompt you to select how often the task should run. For routine maintenance, choose Daily or Weekly as a trigger, depending on your needs. A Daily reboot is ideal for systems that run continuously or handle high workloads, while Weekly might be sufficient for less demanding use.

- Set the Time: Specify the exact time for the reboot. Select a time when the computer is least likely to be in use, such as late at night or early in the morning, to minimize disruptions.

- Confirm Trigger Settings: After setting the frequency and time, click Next to proceed to the next configuration step.
Step 5: Specify the Task Action
- Define the Action Type: In the Action screen, choose Start a program as the action. This setting allows Task Scheduler to initiate a command that will trigger the reboot.

- Enter the Reboot Command: In the Program/script field, type shutdown. In the Add arguments (optional) field, enter /r to set the task to restart the computer. The /r command tells Windows to perform a full restart.
- Optional Additional Arguments: You can use other shutdown commands if needed. For instance, adding /f forces applications to close, and /t 0 sets a 0-second delay for immediate execution. So, a complete command could look like shutdown /r /f /t 0.

- Click Next to Continue: Verify the command details, then proceed to the final configuration steps.
Step 6: Review and Finish Setup
- Review All Settings: Task Scheduler will display a summary of your configured task. Review the name, frequency, time, and action details to ensure everything is set up correctly.

- Complete the Task Setup: Click Finish to confirm and save the task. Task Scheduler may prompt you to enter administrator credentials to finalize the scheduled task.
- Grant Permissions if Prompted: If Windows asks for admin permissions to schedule the task, click Yes or Continue to authorize it.
Step 7: Make Sure the Restart Runs Unattended
The Basic Task wizard only runs your task while you’re signed in. For an overnight restart, adjust two settings:
Open the task’s properties: In Task Scheduler Library, open your Scheduled Reboots folder, right-click your task and select Properties.
Allow it to run when no one is signed in: On the General tab, select Run whether user is logged on or not, then check Run with highest privileges.
Allow it to run on battery (laptops only): On the Conditions tab, uncheck Start the task only if the computer is on AC power. Otherwise, the restart won’t happen if the laptop is unplugged.
Save your changes: Click OK and enter your administrator password when prompted.
Faster Method: Schedule a Restart With One Command
If you’re comfortable with Command Prompt, you can create the same task in a single line. Open Command Prompt as administrator and run:
schtasks /create /tn "Weekly Reboot" /tr "shutdown /r /t 300 /c \"Scheduled restart in 5 minutes\"" /sc weekly /d SUN /st 03:00 /ru SYSTEM /rl HIGHEST
This creates a task called Weekly Reboot that restarts the computer every Sunday at 3:00 a.m., shows users a 5-minute warning with a custom message, and runs as SYSTEM so it works even when no one is signed in. To run it daily instead, replace /sc weekly /d SUN with /sc daily.
Advanced Options for Automatic Reboots on Multiple Systems
If you manage multiple computers within a network, scheduling automatic reboots individually can be time-consuming. Windows Server’s Group Policy feature allows you to set up a scheduled reboot across multiple machines in a single step, ensuring all computers stay updated and in sync.
Follow these steps to configure automatic reboots for multiple systems using Group Policy:
Step 1: Open Group Policy Management Console (GPMC)
- Access GPMC: On a Windows Server, press Win + R, type gpmc.msc, and hit Enter. This opens the Group Policy Management Console, where you can create and manage Group Policy Objects (GPOs) for computers across your network.
- Create a New GPO: In GPMC, right-click on the Group Policy Objects folder, select New, and name the GPO something identifiable, like Scheduled Reboots Policy.
Step 2: Edit the Group Policy Object (GPO)
- Edit the GPO: Right-click on the GPO you just created and select Edit. This opens the Group Policy Management Editor, where you’ll define the settings for scheduled reboots.
- Navigate to Scheduled Tasks: In the editor, go to Computer Configuration > Preferences > Control Panel Settings > Scheduled Tasks. Here, you can create and customize tasks that will apply to all selected computers within the network.
Step 3: Set Up a New Scheduled Task for Reboots
- Create a New Task: Right-click on Scheduled Tasks, select New > Scheduled Task (At least Windows 7). This opens the configuration menu for creating a scheduled task.
- Configure General Settings:
- Name the Task: Enter a descriptive name, such as Network Reboot Task.
- Set the User Account: Under When running the task, use the following user account, click Change User or Group, type SYSTEM, and click OK. The field will then show NT AUTHORITY\System. This lets the restart run on every computer whether or not anyone is signed in.
- Run with Highest Privileges: Check the box for Run with highest privileges to ensure the reboot task has sufficient permissions.
- Choose Task Frequency and Timing: Set a schedule that aligns with your organization’s downtime or non-working hours to minimize disruptions. Configure the task to run Daily or Weekly at a specific time, such as late at night.
Pro tip: Manually scheduling reboots works, but managing multiple machines can be time-consuming. V2 Cloud simplifies this with built-in automation, letting you schedule reboots, updates and backups from one place in a secure cloud environment.
Skip the hassle—try V2 Cloud for free now.
Step 4: Define the Task Action to Reboot the System
- Specify the Action: Under the Actions tab, click New to add an action.
- Choose Start a Program: Select Start a program as the action type.
- Enter Reboot Command: In the Program/script field, type shutdown, and in the Add arguments field, add /r /f /t 0. This command will restart the computer immediately (/r for restart, /f to force close applications, and /t 0 to set a zero-second delay).
- Save the Action: Click OK to confirm the action settings.
Step 5: Link the GPO to the Targeted Organizational Unit (OU)
- Link the GPO: In the Group Policy Management Console, right-click on the Organizational Unit (OU) that contains the computers you want to target and select Link an Existing GPO.
- Select Your GPO: Choose the Scheduled Reboots Policy GPO you created earlier, and click OK. This links the policy to the selected OU, applying the scheduled reboot task to all computers within it.
Step 6: Refresh Group Policy and Confirm
- Force a Group Policy Update: To apply the new scheduled task immediately, open Command Prompt on a client computer and type gpupdate /force, then press Enter. This command forces the client computer to apply the new Group Policy settings.
- Verify the Task: Check the Task Scheduler on a target computer to confirm that the reboot task is listed and configured according to your settings.
Security and Maintenance Considerations
When scheduling automatic reboots on Windows systems, prioritizing security and maintenance is essential. Here are some best practices to ensure that the reboot tasks are secure and don’t introduce vulnerabilities to your system or network.
1. Limit Access to Task Scheduler and Group Policy
- Restrict Permissions: Only grant access to Task Scheduler or Group Policy to trusted administrators. Limiting permissions reduces the risk of unauthorized users creating, modifying, or deleting scheduled tasks.
- Use Role-Based Access Control (RBAC): Implement role-based access controls to assign permissions based on specific roles within your organization. This ensures that only authorized personnel can adjust critical system tasks.
2. Implement Multi-Factor Authentication (MFA) for Administrator Accounts
- Add an Extra Layer of Security: Enabling multi-factor authentication (MFA) for administrator accounts adds an extra verification step for accessing sensitive tools like Task Scheduler or Group Policy Management Console.
- Protect Remote Access: MFA is especially important for administrators managing systems remotely, as it reduces the risk of unauthorized access due to compromised credentials.
3. Audit and Log Task Scheduler and Group Policy Activity
- Enable System Logging: Ensure that logging is enabled on systems to track all activity related to scheduled tasks and Group Policy changes. Task creation, modifications, and deletions should all be recorded.
- Regularly Review Logs: Administrators should review logs periodically to detect any unusual or unauthorized changes. Look for unexpected task edits or deletions, which could signal a security risk.
4. Apply System and Security Updates Regularly
- Keep Software Updated: Regularly updating your operating system and security software protects against vulnerabilities that could be exploited by unauthorized users.
- Automate Updates Where Possible: Use Windows Update or centralized management tools like Windows Server Update Services (WSUS) to automate patching. Scheduling automatic reboots can also ensure that critical updates are applied without delay.
5. Configure Reboot Tasks with a Graceful Shutdown Command
- Add a Countdown: Adding /t followed by a number of seconds, such as /t 300, gives users a 5-minute warning before the restart. Note that any delay above 0 automatically forces open applications to close when the countdown ends, so the warning is what protects unsaved work.
- Add a Custom Message: Use /c to explain what’s happening, for example: shutdown /r /t 300 /c “Scheduled restart in 5 minutes. Please save your work."
- Cancel if Needed: If someone needs to stop a restart that’s already counting down, they can open Command Prompt and run shutdown /a.
Frequently Asked Questions on How to Schedule Automatic Reboots in Windows 11, Windows 10, Windows 8, or Windows 7
1. Can I schedule automatic reboots specifically for Windows updates?
Yes, you can set up automatic reboots specifically for Windows updates, ensuring your system applies updates without manual intervention.
Windows Update settings allow you to specify “Active Hours” to avoid reboots during peak times, or you can use Task Scheduler to create a reboot task aligned with update cycles.
For larger networks, Windows Server Update Services (WSUS) allows administrators to automate update deployment and reboots across multiple systems.
Pro tip: With V2 Cloud, you can automate updates and reboots effortlessly in a secure cloud environment—no need for complex task scheduling. Start a risk-free trial now!
2. How can I cancel or modify an existing scheduled reboot task?
- Open Task Scheduler: Press Win + R, type taskschd.msc, and press Enter to open Task Scheduler.
- Locate the Task: Navigate to Task Scheduler Library (or the specific folder where you created the task).
- Modify or Delete: Right-click the reboot task to edit its schedule, timing, or actions. To remove it entirely, select Delete and confirm. This will immediately cancel future reboots configured by that task.
These steps make it easy to adjust or cancel scheduled reboots if you need to change your system maintenance routine.
3. Why didn’t my scheduled restart run?
The most common causes are that the task was set to run only when a user is signed in, or that a laptop was on battery power. Open the task’s Properties and check the General and Conditions tabs as described in Step 7. You can also select the task and open the History tab, or check the Last Run Result column. A result of 0x0 means the task ran successfully.
4. How do I stop a restart that’s already counting down?
Open Command Prompt and run shutdown /a. This cancels the pending restart but leaves the scheduled task in place, so it will run again at its next scheduled time.
5. Is it possible to set a warning notification before the scheduled reboot occurs?
Yes, you can configure the reboot command to give users advance warning before the system restarts.
In the Add arguments field of the Task Scheduler’s action setup, you can add a countdown timer by including /t followed by the number of seconds, such as /t 300 for a 5-minute warning.
The full command would look like shutdown /r /f /t 300. This setup notifies users with a countdown, allowing them to save work before the reboot.
Recommended Method: Simplify Automatic Reboots and System Management with V2 Cloud
Managing scheduled reboots and system maintenance across multiple computers can be challenging, especially for remote teams or large organizations.
V2 Cloud’s Virtual Desktop Infrastructure (VDI) provides an ideal solution, simplifying system management and improving reliability through a centralized, cloud-based platform.
Here’s how V2 Cloud can help streamline and enhance your system maintenance routine:
- Centralized Control: With V2 Cloud, admins can set up reboots and maintenance tasks across all virtual desktops from a single dashboard, ensuring consistency and saving time.
- Automated Maintenance: Schedule reboots and apply updates during off-hours to keep systems optimized without interrupting user workflows.
- Enhanced Security: V2 Cloud supports multi-factor authentication and detailed activity logs, securing access and ensuring that only authorized personnel can modify reboot schedules.
- Ideal for Remote Work: V2 Cloud’s VDI supports remote teams with easy access to virtual desktops, enabling secure, remote management of reboots and other system tasks.
Talk to a Cloud Expert Today to simplify your system management and keep your desktops running smoothly!