Amazon's Early Black Friday Deals are going live now. Check out here.

How to Automatically Shut Down Windows 10 Computer

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

Command to automatically shut down PC at a specific time

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.

Popup notifying when the PC will get shut down automatically

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.

  • angle-right
    Launch Task Scheduler.
  • angle-right
    Find and click "Create Basic Task" from the right side of the screen.
  • angle-right
    In the "Create Basic Task Wizard" popup, enter the name and description (which is optional) for the task. Hit "Next."
Provided Auto Shutdown as the name of the task
  • angle-right
    ​Now, you can set the repeat frequency of the task. In this instance, my choice is "Daily" which is selected, by default. Hit "Next."
Selected Daily option
  • angle-right
    ​Here, you can set the date from which the task will start. Also, you can set time in which you want the PC to shut down automatically. If you wish, you can change the recurring days too. In this instance, I am only changing the time and leave the rest intact. Hit "Next."
Set the preferred time
  • angle-right
    ​Now, you can see "Start a program" option is selected, by default. Click "Next" button.
Start a program option is selected
  • angle-right
    ​Click on "Browse" button and then choose the "shutdown.exe" file from the System32 folder. Add "/s" (without double quotes) in the "Add arguments (optional)" field. Click "Next."
Program and argument is provided
  • angle-right
    ​You can see the overview of the task's settings. Review it. If you are not OK with it, hit the "Back" button and make the changes as per your liking. If you are OK with it, click "Finish" button.
Overview of task's settings

That is all. From now on, you will see this popup at the time you have scheduled.

Popup notifying that Windows will shut down in less than a minute

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

Click to Tweet This Post

Also see: