How to Schedule a Restart in Windows 11
In this article
Yes, you can schedule a restart in Windows 11 using the Command Prompt or PowerShell. This feature allows you to automate system reboots at a specific time, which is essential for applying updates during off-hours or maintaining system stability without manual intervention. The primary tool required is the shutdown command with the -s (shutdown) and -t (time) parameters.
What You'll Need
- A Windows 11 PC with administrator privileges.
- Access to Command Prompt or PowerShell.
- The desired date and time for the scheduled restart.
Step-by-Step
- Open the Run Dialog: Press the Windows Key + R on your keyboard simultaneously. This opens the small "Run" box in the bottom-left corner of your screen.
- Launch Command Prompt: Type
cmdinto the text field and press Enter. Alternatively, you can typepowershellif you prefer using PowerShell. Note that menu labels may vary slightly depending on your Windows version or region settings. - Construct the Command: In the black window that appears, you will type a specific command string. The basic syntax is:
shutdown /s /f /t [seconds] - Calculate the Time Delay: The
/tparameter requires the number of seconds until shutdown, not hours or minutes. To find this, multiply the hours by 3600 and add the minutes multiplied by 60. For example, to restart in 1 hour, calculate 1 × 3600 = 3600 seconds. - Execute the Scheduled Shutdown: Replace
[seconds]with your calculated number. For instance, to restart in exactly one hour, type:shutdown /s /f /t 3600
Then press Enter. - Verify the Schedule: A notification will appear in the bottom-right corner of your screen stating that Windows will shut down in the specified time. You can also check the system tray clock area for a countdown timer icon.
- Cancel if Necessary: If you change your mind before the time arrives, open the Run dialog (Win+R) again, type
shutdown /a, and press Enter. This aborts the pending shutdown process.
Common Mistakes
One frequent error is misunderstanding the /t parameter. Users often try to input /t 60 expecting it to mean 60 minutes, when it actually means 60 seconds. Always convert your desired wait time into total seconds.
Another mistake is forgetting to save work. Even with a scheduled restart, unsaved documents will be lost if the timer expires. Ensure all applications are saved before initiating the command.
Users sometimes attempt to use the standard "Restart" button in the Start Menu and expect it to have scheduling options. It does not; scheduling is strictly a command-line function in the default Windows interface.
Tips
Create a Desktop Shortcut: Instead of typing the command every time, create a shortcut. Right-click on your desktop, select New > Shortcut, and paste the full command (e.g., shutdown /s /f /t 7200). Name it "Schedule Restart". Double-clicking this icon will instantly set the timer.
Use PowerShell for Precision: PowerShell offers more robust scripting capabilities. You can write a script that calculates the time difference between now and a target datetime automatically, reducing manual math errors.
Combine with Updates: Schedule restarts immediately after installing major Windows Updates. This ensures the update completes fully and applies cleanly without user interaction disrupting the process.
Troubleshooting
If the computer does not restart at the scheduled time, first check if another application has overridden the shutdown request. Some maintenance tools or third-party antivirus software may block automatic shutdowns.
Ensure your PC is plugged in or configured to allow shutdowns on battery power. Go to Settings > System > Power & battery and verify that sleep/shutdown behaviors are not restricted by power-saving modes that might delay or prevent the action.
If the command fails to execute, run Command Prompt as an Administrator. Right-click the Start button, select Terminal (Admin) or Command Prompt (Admin), and re-enter the command. Administrative rights ensure the system prioritizes the shutdown instruction.
To clear any stuck shutdown timers that aren't responding to shutdown /a, perform a hard reset by holding the physical power button on your PC case for 10 seconds. This cuts power and forces a reboot, clearing all pending software commands.
Frequently Asked Questions
Can I schedule a restart for a specific date and time?
The native shutdown command only supports a delay in seconds from the current moment. It cannot schedule a shutdown for next Tuesday at 5 PM directly. To do this, you must use Task Scheduler or a PowerShell script that triggers the shutdown command at the exact desired time.
Will scheduled restarts happen if the PC is asleep?
No. If your computer enters sleep mode, the shutdown timer pauses or stops. The PC must be awake and running for the countdown to proceed. Adjust your sleep settings to "Never" if you want the scheduled restart to occur regardless of idle time.
How do I cancel a scheduled restart?
Open the Run dialog (Win+R), type shutdown /a, and press Enter. This sends an abort signal to the system, cancelling the pending shutdown sequence immediately.
Does this work on Windows 10?
Yes, the shutdown /s /f /t [seconds] command is identical in Windows 10, 8, and 11. The interface steps remain the same across these versions.
Can I schedule multiple restarts?
You can only have one active shutdown timer at a time. If you issue a new shutdown command while one is already pending, the new timer replaces the old one. Use shutdown /a to clear the previous timer before setting a new one.
Is there a GUI option to schedule restarts?
Windows 11 does not provide a built-in graphical user interface button for scheduling restarts. You must use the command line method described above or utilize the Task Scheduler utility for more complex, calendar-based scheduling.