Sometimes, you will want your computer to shut down automatically at a certain time. For example, when you let your computer download a lot of games offline on PC to play gradually in your spare time, you have to leave home.
The act of shutting down the computer when not in use can bring you many benefits, such as ensuring the health of the PC system (or contributing to saving battery life for laptops). In this article, we will show you 5 methods to set auto shutdown in Windows 10.
How to Set Auto Shutdown in Windows 10
You press the Windows + R key combination or select the Windows icon in the lower-left corner of the screen and then enter the command shutdown Windows 10 according to the syntax:
shutdown -s -t [time]
Then press Enter and you’re done.
- Shutdown: The command to schedule shutdown computer after a while.
- -s: write the word Shutdown (if you want to Restart after some time, change the word -s to -r).
- -t: Time to shutdown (Restart) in seconds. For example, if you want to shut down the computer after 30 minutes, enter shutdown -s -t 1800.
In case you want to cancel the command to shut down the computer, you need to enter the command:
Set auto shutdown Win 10 with CMD
Step 1: Type cmd in the search box and right-click on Command Prompt and select Run as administrator.
Step 2: You enter shutdown -s -t [time] and press Enter. If you want the computer to automatically shut down the computer after 30 minutes, enter the command: shutdown -s -t 1800.
And cancel Windows 10 shutdown command is also: shutdown -a.
Using Windows PowerShell
Step 1: Right-click the Start button, select Windows PowerShell (Admin), and click Yes to open this utility.
Step 2: Enter shutdown -s -t [time].
For example, if you want the computer to shut down after 1000 seconds automatically, enter the command shutdown -s -t 1000.
With the same interface CMD. So the command to turn on the Windows shutdown timer is the same: shutdown -a.
Set Auto Shutdown in Windows 10 with Task Scheduler
In Windows 10, there is a tool called Task Scheduler that allows you to schedule any task on your computer. With it, you will be able to easily set up a fully automatic shutdown command on Windows at a predetermined time.
Step 1: Type task scheduler in the search box and open the application.
Step 2: At the interface Task Scheduler. In the Action section on the right side of the application select “Create Basic Task“.
Step 3: Enter the name of the task at Name. Continue to enter Description for it, for example: Shut down after 18 hours.
Step 4: At Trigger, you will choose the shutdown time as daily, weekly, monthly … depending on the needs of each person.
Step 5: Then we will choose the time that will start the computer shutdown timer. Recur every is the number of days that the computer will automatically shut down, as in the picture I set up as daily. Then select Next.
Step 6: Here, select Start a program to start timer setting Windows 10 computer shutdown timer.
Step 7: Next, click on Browser, select the path to the file shutdown.exe in the System32 folder and Add arguments. We will enter /s /f as shown, then click Next.
Step 8: At the last step, please check your settings. If there are no problems then click Finish to finish.
However, after a period of use, you want to remove this feature at the interface of Task Scheduler. We choose Task Scheduler Library in the left pane. Next, select the scheduler you created. The example I created is shutdown, right-click and choose Delete to cancel shutdown timer.
How to auto shutdown command Windows 10
If you are too tired to need to enter commands to schedule the shutdown computer. Shortcut creation will solve your problem.
Step 1: Click right-clicks on the Desktop. Then select New -> Shortcut.
Step 2: In the “Type the location of the item” section we enter the command shutdown -s -t [time]. Here I want to automatically shut down the computer after 10 minutes so that the shutdown command will be: shutdown -s -t 600, then select Next.
Step 3: Right at the “Type a name for this shortcut“, I will name this shortcut, I set it to “shutdown after 10 minutes”. Then click Finish to complete.
Also, you can reset the automatic shutdown time on the shortcut by right-clicking the shortcut and choosing Properties. At the Target location, correct the shutdown time from 600 (10 minutes) to 3600 (1 hour), then click OK.
So we have installed the shortcut to successfully shut down Windows 10 timer.
And those are all the most effective methods that allow you to set auto shutdown in Windows 10. Which is your favorite method, please comment below to let us know.