How to Schedule a Restart in Windows 11

To schedule a restart in Windows 11, open Settings > Windows Update and pick a time with Schedule the restart if a pending update needs a reboot. For any other time, run shutdown /r /t 3600 to restart in one hour, or create a weekly task with schtasks so the PC restarts itself at the same time every week.

This covers Windows 11 Home and Pro. The command steps need a Terminal window; the weekly task needs an administrator account.

Pick a Time for a Pending Update Restart

Windows Update tries to restart outside the hours you use your PC. When it can’t, Microsoft says you’re asked to schedule the restart for a better time. You can also set that time yourself the moment an update finishes downloading.

  1. Select Start > Settings > Windows Update.
  2. If an update needs a restart, the page shows a restart message with a Schedule the restart option. Select it.
  3. Choose a time (and a day, if offered) when the PC can be offline for a few minutes.
  4. Leave the PC on and plugged in at that time. Windows restarts and finishes installing.

Microsoft’s admin documentation adds one detail that matters at home too: a restart you schedule from the update notification happens at the time you chose, even if someone is signed in. Save your work before the hour you picked.

If the Schedule the restart option isn’t there, there may be no update waiting for a restart. Check for one first with the steps in updating Windows 11.

Keep Update Restarts Outside Your Working Hours

Active hours tell Windows when you normally use the PC, so automatic update restarts avoid that window. The setting is under Settings > Windows Update > Advanced options > Active hours. Microsoft lists the default as 8 AM to 5 PM, and current versions allow a window of up to 18 hours.

Active hours don’t give you a fixed restart time; they only block one. To pause updates for a while or stop surprise restarts altogether, follow keeping Windows 11 from restarting without permission. Pausing is limited: Microsoft allows up to 35 days, and no update restart happens until the pause ends.

A One-Time Countdown With shutdown /r /t

The shutdown command can restart the PC after a delay you choose, in seconds. It’s handy when Alex wants a file copy to finish before the PC reboots, or when a program installer asks for a restart but now isn’t a good moment.

  1. Right-click Start and open Terminal. A normal window is fine for a restart of your own PC.
  2. Type the command with the delay in seconds and press Enter. For one hour: shutdown /r /t 3600
  3. Windows shows a notice that the PC will restart. Keep working until then.

Some useful delays: 600 is 10 minutes, 1800 is 30 minutes, 3600 is one hour, 7200 is two hours, 28800 is eight hours.

Microsoft’s shutdown reference lists what each part does:

  • /r restarts the computer after it shuts down.
  • /t sets the countdown in seconds. The valid range is 0 to 315360000 (10 years), and the default is 30.
  • /c adds your own message to the warning, in double quotation marks, up to 512 characters. Example: shutdown /r /t 3600 /c "Restarting at 6 PM for updates"

Warning: Microsoft notes that whenever the countdown is greater than 0, the /f option is implied. That means open apps are closed without asking when the time runs out, and unsaved data can be lost. Save and close your documents before the countdown ends.

Stop a Countdown You Started

Changed your mind? Open a new Terminal window and run shutdown /a. Microsoft says this aborts a pending shutdown and has to be run as a separate command during the countdown. Once the timer reaches zero, it’s too late. If you want a countdown for turning the PC off instead of restarting, see turning off a Windows 11 computer.

A Weekly Restart With schtasks

For a PC that runs all week (a home server, a shared family computer, an office PC that’s never shut down), a weekly restart clears out stuck apps and finishes pending updates. The schtasks command creates a scheduled task that runs the shutdown command at a set time. Microsoft’s schtasks reference says only administrators can schedule tasks that run with system permissions, so use an elevated window.

  1. Open Terminal as administrator. If you need help with that, see running Command Prompt as an administrator.
  2. Paste this command and press Enter (one line):

schtasks /create /tn "Weekly restart" /tr "shutdown /r /t 60" /sc weekly /d SUN /st 03:00 /ru system

  1. Windows reports that the task was created. It now runs every Sunday at 3:00 AM.

What each part means, based on Microsoft’s reference:

  • /tn is the task name. Each task needs a unique name, and names with spaces go in quotation marks.
  • /tr is the program or command the task runs. Here it’s a restart with a 60 second warning.
  • /sc weekly sets a weekly schedule, and /d SUN picks the day (MON through SUN).
  • /st 03:00 is the start time in 24-hour HH:mm format, so 03:00 is 3 AM and 15:00 is 3 PM.
  • /ru system runs the task under the local System account, so it works even when nobody is signed in.

Pick a time when the PC is on but idle. Microsoft’s reference describes tasks that run whenever the system is running, so if the PC is asleep or turned off at 3 AM, expect that week’s restart to be skipped.

Remove or Change the Weekly Task

To delete the task, run this in an elevated Terminal:

schtasks /delete /tn "Weekly restart"

Windows asks you to confirm. To change the day or time, delete the task and create it again with new /d or /st values.

What Happens to Open Apps and Unsaved Work

All three methods end the same way: Windows closes everything and starts again. The difference is how much warning you get.

  • A scheduled update restart happens at the time you picked, even if you’re signed in.
  • A shutdown countdown closes apps without asking when it hits zero (the implied /f).
  • The weekly task gives a 60 second warning with the command above. Raise /t in the /tr part if you want more time.

Apps that keep drafts, like most browsers and Microsoft 365 apps with AutoSave, usually recover well. A document that was never saved isn’t protected by any of this, so the habit that matters most is saving before the scheduled time.

A restart is also different from shutting down and turning the PC on again. With fast startup on, a shutdown doesn’t fully reset Windows, while a restart does. That’s explained in disabling fast startup in Windows 11.

Work and School PCs With Restart Deadlines

On a PC managed by an employer or school, IT can set when updates must be installed. Microsoft’s admin documentation describes how this works: Windows first tries to restart outside active hours, and if that doesn’t happen within a default period of seven days, the user is told a restart is required. IT can also set update deadlines in days, and once a deadline is reached, the PC can restart outside active hours.

If your work laptop keeps insisting on a restart, scheduling it for the end of the day with Schedule the restart is the friendliest option. Don’t try to remove the deadline; ask IT instead. Scheduled tasks may also be blocked on managed PCs.

For most people, Schedule the restart covers update days and a single shutdown countdown covers everything else. Set up the weekly task only on a PC that really runs all week, and check Microsoft’s shutdown command reference if you want to try other switches.

Scheduled restart questions

How far ahead can a shutdown countdown be set?

Microsoft lists a maximum of 315360000 seconds, which is 10 years. In practice, a countdown of a few hours is the useful range, because the timer is lost if the PC restarts or shuts down for another reason first.

Will a scheduled update restart happen while I’m signed in?

Yes. According to Microsoft, when a user schedules the restart in the update notification, the PC restarts at that time even if someone is signed in. Pick a time when nobody will be in the middle of something.

Can I add a note to the countdown warning?

Yes, with /c and a message in double quotation marks, up to 512 characters. A short note like “Saving updates, back in five minutes” helps if other people use the PC.

Can I schedule a restart into the BIOS?

Not with these steps. Restarting into the firmware settings is a separate task, covered in restarting into BIOS from Windows 11. And if an update is already installing and you need it to stop, see canceling a Windows 11 update in progress.