Sometimes we need to automatically shutdown the computer when we're not in the desk. This 2 Steps Automatically Shutdown Computer method also needed when we want to sleep, but we want the computer turned off at a specified time we provide.
1. Click Run(view here)
2. Add in the textbox
shutdown /s /f /t 3600
/s = We want to Shutdown the computer, if you want to restart the computer, use
/f = Force shutdown, it means that if any process prevent the computer to shutdown, the process will be killed.
/t = Time in second, 3600 it means 1 hour