Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Schedule an Automatic Shutdown in Windows 11 or 10

Set and cancel a Windows shutdown countdown, create a reusable shortcut, or schedule recurring shutdowns with Task Scheduler—without extra software.

Table of Contents

Windows 11 and 10 can schedule a shutdown without extra software. Use the shutdown command for a one-time countdown, a desktop shortcut for a reusable timer, or Task Scheduler for a specific or recurring time.

Save open work first. A timed shutdown can close applications when the timeout expires, and unsaved changes may be lost.

1. Start a one-time shutdown countdown

  1. Press Win + R.
  2. Enter the command below and click OK:
shutdown /s /t 1800

/s means shut down and /t 1800 sets a delay of 1,800 seconds, or 30 minutes. Replace 1800 with the required number of seconds.

DelayCommand
5 minutesshutdown /s /t 300
15 minutesshutdown /s /t 900
30 minutesshutdown /s /t 1800
1 hourshutdown /s /t 3600
2 hoursshutdown /s /t 7200
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 1
Enter the shutdown countdown in Run, Command Prompt, or Windows Terminal.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 2
Windows displays a notification after the shutdown is scheduled.

Cancel the pending shutdown

Before the timer expires, press Win + R and run:

shutdown /a
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 3
Use shutdown /a to abort the active countdown.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 4
Windows confirms when the shutdown has been canceled.

The abort command works only while a shutdown is pending. If no shutdown is active, Windows reports that none could be aborted.

2. Create a reusable shutdown shortcut

  1. Right-click an empty area of the desktop and choose New > Shortcut.
  2. For the location, enter:
C:WindowsSystem32shutdown.exe /s /t 1800
  1. Click Next, name it Shut down in 30 minutes, and click Finish.
  2. Double-click the shortcut whenever the countdown should start.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 5
Create a new desktop shortcut.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 6
Enter the full path to shutdown.exe followed by its arguments.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 7
Name the shortcut according to its delay.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 8
The shortcut target can include a delay and optional comment.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 9
Running the shortcut schedules the shutdown.

To add a notification comment, append /c "Scheduled shutdown". Avoid adding /f unless you knowingly accept forcing applications to close. Create a separate cancel shortcut with this target:

C:WindowsSystem32shutdown.exe /a

3. Schedule a shutdown at a clock time

Task Scheduler is the best built-in option for a one-time or repeating schedule.

  1. Open Start, search for Task Scheduler, and launch it.
  2. Select Create Basic Task in the Actions pane.
  3. Enter a clear name such as Daily shutdown.
  4. Choose One time, Daily, Weekly, or another trigger, then set the date and time.
  5. For the action, choose Start a program.
  6. In Program/script, enter C:WindowsSystem32shutdown.exe.
  7. In Add arguments, enter /s /t 60. The 60-second warning leaves time to abort with shutdown /a.
  8. Finish the wizard, find the new task in Task Scheduler Library, right-click it, and select Properties.
  9. Under Settings, decide whether to run the task as soon as possible after a missed start. Under Conditions, decide whether it may wake the computer and whether AC power is required.

Use Run from the task’s context menu to test it, then immediately run shutdown /a. Check Last Run Result after the test. To stop a recurring schedule, disable or delete the task; canceling one countdown does not remove the task.

For more background, see TipsMake’s overview of Task Scheduler and other built-in Windows tools. Microsoft documents every switch in the shutdown command reference.

Shutdown, sleep, or hibernate?

ActionUse it when
Shut downThe computer should fully close the Windows session and power off
SleepYou want a quick resume and the device will retain power
HibernateYou want the session saved to disk with very low power use
RestartWindows or software needs a clean reboot

A shutdown timer is not a reliable way to stop an active file copy or backup at the moment it finishes. Use the application’s own “shut down when complete” feature when available.

Do you need a third-party shutdown app?

Usually not. The original article listed many small utilities, several of which have old interfaces, unclear maintenance, or broad permissions. Built-in commands and Task Scheduler are easier to audit and do not add background software. If you need rules based on CPU, network activity, or media playback, choose a currently maintained application from its verified publisher and review its installer and permissions.

Interfaces from the original software list

These screenshots are retained for identification; they are not endorsements or current setup instructions.

4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 10
PC Sleep.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 11
Windows Shutdown Assistant.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 12
Shutdown Timer Classic.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 13
Wise Auto Shutdown.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 14
PowerOff-family timer interface from the original list.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 15
DShutdown.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 16
Shutdown8 Portable.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 17
Turn Off Timer.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 18
SLAWDOG Smart Shutdown.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 19
Simple Shutdown Timer.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 20
Timed Shutdown.
4 easiest, quickest, and simplest ways to schedule your computer to shut down. Picture 21
TimeComX Basic.

Other legacy names in the original roundup included Sleep Timer, PowerOff Timer, WinMend Auto Shutdown, and Monitor Power Saver. Verify current support before considering any of them.

Troubleshooting a timer that does not run

  • Confirm the task is enabled and its trigger uses the expected time zone.
  • Check whether the PC was asleep and whether Wake the computer to run this task is available and enabled.
  • Review Task Scheduler history and Last Run Result.
  • Make sure Program/script contains only the executable path and the switches are in Add arguments.
  • On a work PC, policy may restrict shutdown rights or scheduled tasks; contact the administrator.

For most users, shutdown /s /t handles a one-time countdown and Task Scheduler handles everything recurring.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.