How to schedule shutdown on windows 10 and 11

How to

Want Windows to shut down automatically at a certain time? Here is how to schedule a Windows shutdown using the built-in shutdown timer.

Windows provides multiple ways to shut down the system. For example, right click on the Start menu and select “Shutdown or Logout > Shutdown”. For most users, the default shutdown option is sufficient. But what if you want to shut down Windows automatically according to a schedule, i.e., schedule a shutdown?

Aside from the deep Windows OS options, you would think there would be built-in options. However, no matter how much you search the Windows settings, you will not find an option to schedule a shutdown. That does not mean it cannot be done.

There are two ways to shut down Windows automatically according to a schedule . The first method is useful for setting a temporary, one-time shutdown timer. The second method is useful for automatically shutting down Windows at a specific time on a regular basis, such as during sleep mode.

Both methods are presented here, but you should use them differently depending on the case you are using. As a quick reference, here is how to schedule a shutdown in Windows.

Table of Contents:

The following procedure works the same in Windows 10 and 11.

Windows Shutdown Scheduling Command

There is no visible option in Windows, but you can schedule Windows to shut down automatically with a single command from PowerShell or a command prompt.

This method is useful if you need to set a shutdown timer to automatically spontaneously terminate Windows. For example, you can use this tip to limit the amount of time children can use the system.

The following is a command to schedule a shutdown in Windows.

  1. Right click Start menu icon.
  2. Select ” Windows Terminal “.
  3. Run the following command , replacing “timeInSeconds” with the actual number of seconds.
    shutdown -s -t timeInSeconds
  4. Close the terminal window.
  5. With this you have scheduled a Windows shutdown.

Detailed instructions:

To set the Windows shutdown timer, find and open PowerShell or Command Prompt . I use PowerShell, but you can also use Command Prompt. On Windows 10 and 11, use Windows Terminal.

In the PowerShell or Command Prompt window, execute the automatic shutdown command shown below.



For example, if you want Windows to automatically shut down after 60 minutes, the command would be shutdown -s -t 3600 .

The moment you execute the command, Windows will schedule a shutdown and display a notification about it.

When the timer time expires, you will be warned to save your work because the system will shut down in a few seconds.

Scheduling Shutdown with the Task Scheduler

If you want Windows to shut down automatically at a specific time each day or periodically, you can schedule the shutdown using the Task Scheduler. Here are some simple steps to follow.

  1. Press the ” Start ” key.
  2. Search for and open “Task Scheduler”.
  3. Click on ” Create Basic Task “.
  4. Enter a name in the ” Name ” field. Click
  5. Next ” (Next ) “.
  6. Trigger . Select ”
  7. Next . Press
  8. Configure trigger. Press
  9. Next .”
  10. Type ” Shutdown.exe ” in the ” Program/Script ” field.
  11. Type ” /s ” in the ” Add Arguments ” field.
  12. Next .”
  13. Finish .”
  14. Finish the task scheduler.
  15. Now , you have reserved shutdown in the task scheduler.

Detailed instructions:

Find and open ” Task Scheduler ” from the Start menu.

In the main window of the Task Scheduler, click on ” Create Basic Task “.

In the Create Task wizard, enter a meaningful name and description and click ” Next “.

Next, select How often to repeat the task . In my case, I want to shut down the system daily. So I chose Daily. You can choose any option.”

Enter the time and click ” Next .” We want to shut down the system at 11 PM, so we entered the appropriate time.

Note: If you are using a 12-hour clock, be sure to select AM or PM. If you are using a 24-hour system, enter the 24-hour system as shown in the image below.

Now enter shutdown.exe in the “Program/Script” field and /s in the “Add Argument” field.

Click ” Next ” to continue.

Click ” Finish ” to complete the procedure.

After creating the task, verify that the Task Scheduler displays the tasks available for execution. The task will run and the system will shut down as scheduled according to your settings.

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

That is all. It is very easy to perform a scheduled shutdown of Windows.

Read more: How to rename scheduled tasks in Windows Scheduler

In the future, if you no longer want Windows to shut down automatically, right click on the task and select ” Disable “This will disable the task. This will disable the task. If necessary, you can also delete the task by selecting the ” Delete ” option.

If you are in doubt, you can also cancel the scheduled Windows shutdown.

We hope this simple and easy Windows guide is helpful.

If you are having trouble or need help, send us an email and we will do our best to help.

YouTube video: How to Schedule Shutdown on Windows 10 and 11

Rate article
We provide high-quality and detailed Windows tutorials