How to Schedule a Shutdown Timer in Windows 11 [4 Ways]

Save energy and time with a few simple commands

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Settings up a shutdown timer in Windows is possible with a relatively simple command, or using the Task Scheduler. We’ll walk you through all the steps necessary below.

So, if you want to be able to shut down once a long download is finished or want to prevent keeping your computer running in case you fall asleep, keep reading.

How can I schedule the shutdown in Windows 11?

1. Auto shutdown Windows 11 with Run

  1. First, press the Windows key + X hotkey, which will open a Win + X menu.
  2. Select Run on the menu to open the window for that accessory.
    Run option schedule shutdown windows 11
  3. Type the following shutdown timer command in the Open box: shutdown -s -t XXXX
    The shutdown command schedule shutdown windows 11
  4. Then click OK to set the timer. Windows 11 will shut down after the number of seconds set by your timer command.

You will need to replace XXXX in that command with an actual numerical time value. Entering a value of 1 would set Windows to shut down in one second.

Entering 3600 (three thousand, six hundred seconds) will set Windows to shut down in an hour. There are some more time values:

  • Two hours: shutdown -s -t 7200
  • Three hours: shutdown -s -t 10800
  • Four hours: shutdown -s -t 14400
  • Five hours: shutdown -s -t 18000
  • Six hours: shutdown -s -t 21600

2. Schedule shutdown via Windows Terminal

  1. First, launch the search tool (you can press the Windows key + S hotkey to do so).
  2. Input the keyword Windows Terminal within the text box to find that command-line app.
  3. Right-click Windows Terminal and select Run as administrator on the context menu.
  4. Then click the Open a new tabย button to bring up a menu.
    The Open a new tab menu schedule shutdown windows 11
  5. Select Command Prompt on the menu.
  6. Enter this command in the Promptโ€™s tab: shutdown -s -t XXXX
  7. Then hit the Return key to set the shutdown timer.
Note icon NOTE
This method is based on the same command as the Run one. So, youโ€™ll need to specify a time in seconds for the timer much the same.

3. Schedule shutdown with Task Scheduler

  1. First, launch the search utility and type Task Scheduler within the search toolโ€™s text box.
  2. Select Task Scheduler to open that utilityโ€™s window.
  3. Click Create Basic Task on the right side of Task Scheduler.
    Create Basic Task option schedule shutdown windows 11
  4. Enter Scheduled Shutdown within the Name box, and click the Next button.
  5. Select the One time option, and click the Next option to continue.
  6. Then choose a date and time for the PC to shut down at, and select the Next option.
    Date selection options schedule shutdown windows 11
  7. Click the Start a program option and Next.
  8. Press the Browse button to select the shutdown.exe at: C:\Windows\System32\shutdown.exe
  9. Then select the Open option.
  10. Enter -s in the Add arguments box.
    Start a Program options schedule shutdown windows 11
  11. Select the Next and Finish options to complete the scheduled task setup.

4. Set up a shutdown timer desktop shortcut

  1. Right-click a empty space on your desktop to select the New and Folder options.
    The Shortcut option schedule shutdown windows 11
  2. Then enter the shutdown timer command in the item location box: shutdown -s -t XXXX

    Create Shortcut window schedule shutdown windows 11
  3. Click Next to go to the final step.
  4. Enter a title for the shortcut in the text box, and select the Finish option.
  5. Thereafter, click the Scheduled Shutdown shortcut you just added to the desktop.
Note icon NOTE
Make sure you replace the XXXX in the command with an actual timer value as specified within the first resolution.

Wrapping up

If you want to specify Windows 11 to shut down at a specific time every day, the Task Scheduler method is the best. With that tool, you can set up a recurring daily shutdown task for a specific clock time. Then you wonโ€™t need to keep on entering a shutdown timer command every day.

Moreover, keep in mind that you can shut down Windows 11 with a keyboard shortcut. You may even create a custom shutdown shortcut to turn off your computer globally even if other apps are opened.

So, choose whatever method you prefer for scheduling shutdown in Windows 11. Note that those methods will also work in other Windows platforms.

Frequently Asked Questions

Is there a sleep timer on Windows 11?

Yes, you can set a sleep timer in Settings > System > Power & battery > Screen and sleep. Choose the idle time after which your PC will automatically go to sleep.

Can I schedule my PC to shut down automatically?

Yes, use Task Scheduler to create a task that runs shutdown.exe -s at a specific time. This method allows for recurring shutdowns, so your PC will turn off automatically based on your schedule.

Does Windows 11 have a night mode?

Windows 11 includes Night Light, which reduces blue light emission. Enable it via Settings > System > Display, and you can schedule it to turn on at a specific time to reduce eye strain during late hours.

More about the topics: Windows 11 guides

User forum

0 messages