Type the command shutdown –s –t [time in seconds]. Here [time in seconds] is the time after which you want your PC to turn OFF. Example: If I want my PC to shut down automatically after 30 minutes, then the command would be shutdown –s –t 1800.
Why does my PC turn off after 30 minutes?
If your Windows 10 PC shuts down abruptly, the first thing I would recommend you do is to check if it's overheating. Overheating could be due to damaged or underperforming fans, poor ventilation, dust, and inadequate power supply.
Can I set my PC to turn off in an hour?
Using the Windows 10's built-in Task Scheduler, you can set up a process in which a computer will shut down automatically at a specific time.