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.
shutdown /s /t 1800shutdown /s /t 3600shutdown /s /t 7200shutdown /s /t 14400shutdown /s /t 28800shutdown /aFor 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 want | Seconds | Command |
|---|---|---|
| Shut down in 15 minutes | 900 | shutdown /s /t 900 |
| Shut down in 45 minutes | 2,700 | shutdown /s /t 2700 |
| Shut down in 90 minutes | 5,400 | shutdown /s /t 5400 |
| Shut down in 3 hours | 10,800 | shutdown /s /t 10800 |
Three ways to start a shutdown timer
Method 1: Run dialog
shutdown /s /t 3600.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.
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
- Right-click an empty area of the desktop and choose New > Shortcut.
- Use
shutdown /s /t 3600as the location. - Name it clearly, for example Shut down in 1 hour.
- Create a second shortcut containing
shutdown /aand 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:
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.
| Requirement | Best starting point |
|---|---|
| One shutdown, a known number of minutes from now | shutdown /s /t |
| Every day, selected weekdays or a monthly date | Task Scheduler or a reusable schedule profile |
| Wait until the PC is idle or a program finishes | A conditional trigger |
| Visible warning, snooze, F10 cancel and history | Free Auto Shutdown |

The timeout has an important forced-close tradeoff
/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.
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.
