Ever leave a download, a backup, or a long computation running overnight, then forget to shut down the computer before you leave? Instead of letting it run all night, Windows 11 can shut itself down at whatever time you choose. It’s free, built right into the system, and doesn’t require installing anything.
Whether you’re someone trying to cut down on electricity use or a Trois-Rivieres SMB that wants workstations to power off automatically after business hours, here’s how to set up automatic shutdown on Windows 11 in a few minutes, with two methods depending on whether you need a one-time shutdown or a recurring one.
Quick answer: For a one-time shutdown, open Command Prompt and type shutdown -s -t 3600 (the PC will shut down in 3600 seconds, or one hour). To cancel, type shutdown -a. For a shutdown that repeats daily at the same time, use the Windows 11 Task Scheduler.
1. Why schedule an automatic shutdown
Leaving a computer on for no reason isn’t just a matter of electricity. It’s unnecessary wear on the hardware and a door left open overnight from a security standpoint. Scheduling a shutdown solves several small annoyances at once.
Here are the situations where this trick really pays off day to day:
- Energy savings: workstations power down after business hours instead of running all night.
- Long tasks: a large download, export, or backup finishes, then the PC closes on its own.
- Evening discipline: handy for limiting kids’ screen time at home.
- Planned maintenance: restarting or shutting down machines at a set time helps updates apply cleanly.
For a business, this kind of automation is part of good IT hygiene. It’s also the kind of setting a managed IT services partner rolls out across an entire fleet of workstations in a few clicks, without every employee having to think about it.
2. Quick method with the shutdown command
The most direct way to trigger an automatic shutdown on Windows 11 is the shutdown command. It’s a tool that’s been built into Windows for years, officially documented by Microsoft, and it works just as well in Command Prompt, PowerShell, or the Run window.
Steps
- Press Windows + R to open the Run window.
- Type shutdown -s -t 3600 and press Enter.
- A notification confirms Windows will shut down after the delay you set.
The number at the end is the delay in seconds. A few handy reference points: 600 for 10 minutes, 1800 for 30 minutes, 3600 for one hour, and 7200 for two hours. Just adjust the number to match when you want the machine to shut down.
One thing worth knowing: the dash (-s) and the forward slash (/s) both work, it’s just a matter of preference. The -s parameter requests the shutdown, and -t sets the countdown. If you’d rather have an automatic restart, swap -s for -r.

3. Recurring shutdown with Task Scheduler
The shutdown command handles a single, one-time shutdown. If you want a workstation to power off at the same time every day, say 7:00 PM at the office, the Windows 11 Task Scheduler is the right tool. It triggers actions based on criteria you choose, such as a specific time or day of the week.
Creating the task
- Open the Start menu, type Task Scheduler, and launch the app.
- In the right-hand menu, click Create Basic Task.
- Give it a clear name, such as Evening Shutdown, then click Next.
- Choose the Daily trigger (or Weekly, depending on your needs) and set the time you want.
- At the Action step, select Start a program.
- In the Program field, enter shutdown, and in the Arguments field, enter -s -f -t 60.
- Finish with Next, then Finish.
Here, the -f parameter forces open applications to close, and -t 60 gives a one-minute grace period. That’s useful so an employee still working sees the warning and can save their work before the shutdown. The task then repeats automatically, with no further intervention needed.
On a single home PC, this works perfectly. On ten, twenty, or a hundred workstations spread across a business in the Mauricie region, configuring each machine one by one gets tedious fast. That’s exactly the kind of centralized deployment we manage remotely for our clients, along with monitoring for any workstations that don’t shut down as expected.
4. Cancelling or changing a scheduled shutdown
Started a countdown and changed your mind? No worries, nothing here is irreversible. A pending shutdown can be cancelled with a single command, as long as the delay hasn’t run out yet.
- Cancel a shutdown in progress: open Run (Windows + R) and type shutdown -a. The countdown stops immediately.
- Change the time: cancel first with shutdown -a, then run the command again with a new delay.
- Change a recurring task: go back into Task Scheduler, find your task in the Task Scheduler Library, right-click it, and choose Properties to change the time, or Disable to pause it.
A good habit: create a desktop shortcut that points to shutdown -a. That way, cancelling a shutdown becomes a simple double-click, with no need to retype the command. It’s a reassuring safety net once you start using this feature.
![]()
5. Common mistakes to avoid
The trick is simple, but a few details trip people up. Here are the most common pitfalls and how to avoid them.
- Mixing up minutes and seconds: the delay is always in seconds. Typing -t 30 thinking it means 30 minutes actually shuts the machine down in 30 seconds.
- Forgetting open files: without the -f parameter, Windows waits for confirmation and the shutdown can stall. With -f, it closes everything, so save your work first.
- Thinking it wakes up a powered-off PC: the command schedules a shutdown, not a startup. To turn on a machine remotely, that’s a different technology (Wake-on-LAN).
- Relying on it as a backup strategy: shutting down a workstation isn’t a data protection strategy. A scheduled shutdown and a real backup are two separate things.
That last point matters for an SMB. Automating shutdowns is a good practice, but it doesn’t replace a backup plan or up-to-date antivirus protection. Those pieces call for a complete approach, especially in Quebec where Law 25 governs the handling of personal information.
Frequently asked questions
How do I schedule my PC to shut down in an hour?
Press Windows + R, type shutdown -s -t 3600, and confirm. The 3600 corresponds to one hour in seconds. Windows will show a notification confirming the shutdown time.
How do I cancel an automatic shutdown that’s already running?
Open the Run window again with Windows + R, type shutdown -a, then press Enter. This immediately cancels any pending shutdown, as long as the countdown hasn’t finished.
Does automatic shutdown also work on Windows 10?
Yes. The shutdown command and Task Scheduler have been around for several versions of Windows. The steps described here apply to both Windows 10 and Windows 11, with a very similar interface.
Need help with your workstations in Trois-Rivieres and the Mauricie region?
Scheduling an automatic shutdown is a perfect example of a small tweak that saves time and energy. Applied across an entire fleet of workstations, this kind of automation becomes strategic for a business. If you’d like to roll out these best practices without spending your evenings on it, check out our IT services for SMBs or get in touch with our team in Trois-Rivieres. We’ll set up your workstations, keep an eye on your backups, and keep your Windows 11 environment running smoothly.