Gaming

How to Schedule Windows 11 Shutdown

Geeknetic How to Schedule Windows 11 Shutdown 1

Scheduling equipment shutdown

As we explained to you in the guide on programming the shutdown of the PC in a simple way, thanks to a simple command you can ask your computer to stop automatically. In this article we focus on this same function, but this time we will talk about how to do it in Windows 11. The two sections that follow contain the steps necessary to schedule shutdown using CMD and with a scripta file in BAT format.

Schedule Windows 11 shutdown with CMD

Command Prompt or CMD is a perfect utility for Schedule a Windows 11 PC shutdown. There are actually two ways to issue the same command and have the console execute it. The first of them is carried out from the run menu.

This is how you do it:

  1. press Windows + R to bring up the run dialog.
  2. write the command shutdown -s -t (time in seconds).
  3. Replace the final figure with the number of seconds before the computer shuts down.
  4. Press Enter to launch the command.

Immediately, you will receive a notification alerting that the team will close the session in the specified time. Remember that to get the seconds from the command shutdownjust multiply the number of minutes you want to delay the shutdown by 60. For example, 3600 seconds is 60 minutes (60 x 60).

Geeknetic How to Schedule Windows 11 Shutdown 2

As an alternative, open command prompt window first and run the same command on it, as shown in the image above.

To get more out of the scheduled shutdown feature, take a look at the following available arguments:

  • shutdown -r -t (time in seconds). Schedule the reboot.
  • shutdown -h -t (time in seconds). Schedule hibernation.
  • shutdown -l -t (time in seconds). Schedule logout.
  • shutdown -hybrid -t (time in seconds). Schedule shutdown and get ready for quick start.

For cancel any of these actions before the stipulated time is up, run the command shutdown -a.

Another way to schedule Windows 11 shutdown is create a script in BAT format to automate the whole process even more.

Geeknetic How to Schedule Windows 11 Shutdown 3

It’s as easy as following these directions:

  1. Open the notepad.
  2. Type the command you want to run. For example, to shut down the computer in an hour, enter shutdown -s -t 3600.
  3. click on File > Save As.
  4. in the dialogue SaveChoose All the files in the dropdown Guy.
  5. Give it a name and a .bat extension. Example: shutdown windows in an hour.bat.

To execute the script, it is only necessary to double click on it.

Our recommendation is that you generate several scripts in order to launch the command with different variables. In this way, you could have a BAT file to shut down the computer in an hour, another to restart it every 30 minutes or one that closes the session in a quarter of an hour. The possibilities are as many as the combinations allowed by the command shutdown. Remember that you can also generate a script with the command shutdown -a to cancel any of these actions.

End of Article. Tell us something in the Comments!

Source link