- Scheduled shutdown automatically helps you schedule Windows 10, Windows 7/8 even when not in front of the computer. The following ways of shutdown computer are quite easy to use on the operating system, please refer to.
- Schedule your PC by CMD command
- Automatically turn off the computer automatically by shortcut
- Schedule automatic shutdown of computer with Windows Task Scheduler
Scheduled shutdown automatically helps you schedule Windows 10, Windows 7/8 even when not in front of the computer. The following ways of shutdown computer are quite easy to use on the operating system, please refer to.
Shutting down the computer is quite simple, just hit Start / Shut down, then click once again Shut Down is finished. However, to schedule a shutdown, you will have to use a little more tricks, not the usual shutdown button.
In this article, Network Administrator will introduce you two ways to schedule shutdown computer on Windows 7, Windows 8, Windows 10, even applicable on both Windows XP and earlier versions.
Schedule your PC by CMD command
With the simple CMD command below, you can schedule a shutdown after a certain amount of time, let’s take a look at how to do it. Open CMD with the shortcut Windows + R and enter the following command, or on Windows 10 you can enter the command directly into the search bar:
shutdown -s -t 1800
In the command to turn off the computer on:
- shutdown: Turn off the computer
- -s: short for shutdown
- -t: short for time
- 1800: The number of seconds left before the command is executed, you can change 1800 (1800 seconds, equivalent to 30 minutes) to whatever time you want.
Turn off the following computer:
- 3 minutes: shutdown -s -t 180
- 5 minutes: shutdown -s -t 300
- 10 minutes: shutdown -s -t 600
- 15 minutes: shutdown -s -t 900
- 30 minutes: shutdown -s -t 1800
- 1 hour: shutdown -s -t 3600
- 2 hours: shutdown -s -t 7200
- 3 hours: shutdown -s -t 10800
- 4 hours: shutdown -s -t 14400
- 5 hours: shutdown -s -t 18000
After entering the command you will get a small message in the right corner of the screen, indicating the time the computer will shut down.
If you need to cancel the shutdown command, just press Windows + R and enter the following command or enter the command in the search bar on Windows 10, Windows 7, Windows XP:
Then there will be the shutdown timer notice message as shown below:
Automatically turn off the computer automatically by shortcut
To create the Shutdown.exe shortcut, do the following:
Step 1: Right-click on the desktop> New> Shortcut
Step 2: Browse to the Shutdown.exe file which usually has the path C:WindowsSystem32Shutdown.exe>Next
Step 3: Name the shortcut> Finish
Step 4: Right-click on the shortcut you just created and select Properties
Step 5: In the Target box enter the following command to shutdown
- -s: Turn off the machine
- -l: Log off
- -r: Restart the machine
Step 6: Enter -t xx after the above command to schedule the shutdown (xx is the number of seconds waiting to shutdown)
Step 7: Add the -c “text” after the above command to say something when shutdown
The image manipulation will appear as below:
Schedule automatic shutdown of computer with Windows Task Scheduler
If you combine the Shutdown.exe shortcut just created with Windows Task Scheduler, you can schedule a shutdown, so you will not have to worry about shutting down your work computer at the end of the day. This is especially useful for office managers full of computers, so shutting down in a normal way will take a lot of time.
To schedule a shutdown, do the following: Go to Control Panel, open Scheduled Tasks, and then double-click Add Scheduled Tasks. In the Scheduled Task Wizard dialog box, click Next, then select the Browse button and navigate to the file: Windowssystem32shutdown.exe. Put a name you want and select the Daily option. Select the time of day you want your computer to shut down. Then, there will be a dialog box asking for the username and password; You can fill or ignore.
Before you click Finish to finish, place the check mark in the Open advanced properties for this task when I click Finish check box. This way you can set more options for timer shutdown. In the dialog box that appears, in the Run box, append -s to the command line and the -t command xx (xx is the number of seconds the machine waits) and -c “the word you want” (for example, “goodbye “As this article) (should know that the command -t xx and -c” word you want “can be ignored).
Before clicking the OK button to close the dialog box, click the Settings tab and place a checkmark in the Only Start the task box if the computer has been idle for at least :, then set the time you see fit for yourself.
How to schedule a computer shutdown according to the above instructions for computers running Windows XP. To set the shutdown time in Windows Vista, the steps are the same. Instead of opening Scheduled Tasks in Control Panel, you can select Task Scheduler from the Start menu, in the Run box, type taskschd.msc. Then, in the right pane, click on Create Task …
In the dialog that appears, give your name to the General tab. In the Triggers tab, create a new trigger. Select On a schedule, and specify the time, then place a checkmark in the Enabled box at the bottom. From the Actions tab, select Start a program, navigate to C:Windows system32Shutdown.exe, and set the same command as you would with Windows XP (-s to shutdown, -r to restart and – l to log off). Finally, in the Conditions tab, place a checkmark in the Start the task only box if the computer is idle for :, and select a time that you find appropriate for you.