It is likely that on more than one occasion you have left your computer on while you were waiting for a file that was going to take a long time to download. But, you were not going to be able to turn off the computer once this download was finished. Fortunately, we can make use of an option that allows us to program the shutdown of the equipment in a simple way.
It is a function that is not visible or well known, but it is available. Thanks to the same we can decide when our computer shuts down. In addition, it is a function that is present in both Windows 7, Windows 8 and Windows 10. Therefore, all users can make use of it.
In addition, We do not need to install anything from third parties to be able to use it. Undoubtedly a function that can be comfortable in more than one situation. The way it works is different depending on the version of the operating system. But, we explain how it works in all of them.
Windows 8, 8.1 and Windows 10
In the two most recent versions of the operating system, this function works the same way. We have to go to Windows Start Menu and we must click on the Run option. Then a window opens that allows us to write a command in it. What we have to do in the window is to write when we want the computer to turn off.
For this we must write the following command:
- shutdown -s -t [After the T we must write in seconds the time in which we want the computer to shut down, for example two hours]
- shutdown-s-t 7200
Once we have entered the valueLet's see how a window shows us the time remaining until the moment when our equipment turns off. Therefore, depending on the time that we have indicated, the computer will turn off at that moment. What if we change our mind? We can cancel this option at any time. In this case we have to write a new command in the Windows Menu search box. The command we have to write is:
- shutdown-a
In this manner if we need it, the shutdown programming of our equipment is canceled.
Windows 7
In case we have a computer that works with Windows 7, the process is very similar. We have to go to Windows Start Menu. Inside the search box we have to write the same command. So we must indicate in seconds how long we want the computer to turn off. Once entered, we press Enter.
The command is as follows:
- shutdown-s-t 7200
As you know, the number is whatever you want. In this case we are doing it with the example of a duration of two hours. But they can be as many as you want. Then, when we have entered the command, the system itself will inform us. Again, if we want to cancel this process, we use the same command as before: shutdown -a.