If you want to automatically shut down Windows 10 computer at a specific time (for once or repeatedly) without using any third-party software, then this guide is for you.
In this post, we will see two different ways to do this task. Let's see what they are.
Automatically Shut Down Windows 10 Computer
Launch Run Command. Type the following command in it:
shutdown -s -t 300
The above command will turn off the computer automatically after 5 minutes (in the command, the 300 meant seconds, which is 5 minutes) from the time it is executed. Replace the 300 with the time duration you want.
Hit "OK" button to execute the command and you will see a confirmation popup stating that the PC will get shut down at the time you specified.
Note: You can use the above command in any one of the following: Command Prompt, Windows PowerShell, Task Manager (In Task Manager, click File > Run new task), Address Toolbar, Address Bar of File Explorer.
If you wish to abort shut down, use the command "shutdown -a" (without double quotes) in the Run Command before the scheduled time.
Remember that the above command works only once. In other words, it cannot repeat automatically shutting down the computer at a specific time. However, the following method can.
That is all. From now on, you will see this popup at the time you have scheduled.
As the popup states, your PC will get shut down in less than a minute.
Note: After the above popup shows, if you wish, you can use the command "shutdown -a" (without double quotes) in the Run Command Box to abort shut down.
To view the task: Click on "Task Scheduler Library" from the left side of the screen, and you can see the task you have created.
To edit the task: Right-click on the task and then select "Properties." Now, you can edit the task as per your liking. Also, you can see many options there such as Security options, Settings, and Conditions. Play with them if you wish.
To delete the task: Right-click on the task and then select "Delete." In the confirmation popup, click "Yes."
I hope this guide is useful to you. If it is, share this guide with your friends.
How to Automatically Shut Down Windows 10 Computer