Schedule automatic shutdown of the computer


How to turn off your computer automatically at a certain time

If we want to turn off the computer at a certain time agreed we can use the command prompt and the command shutdown to schedule shutdown the PC after a certain period of time.
The shutdown command, available in Windows 8 / 8.1, Windows 7, Windows Vista and Windows XP, not only serves to turn off the computer automatically but can also be used to restart or put into hibernation Windows automatically, choosing whether to force the closure of applications running.

 

How to program the automatic shutdown of Windows

We press on the computer keyboard keys Windows (is the key with the Windows logo) and R simultaneously.
This opens the Run .
In the Open: we type cmd , and we click on OK .tips how to stop computer
This will open the Command Prompt .

Windows 8 / 8.1 | Windows 7 | Windows Vista
If you want to shut down Windows and turn off the computer automatically, such as after one hour , we type in the command prompt: shutdown / s / t 3600 and we press Enter on the computer keyboard.

Let’s see in detail what are the parameters of the shutdown command: / s indicates the shutdown. / t xxx sets the number of seconds after which turn off your computer automatically. In the previous 3600 seconds or 1 hour. L ‘ R ange is valid between 0-315360000 seconds (10 years) for Windows 8 / 8.1 and Windows 7 and between 0-600 seconds for Windows Vista.

To abort the automatic shutdown of the computer type: shutdown / a and we press Enter on the computer keyboard.

Windows XP
If you want to shut down Windows XP and turn off the computer automatically, such as after one hour , we type in the command prompt: shutdown -s -f -t 3600 and we press Enter on the computer keyboard.

Let’s see in detail what are the parameters of the shutdown command: -s indicates a system shutdown. -f force the closure of any running applications. -t xx sets the number of seconds after which turn off your computer automatically.Nell ‘example above 3600 seconds or 1 hour.

To abort the automatic shutdown of the computer type: shutdown -a and we press Enter on the computer keyboard

 

Command syntax shutdown.exe

Windows 8 / 8.1 | Windows 7 | Windows Vista
shutdown [/ i / l / s / r / g / a / p / h / e] [/ f] [/ m \\ computer] [/ t xxx] [/ c “comment”]

Windows XP
shutdown [-i -s -l -r -a] [-f] [-m \\ computer] [-t xx] [-c “comment”]

Command parameters shutdown.exe

Caution: in Windows XP all the parameters of the command must be preceded shutdown.exe not by slash (/), but from the dash (-).

/ I
Display the graphical interface. / l Logs off. This parameter can not be used with the / m / d. / s Shutdown the computer./ r Restart the computer. / g Restart the computer and all applications recorded (not present in Windows XP). / tointerrupt the procedure automatic shutdown of the computer. / p Stops the computer with no time-out period and notice (not present in Windows XP). This parameter can be used together with options / de / f. / h puts the computer into hibernation (not present in Windows XP).

This parameter can be used with the / f. / and Specifies the reason for an unexpected shutdown of the computer (not present in Windows XP). / m \\ computer Specifies the name of the remote computer you want to stop / t xxx Sets xxx seconds (xx in Windows XP), the timeout period before the computer. The R ange is valid between 0-315360000 seconds (10 years) for Windows 8 / 8.1 and Windows 7 and between 0-600 seconds for Windows Vista. / c “comment” Comment on the reason or rebooting the computer. / f Force closing of applications running. The / f is implied if the timeout period is greater than 0 for the / t. /? Displays help the shutdown command.

Shutdown the computer for long periods of inactivity

Schedule the excution of programs