Create a shutdown timer for Windows with hacker's way
To create a shutdown timer manually, open Command Prompt and type the command shutdown -s -t XXXX. The "XXXX" should be the time in seconds you want to elapse before the computer shuts down. For instance, if you want the computer to shut down in 2 hours, the command should look like:
shutdown -s -t 7200.
If you want to restart your computer on a delay, use bellow command instead:
shutdown -r -t XXXX
To cancel the timer, open the Run window or Command Prompt again and enter