Windows Auto-Shutdown in 10 Seconds: The One Command You’ll Actually Use

Windows Auto-Shutdown in 10 Seconds: The One Command You’ll Actually Use

Long renders, big downloads, and late-night backups have one thing in common: you don’t want to sit there and wait for them to finish just so you can power the machine down. Windows can do that part for you.

With a single built-in command, you can tell your PC to shut itself off after 10 minutes, an hour, or any time you choose — no extra software, no scripts, no admin rights beyond what you already have. Here’s how to set it up in about 10 seconds, how to cancel it if plans change, and how to pin a one-click shutdown button to your desktop.

A tidy computer desk setup ready for an auto-shutdown
Photo credits: Pexels contributors.

Why bother scheduling a shutdown?

Leaving a PC running overnight burns electricity and keeps the fans, drives, and heat cycle going for no reason. Scheduling a shutdown lets the computer rest once the job is done, trims your power bill, and is one of the easiest habits for keeping a machine healthy. It’s also perfect for those “I’ll start the download and go to bed” moments — set the timer and walk away.

How to schedule a shutdown with one command

  1. Open the Run box. Press the Windows key and R together. A small box appears at the bottom-left of your main screen.
  2. Type the command. Enter shutdown -s -t 600 and press Enter (or click OK). The -s means shut down, and -t 600 sets a timer of 600 seconds (10 minutes).
  3. Confirm the timer is live. Within a couple of seconds a notification pops up at the bottom-right: “Windows will shut down in 10 minutes.” That’s it — walk away.

Prefer a restart instead of a shutdown? Swap -s for -r — shutdown -r -t 600 reboots the PC after 10 minutes instead of powering it off.

Laptop workspace running Windows, ready for a scheduled shutdown
Photo credits: Pexels contributors.

The shutdown timer cheat sheet

The number after -t is seconds. Remember 3600 = 1 hour and you can build any time from there. Want 45 minutes? That’s 2700. Want 90 minutes? 5400.

Time Command
10 minutes shutdown -s -t 600
30 minutes shutdown -s -t 1800
1 hour shutdown -s -t 3600
2 hours shutdown -s -t 7200
3 hours shutdown -s -t 10800
Desktop computer setup where you can schedule an automatic shutdown
Photo credits: Pexels contributors.

How to cancel a scheduled shutdown

Changed your mind or realized the job will take longer? Cancel it just as fast.

  1. Open the Run box again (Win + R).
  2. Type shutdown -a and press Enter.

A notification confirms the scheduled shutdown is canceled. Simple as that.

Windows laptop on a desk, useful when canceling a timed shutdown
Photo credits: Pexels contributors.

Make a desktop shortcut for one-click shutdown

If you do this daily, a desktop icon beats typing the command every time.

  1. Right-click an empty spot on the desktop and choose New > Shortcut.
  2. For the location, type shutdown -s -t 3600 (that’s a 1-hour timer; change the number to taste).
  3. Click Next, name it something like “Shutdown in 1 hour,” and finish.

Double-click the icon whenever you head out and the timer starts. Make a second one named “Cancel shutdown” using shutdown -a for quick undo.

Clean computer desk where a shutdown shortcut comes in handy
Photo credits: Pexels contributors.

A few things to watch out for

A scheduled shutdown is a hard power-off. Anything still open — an unsaved Word doc, an Excel sheet, a Premiere Pro timeline — closes without saving. Save your work first. Even apps with auto-save can miss the last few minutes, so a manual save before you walk away is the safe move.

Does this work on Windows 10 and Windows 11?

Yes. The shutdown command is built into every modern Windows release — 10, 11, and even older versions back to Windows 7 — so these steps work the same on any PC you’ll likely own today.

Wrap up

One command, no install, real savings. Next time a render or download will outlast you, set the timer and walk away — your PC will handle the rest.

Found this useful? Bookmark it for the next late-night render, and share it with whoever keeps leaving their PC glowing all night.