How to program a PC to stop alone? Simple enough. If you do not want to install a dedicated program, you can do this through the cmd and Run utilities through a command. This is shutdown -s -t 00.
Examples of commands to schedule a PC to stop itself:
shutdown -s-t 1800 (the system will shut down after 30 minutes).
shutdown -s -t 3600 (the system will shut down after 60 minutes).
shutdown -s -t 5400 (the system will stop after 90 minutes).
shutdown -s-t 7200 (the system will stop after 120 minutes).
Numbers 1800 or 5400 are the result of multiplying the seconds of an hour (3600) by the number of hours after which we want the PC to stop.
Go to Start and type cmd in the search box. Enter the desired command and press Enter.
In the bottom right of the screen you will see a notification telling you that the system will close automatically. In cmd the commands are entered manually.
Alternatively, type run in the search box, run the Run utility, and then enter the command you want. In this case, you can enter the copy / paste command on the operating system.
When a minute is left before the PC is turned off, a message will appear on the screen that will let you know.
If you want to cancel the command that schedules the PC to shut itself down, open the Run utility and type the shutdown command -a.
The above commands work in Windows 7, Windows 8 / 8.1 and Windows 10.