Home » Insider Builds » How to Schedule Shutdown on Windows 10 & 11

How to Schedule Shutdown on Windows 10 & 11

Want to auto shutdown Windows at a specific time? Here’s how to schedule a shutdown in Windows using the built-in shutdown timer.

Windows provides multiple ways to shut down the system. For instance, you can right-click the Start menu and choose “Shut down or sign out > Shut down.” For most users, the default shutdown option is good enough. However, what if you want to auto shut down Windows on schedule, i.e., schedule a shutdown?

Given the deep options in Windows OS, you’d think there is a built-in option. However, no matter how much you search within the Windows settings, you will not find any option to schedule a shutdown. That doesn’t mean you cannot do it. You have to dig deeper or be a bit creative.

There are two methods to auto shutdown Windows on schedule. The first method is helpful to set a temporary and single-use shutdown timer. The second method is useful to auto shutdown Windows at a specific time regularly, like when you go to sleep.

I will show both methods; use the one depending on your use case. Without further ado, here is how to schedule a shutdown in Windows.

Table of contents:

The steps below work the same in Windows 10 and 11.

Command to schedule shutdown in Windows

Though Windows has no visible option, you can schedule and auto shutdown Windows with a single PowerShell or Command Prompt command.

This method is helpful when you have to set a shutdown timer to auto shutdown Windows spontaneously. For instance, you can use this tip to limit how long your children can use the system.

Here’s the command to schedule a shutdown in Windows.

  1. Right-click the Start menu icon.
  2. Choose “Windows Terminal.”
  3. Use the below command while replacing “timeInSeconds” with the actual number of seconds.
    shutdown -s -t timeInSeconds
  4. Close the terminal window.
  5. With that, you scheduled a shutdown in Windows.

Steps with more details:

To set a Windows shutdown timer, search for PowerShell or Command Prompt and open it. I’m using PowerShell, but you can use Command Prompt too. In Windows 10 and 11, you can use the Windows Terminal.

In the PowerShell or Command Prompt window, execute the below auto shutdown command. Replace “timeInSeconds” with the number of seconds.

shutdown -s -t timeInSeconds

For example, if you want to auto shutdown Windows after 60 minutes, then the command will be shutdown -s -t 3600.

Schedule shutdown - execute shutdown timer command

As soon as you execute the command, Windows will schedule a shutdown and displays a notification of the same.

Schedule shutdown - shutdown timer confirmation

Once the timer runs out, it will display a warning asking you to save your work as the system is shutting down in a few seconds. There will be no cancelation option to abort the shutdown.

Scheduled Shutdown with Task Scheduler

If you want Windows to automatically shut down at a specific time every day or regular intervals, then you can schedule a shutdown using Task Scheduler. Here is how to do it in simple steps.

  1. Press the “Start” key.
  2. Search and open “Task Scheduler.”
  3. Click “Create basic task.”
  4. Type a name in the “Name” field.
  5. Press “Next.”
  6. Choose a “Trigger.”
  7. Press “Next.”
  8. Configure the trigger.
  9. Press “Next.”
  10. Type “shutdown.exe” in the “Program/script” field.
  11. Type “/s” in the “Add arguments” field.
  12. Press “Next.”
  13. Press “Finish.”
  14. Close the Task Scheduler.
  15. With that, you scheduled a shutdown with the task scheduler.

Steps with more details:

Search for “Task Scheduler” in the start menu and open it.

Open task scheduler

Click the “Create basic task” option in the Task Scheduler main window.

Schedule shutdown - create basic task

In the task creation wizard, enter a meaningful name & description, and click “Next.”

Schedule shutdown - name task

Now select how often you want to repeat the task. In my case, I want to shut down my system daily. So, I chose the Daily option. You can select whatever option you want.

Schedule shutdown - select frequency

Enter the time and click “Next.” Since I want to shut down the system at 11 PM, I’ve entered the appropriate time.

Note: If you use a 12-hour clock, don’t forget to select AM or PM. If you use a 24-hour clock, enter the time in 24-hour format, as shown in the image below.

Schedule shutdown - enter time

Here, enter shutdown.exe in the “Program/Script” field and /s in the “Add Arguments” field. Click “Next” to continue.

Schedule shutdown - select program and arguments

Click “Finish” to complete the procedure.

Schedule shutdown - preview task

Once the task has been created, you will see it ready to be executed in the Task Scheduler. The task will be executed, and the system will shut down on schedule according to your settings.

Schedule shutdown - task created

If you want to test the scheduled task, save all your work, right-click on the task and choose “Run.”

That’s it. It is that simple to make Windows scheduled shutdown.

Read more: How to rename scheduled tasks in Task Scheduler on Windows

In the future, if you no longer want Windows to auto shutdown, right-click on the task and select “Disable.” This action will disable the task. If need be, you can even delete the task by selecting the “Delete” option.

Schedule shutdown - disable task

Oh, in case you are wondering, you can also cancel the scheduled shutdown on Windows. Follow the linked Windows guide to learn how.

I hope this simple and easy Windows how-to guide helped you.

If you are stuck or need some help, send an email, and I will try to help as much as possible.

Scroll to Top