Windows shutdown timer command; If you want your computer to shut down automatically once or even several times on certain dates, you have come to the right place. In this article, we will introduce you to three ways to set a specific time for the computer to turn off automatically, and in addition, we will provide information on how to stop this function, that is, the scheduled shutdown.
How to program a computer to turn off automatically?
Follow these steps to use the command line to set your computer to shut down once:
1. Type CMD in the Windows search bar.
2. Click Enter.
3. In the Command Prompt window, enter the phrase shutdown -s -t and then the time you want in seconds.

Note that the CMD and Run command processes use seconds to measure time, not minutes! For example, if you want your computer to shut down 10 minutes later, use 600 seconds, and if you want your computer to shut down 10 hours later, you have to type 36000. You can specify any time, just remember to enter it in seconds, not minutes.
4. Click Enter.
A window will pop up warning you that Windows will shut down for as long as you request.

This! Your computer will now turn off automatically at the time you specify. Of course, you will receive an alert a few minutes before it goes off to remind you of that time as well.

If you no longer want your computer to shut down at a specific time, open the Command Prompt and type shutdown -a to cancel the request, and then press Enter.

How to set automatic shutdown with RUN command
Follow these steps to use the command line to turn off once:
1. In the Windows search box, type the word RUN.
You can also press the Windows + R keys at the same time instead.
2. Click Enter.
3. In the Run dialog box, type shutdown -s -t and the number of seconds you need.

4. Click OK.
5. A window will appear indicating that your request has been received and the computer will shut down at the requested time.
How to use the task scheduler to set the shutdown at regular times
If you need to set the shutdown timer to multiple times (for example, daily or weekly auto shutdown), it is best to use the Task Scheduler. In this case, you no longer have to always remember to make these settings. To do this, follow these steps:
1. Type Task Scheduler by typing Schedule in the Windows search box.
2. Click Enter.

3. In the Task Scheduler, go to Actions and click on Create Basic Task.

4- In the Name box, specify a name for your program and in the Description section, if you wish, enter a description about it.

5. Click Next.
6. In the Create Basic Task Wizard window, select the time you want in the Trigger section.

7. Click Next.
8. Enter dates and times as needed using the Wizard commands.

9. Click Next.
10. In the Action window, select the Start a program option.

11- Click Next.
12. In the Start a Program window, use the Browse button to select the program to shut down your computer. The file for this program is usually called shutdown.exe.

13- After selecting the shutdown file, click Open.
14. In the Start a Program window, click Next.
15. In the Summary window, click Finish.

The job is done and from now on your computer will turn off automatically on the set days and hours.
Frequently Asked Questions
- How do I set a sleep timer on my Windows 10 computer?
To set the sleep time in Windows 10, you need to change the sleep settings. In the search box, search for sleep and select Power & sleep settings from the results. In the Sleep section and in the When plugged in, PC goes to sleep after section, select the drop-down box to select how long you want your computer to sleep after that.
- How to set a shutdown timer in Windows 8?
To set the shutdown timer in Windows 8, press Windows + X to bring up the Quick Access menu. Select Run, enter the shutdown command in the box, and click OK. Or you can open the Task Scheduler and select Create Basic Task, then go to shutdown> Next. Then select the start date, shutdown time, and a number of times and follow the instructions.
Was this helpful to you? Share your comments with the Wironal.