Do you sometimes leave a download, a backup, or a long calculation running in the evening, then forget to shut down your computer before leaving? Instead of leaving it on all night, Windows 11 can shut down automatically at a time you choose. It's free, it's integrated into the system, and it requires no software installation.
Whether you are an individual who wants to limit your electricity consumption or a Trois-Rivières SME that wants its workstations to automatically shut down after office hours, here's how to configure Windows 11's automatic shutdown in a few minutes, with two methods depending on whether you need a one-time or recurring shutdown.
Quick answer: For a one-time shutdown, open the 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 program an automatic shutdown?
Leaving a computer on unnecessarily isn't just about electricity. It also causes unnecessary wear and tear on the hardware and, from a security standpoint, leaves a door open overnight. Scheduling a shutdown solves several minor annoyances at once.
Here are the situations where this tip becomes really useful in everyday life:
- Energy saving : the workstations are switched off after office hours instead of running all night.
- Long-term tasks : a large download, export or backup finishes, then the PC shuts down by itself.
- Evening discipline : a practical way to limit children's screen time at home.
- Scheduled maintenance : restarting or shutting down machines at fixed times helps to apply updates properly.
For a company, this kind of automation is part of good IT hygiene. It's also the type of setting that a managed IT services can deploy across an entire fleet of workstations in just a few clicks, without each employee having to think about it.
2. Quick method using the shutdown command
The most direct way to trigger an automatic shutdown of Windows 11 is via the ` shutdown`. This is a tool that has been integrated into Windows for years, officially documented by Microsoft, and it works equally well in the command prompt, PowerShell, or the Run dialog box.
Steps
- Press the Windows + R to open the Run window.
- Type shutdown -s -t 3600 and then press Enter.
- A notification confirms that Windows will shut down within the chosen time frame.
The number at the end represents the delay in seconds. Some useful guidelines: 600 for 10 minutes, 1800 for 30 minutes, 3600 for one hour, and 7200 for two hours. You simply adjust this number according to when you want the machine to turn off.
One small detail to know: both the hyphen ( -s ) and the forward slash ( /s ) work; it's just a matter of getting used to it. The -s parameter requests a shutdown, and -t sets a countdown. If you want an automatic restart instead, replace -s with -r .

3. Recurring shutdowns with the Task Scheduler
The `shutdown` command schedules a one-time shutdown. If you want your computer to shut down every day at the same time, for example, 7:00 PM at the office, the Windows 11 Task Scheduler is the appropriate tool. It triggers actions based on criteria you choose, such as a specific time or day of the week.
Create the task
- Open the Start menu, type Task Scheduler and launch the application.
- In the right-hand menu, click on Create a basic task.
- Give it a clear name, for example Evening Extinction, then click Next.
- Choose the trigger Daily (or Weekly depending on your needs) and set the desired time.
- In the Action step, select Start a program.
- In the Program field, enter shutdown and in the Arguments field, enter -s -f -t 60.
- Click Next and then Finish.
Here, the -f forces the closure of open applications, and the -t 60 allows a one-minute grace period. This is useful so that an employee who is still working sees the warning and saves their work before the shutdown. The task will then repeat automatically, without intervention.
On a single home computer, it's perfect. But configuring it machine by machine across ten, twenty, or a hundred computers in a Mauricie region quickly becomes cumbersome. This is exactly the kind of centralized deployment we manage remotely for our clients, with the added benefit of monitoring computers that don't shut down as expected.
4. Cancel or modify a scheduled stop
You started a countdown and changed your mind? Don't panic, nothing is irreversible. The pending stop can be cancelled with a single command, as long as the deadline hasn't passed.
- To cancel a shutdown in progress : open Run (Windows + R) and type shutdown -a. The countdown will be immediately stopped.
- To change the time : first cancel with shutdown -a, then relaunch the command with a new delay.
- To modify a recurring task : return to the Task Scheduler, find your task in the Library, right-click 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, canceling a shutdown becomes a simple double-click, without having to retype the command. It's reassuring when you're first learning how to use the function.

5. Common mistakes to avoid
The trick is simple, but a few details trip up many people. Here are the most common pitfalls and how to avoid them.
- Don't confuse minutes and seconds : the delay is always in seconds. Typing -t 30 while thinking of 30 minutes turning off the radio actually turns it off in 30 seconds.
- Forget about open files : without the -f parameter, Windows waits for your confirmation and the shutdown process may freeze. With -f, it closes everything, so save your files first.
- Thinking this will wake up a PC that's off is wrong : the command schedules a shutdown, not a startup. Turning on a machine remotely requires a different technology (Wake-on-LAN).
- Relying on it for backups : shutting down a computer is not a data protection strategy. A scheduled shutdown and a true backup are two different things.
This last point is important for an SME. Automating shutdown is a good practice, but it doesn't replace a backup plan or up-to-date antivirus protection. These aspects require a comprehensive approach, especially in Quebec where Bill 25 governs information management.
Frequently Asked Questions
How do I schedule my PC to shut down in one hour?
Press Windows + R, type shutdown -s -t 3600 and press Enter. The 3600 represents the hour in seconds. Windows will display a notification confirming the shutdown time.
How do I cancel an automatic shutdown that has already started?
Open the Run dialog box again with Windows + R, type shutdown -a , and press Enter. This command will immediately cancel any pending shutdowns, as long as the countdown timer has not yet finished.
Does automatic shutdown also work under Windows 10?
Yes. The shutdown command and Task Scheduler have existed 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 positions in Trois-Rivières and Mauricie?
Scheduling an automatic shutdown is the perfect example of a small adjustment that saves time and energy. When implemented across a network of workstations, this type of automation becomes strategic for a business. If you want to deploy these best practices without spending all your evenings on it, discover our IT services for SMEs or contact our team in Trois-Rivières. We configure your workstations, monitor your backups, and keep your Windows 11 environment healthy.
