windows 10 shut down after 1 hour
Open CMD : 
Shutdown after 1 hour:
shutdown -s -t 3600
Shutdown after 2 hours:
shutdown -s -t 7200
Shutdown after XXXX seconds:
shutdown -s -t XXXXwindows 10 shut down after 1 hour
Open CMD : 
Shutdown after 1 hour:
shutdown -s -t 3600
Shutdown after 2 hours:
shutdown -s -t 7200
Shutdown after XXXX seconds:
shutdown -s -t XXXXshutdown system after 1 hour
1) Open the Run window (Windows Key+R) or (Start / All Programs / Accessories / Run).
2) type
shutdown -s -t 1800
[1800(can be changed) is the number of seconds after which the computer will turn off.]
Click on OK and your computer will turn off after the specified time (here 30 minutes).
You can change -s for alternatives as below:
options    effect
-l         to log off
-r         to rebootCopyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us