Set the computer automatic shutdown command: shutdown - s - t xxxx (- t - s is the parameter, XXXX is the time, and the unit is seconds). Steps: 1. Click Start Menu. 2. Find Run and click Open. 3. Enter shutdown - s - t xxxx in the run dialog box. 4. Enter to execute.
Tip: If you accidentally enter the wrong time, or do not want to automatically shut down, you can use the Cancel command, and then restart the new shutdown time as needed. Cancel the automatic shutdown command: shutdown - a Then modify the shutdown time again according to the command requirements of the execution step.