Windows 11 & Windows 10 guide

Shutdown Timer Windows 11/10: Set, Check and Cancel It

Need your PC to turn off in 30 minutes, one hour or after a long task? Here is the fastest built-in command, the exact time conversions, the cancellation command and a safer visual option.

Free Auto Shutdown countdown timer and reusable schedule profile interface
A visual countdown keeps the action, trigger and armed state visible.

Quick answer: press Win + R, enter shutdown /s /t 3600, and select OK to shut down in one hour. To cancel before the timer expires, run shutdown /a. Save and close your work first: Microsoft documents that any timeout greater than zero implies forced application closing.

Ready-to-use Windows shutdown timer commands

Windows includes shutdown.exe, so a simple one-time timer needs no extra software. The /s option requests a shutdown and /t supplies the delay in seconds.

Shut down in one hourshutdown /s /t 3600
30 minutesshutdown /s /t 1800
1 hourshutdown /s /t 3600
2 hoursshutdown /s /t 7200
4 hoursshutdown /s /t 14400
8 hoursshutdown /s /t 28800
Cancelshutdown /a

For any other duration, multiply minutes by 60. For example, 45 minutes is 45 × 60 = 2700, so the command is shutdown /s /t 2700.

What you wantSecondsCommand
Shut down in 15 minutes900shutdown /s /t 900
Shut down in 45 minutes2,700shutdown /s /t 2700
Shut down in 90 minutes5,400shutdown /s /t 5400
Shut down in 3 hours10,800shutdown /s /t 10800

Three ways to start a shutdown timer

Method 1: Run dialog

Press Win + R.
Type a command such as shutdown /s /t 3600.
Select OK. Windows schedules the shutdown and normally shows a notification.

This is the quickest method when you already know the number of seconds.

Method 2: Windows Terminal, PowerShell or Command Prompt

Open any of these terminals, enter the same command, and press Enter. Administrator rights normally are not required for a local shutdown timer under your own signed-in session.

Example: 90-minute timershutdown /s /t 5400

Do not close applications just because the command returned to the prompt. Save your work immediately; the timer continues in Windows.

Method 3: A desktop shortcut

  1. Right-click an empty area of the desktop and choose New > Shortcut.
  2. Use shutdown /s /t 3600 as the location.
  3. Name it clearly, for example Shut down in 1 hour.
  4. Create a second shortcut containing shutdown /a and name it Cancel shutdown.

A shortcut is useful for a duration you repeat. It is not ideal for changing times, recurring weekdays or conditions such as idle time.

How to cancel the timer

Before the countdown ends, press Win + R and run:

Abort a pending Windows shutdownshutdown /a

The /a option aborts a pending system shutdown during its timeout period. If Windows reports that no shutdown was in progress, the timer may already have expired, the schedule may come from Task Scheduler or another application, or the action may be sleep/hibernate rather than a pending shutdown.exe timeout.

For a deeper diagnostic flow, see How to Cancel a Scheduled Shutdown in Windows.

When a visual shutdown scheduler is better

The built-in command is excellent for a one-time countdown. A visual scheduler is more practical when you need to see and revise the rule later.

RequirementBest starting point
One shutdown, a known number of minutes from nowshutdown /s /t
Every day, selected weekdays or a monthly dateTask Scheduler or a reusable schedule profile
Wait until the PC is idle or a program finishesA conditional trigger
Visible warning, snooze, F10 cancel and historyFree Auto Shutdown
Free Auto Shutdown warning countdown in safe simulation mode
Safe simulation lets you inspect the warning and cancellation controls without performing a real shutdown.

The timeout has an important forced-close tradeoff

A positive /t value implies /f. Microsoft’s current documentation states that when the timeout is greater than zero, Windows implies the force option. That means the convenient countdown can close running applications when time expires and may discard unsaved data.

This behavior is easy to miss because the examples often show only /s and /t. The absence of a typed /f does not make a positive-timeout command non-forcing. Treat every timer in the table above as a potentially destructive command at its deadline.

If you use shutdown /s /t 0, the positive-timeout implication does not apply, but the shutdown is immediate and there is no countdown window for shutdown /a. Applications may be able to delay the normal shutdown. Windows’ built-in command therefore does not provide the ideal combination of a visible countdown, cancellation and a guaranteed non-forced close.

A visual scheduler can show its own warning first, keep force-close disabled, and request shutdown only after the user-visible countdown. That is the safer model when open documents or long-running work may exist.

Safety rules that still matter

  • Do not schedule a shutdown during Windows Update, firmware updates, disk repair, encryption or backup finalization.
  • Keep a cancellation method available before walking away.
  • If a download or conversion may take an unpredictable time, use a process-exit or idle rule instead of guessing a countdown.
  • Use sleep for a short break and hibernate for a longer pause when you want to resume your session. Microsoft documents the differences between shutdown, sleep and hibernate.

Common shutdown timer problems

“A shutdown is already in progress”

Cancel the existing timer with shutdown /a, then create the new one. Starting multiple one-time timers does not create an orderly queue.

The PC did not shut down

Confirm the command used /s, not only /t. Check for applications blocking shutdown, a policy-managed PC, or a schedule that was created under a different account. Continue with the scheduled shutdown troubleshooting checklist.

I need the PC to shut down at 11:00 PM every night

A seconds-based timer is the wrong model because you would have to recreate it every day. Use a recurring daily rule instead.

Shutdown timer FAQ

What is the command to shut down Windows after one hour?

Run shutdown /s /t 3600. The timeout is in seconds, and 3,600 seconds equals one hour. Save work first because Microsoft documents that a positive timeout implies forced application closing.

How do I cancel a Windows shutdown timer?

Run shutdown /a before the timeout expires.

Can I see exactly how much time remains?

Windows may show a notification, but shutdown.exe does not provide a convenient live countdown query. A visual scheduler is better when remaining time and state must stay visible.

Does a one-time timer repeat after restart?

No. Use Task Scheduler or a dedicated scheduler for recurring daily, weekly or monthly rules.

Primary sources

Methodology: command semantics were checked against Microsoft documentation; product screenshots show the current English 8.0.0 interface. Free Auto Shutdown is not affiliated with or endorsed by Microsoft.

Prefer a clear visual schedule?

Free Auto Shutdown 8.0.0 supports countdowns, calendar schedules, idle, low-battery and process-exit triggers.

Download Free Auto Shutdown