Trois-Rivières, serving all of Quebec 450 231-3836 info@oktosolutions.ca
FR

How to Schedule an Automatic Shutdown on Your Windows 11 PC

Portrait of Antonio Pazzi, president of OKTO Solutions

By ·

President of OKTO Solutions · 6 minute read

Do you sometimes leave a download, a backup or a long calculation running in the evening, then forget to shut the computer down before you head out? Rather than leaving it on all night, Windows 11 can shut itself down at the time you pick. It is free, it is built into the system, and it needs no software installed.

Whether you are at home and want to cut your power use, or you run a small business in Trois-Rivières and want your workstations to shut down automatically after office hours, here is how to set up an automatic shutdown in 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 every day at the same time, use the Windows 11 Task Scheduler.

1. Why schedule an automatic shutdown

Leaving a computer on for no reason is not only a question of electricity. It is also needless wear on the hardware and a door left open overnight on the security side. Scheduling a shutdown settles several small irritants at once.

Here are the situations where this trick really pays off day to day:

  • Energy savings: workstations shut down after office hours instead of running all night.
  • Long tasks: a large download, an export or a backup finishes, then the PC closes on its own.
  • Evening discipline: handy for limiting screen time for the kids at home.
  • Planned maintenance: restarting or shutting machines down at a set hour helps updates apply cleanly.

For a business, this kind of automation is part of good IT hygiene. It is also the type of setting that a partner in managed IT services rolls out across an entire IT environment in a few clicks, without every employee having to think about it.

2. The quick method with the shutdown command

The most direct way to trigger an automatic shutdown in Windows 11 is the shutdown command. It is a tool that has been built into Windows for years, documented officially by Microsoft, and it works just as well in Command Prompt as in PowerShell or the Run box.

Steps

  1. Press the Windows + R keys to open the Run box.
  2. Type shutdown -s -t 3600 then press Enter.
  3. A notification confirms that Windows will close within the time you set.

The number at the end is the countdown in seconds. A few handy landmarks: 600 for 10 minutes, 1800 for 30 minutes, 3600 for one hour and 7200 for two hours. You simply adjust that number based on when you want the machine to shut down.

One small detail worth knowing: the dash (-s) and the forward slash (/s) both work, it is a matter of habit. The -s parameter asks for the shutdown, and -t sets the countdown. If you would rather have an automatic restart, replace -s with -r.

3. Recurring shutdown with Task Scheduler

The shutdown command handles a single shutdown. If you want the workstation to turn off every day at the same time, for instance at 7:00 p.m. at the office, the Windows 11 Task Scheduler is the right tool. It triggers actions based on criteria you choose, such as a precise time or a day of the week.

Creating the task

  1. Open the Start menu, type Task Scheduler and launch the app.
  2. In the menu on the right, click Create Basic Task.
  3. Give it a clear name, for example Evening shutdown, then click Next.
  4. Choose the Daily trigger (or Weekly, depending on your need) and set the time you want.
  5. At the Action step, select Start a program.
  6. In the Program field, enter shutdown and in the Arguments field, put -s -f -t 60.
  7. Finish with Next then Finish.

Here, the -f parameter forces open applications to close and the -t 60 leaves a one-minute grace period. That is useful so an employee who is still working sees the warning and saves their work before the shutdown. The task then repeats on its own, with no further action.

On a single home computer, that is perfect. On ten, twenty or a hundred workstations spread across a company in the Mauricie, setting this up machine by machine quickly becomes a chore. This is exactly the kind of centralized rollout we manage remotely for our clients, with follow-up on the workstations that do not shut down as planned.

4. Cancelling or changing a scheduled shutdown

You started a countdown and changed your mind? No need to worry, nothing is irreversible. A pending shutdown is cancelled with a single command, as long as the countdown has not run out.

  • 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 countdown.
  • Change a recurring task: go back into 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, cancelling a shutdown becomes a simple double-click, with no command to retype. It is reassuring while you are still getting used to the feature.

The OKTO Solutions support team in Quebec answers a question about Windows 11

5. Common mistakes to avoid

The trick is simple, but a few details trip plenty of people up. Here are the most common pitfalls and how to get around them.

  • Mixing up minutes and seconds: the countdown is always in seconds. Typing -t 30 while thinking of 30 minutes actually shuts the workstation down in 30 seconds.
  • Forgetting open files: without the -f parameter, Windows waits for your 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 start-up. Turning a machine on remotely is a different technology (Wake-on-LAN).
  • Counting on it for backup: shutting a workstation down is not a data protection strategy. A scheduled shutdown and a real backup are two separate things.

That last point matters for a small business. Automating shutdowns is good practice, but it replaces neither a backup plan nor an up-to-date antivirus. Those pieces call for a complete approach, especially in Quebec where Quebec’s Law 25 governs how personal information is handled.

Frequently asked questions

How do I schedule my PC to shut down in one hour?

Press Windows + R, type shutdown -s -t 3600 and confirm. The 3600 is one hour expressed in seconds. Windows shows a notification confirming the shutdown time.

How do I cancel an automatic shutdown that has already started?

Open the Run box again with Windows + R, type shutdown -a then press Enter. The command immediately cancels any pending shutdown, as long as the countdown has not finished.

Does automatic shutdown also work on Windows 10?

Yes. The shutdown command and Task Scheduler have been in Windows for several versions. The steps described here apply to Windows 10 just as much as to Windows 11, with a very similar interface.

Need a hand with your workstations in Trois-Rivières and the Mauricie?

Scheduling an automatic shutdown is the perfect example of a small setting that saves time and energy. Multiplied across a whole IT environment, this kind of automation becomes strategic for a business. If you want these good practices rolled out without spending your evenings on them, take a look at our IT services for small business or get in touch with our team in Trois-Rivières. We configure your workstations, watch your backups and keep your Windows 11 environment healthy.

A quick fix settles one case. A team behind you settles the next ones: our IT support, our co-managed IT services and our IT services in Brossard.

A question on this subject, for your own company?

An article explains the principle. A twenty minute call tells you what it changes at your place, with your systems and your constraints.