Shutting down the computer by timer is a typical task that many users face. However, not everyone knows how to solve this problem. In this article we will talk about how to turn off the computer on a timer in Windows 7, 8, 10 and XP. To solve this problem, we will use the command line, task scheduler and third-party programs.
Turn off the computer by timer using the command line
The easiest and fastest way to turn off the computer by timer is to use the “shutdown” command, which works equally well in Windows 7 and in other versions of Windows. This command can be executed from the command line or using the "Run" menu.
The shutdown command has many parameters that allow you to fine-tune the process of shutting down the computer. Below we will consider the most basic of them:
- / s. Shutdown the computer;
- / r. Reboot the computer;
- / h. Switch to hibernation mode;
- / f. Forced termination of all open programs without warning the user;
- / t. Set the timer in seconds.
In order to turn off the computer by timer using the shutdown command, we need to use the / s (turn off the computer) and / t (set the timer) options. Thus, the command to turn off the computer will look like this:
After executing such a command through the command line or the “Run” menu, the computer will turn off after 60 seconds.
If you want to restart the computer by timer, then instead of the / s option, you need to use the / r option. The same with hibernation mode. We use / h instead of / s and the computer, instead of turning it on, goes into hibernation mode. You can also add the / f option. In this case, shutdown (reboot, hibernation) will begin immediately, while all running programs will be closed without warning the user.
The disadvantage of this method of turning off the computer is that the shutdown task is created only once. If you need to turn off the computer on a timer daily, then you need to use the Task Scheduler or programs from third-party developers.
We use the scheduler to turn off the computer on a timer
On Windows 7, 8, 10, and XP operating systems, a very powerful tool called Task Scheduler is available. You can use it to turn off the computer by timer. In order to open the Task Scheduler, start the start menu (or the start screen with tiles if you are using Windows 8) and enter in the search “Task Scheduler”. You can also start the Task Scheduler using the “taskschd.msc” command.
After starting the task scheduler, click on the "Create a simple task" button. This button is located on the right side of the window.
Video: How to Disable Windows 7 Computer Shutdown Timer
Next, you will see the Create Simple Task Wizard. At the first stage, you must enter the name of the task to be created and click on the “Next” button.
Further we are offered to indicate when we want to complete this task. You can select “Once” if you want to turn off the computer by timer only once. If you need to turn off the computer on a timer daily or in another mode, then you can choose another option that is more suitable for you.
At the next stage, you need to specify the response time of this task.
Next is a window with a choice of action. Here you do not need to change anything, leave the value “Run the program”.
After that, we need to enter the shutdown command as well as the startup parameters. How to use the launch options for this command has been mentioned above.
Next is the last window. Here you just need to click on the "Finish" button.
That’s it, the task of shutting down the computer by a timer has been created. You can view it in the Task Library.
From the context menu (right-click) you can control the created task.
You can execute, complete, disable, delete, or open job properties.
Programs to turn off the computer on a timer
If the described methods of turning off the computer by the timer do not suit you or seem too complicated, then you can turn off the computer using programs from third-party developers. Below we will consider several such programs.
Powerful free program to turn off the computer on a timer. Using PowerOff, you can configure almost any little thing. On the other hand, due to the huge number of functions, the interface of this program is too overloaded. From which it can be very difficult to understand.
A small program to turn off the computer. Switch Off is equipped with a small number of functions and has an easy and intuitive interface. The program is equipped with a built-in web server, which allows you to turn off the computer via a local network or via the Internet.
The developer of this program for shutting down the computer on a timer claims support only for Windows 7, 8 and XP. Although on Windows 10 it should work without problems.