Four Ways to Schedule Auto Shutdown in Windows 10

Submit

Don’t want to leave your PC unattended or wish to conserve power while you’re away from your workstation but it’s running an important task for you? Time to harness the potential of the Auto Shutdown feature on Windows 10. This process enables you to either time the shutdown or automate the shutdown process on a daily, weekly, or monthly basis.

There are four ways in total to accomplish this task starting from the Task Scheduler to the execution via Run commands, CMD, and Windows PowerShell.

How to Reinstall macOS Big Sur on M1 Mac Using macOS Recovery

Using Task Scheduler:

  1. Click on the Start menu and type Task Scheduler in the search bar.
  2. Click on Create Task to create a new task.
  3. Create a new name for the task according to your requirements and check the Run with highest privileges box. Switch to the Triggers tab.
  4. Select the New button to craft a new trigger, this is where you set up the frequency and scheduling of your auto-shutdown task.
  5. Set the drop-down menu to On a schedule and set the Date and Time along with the frequency of the trigger as to whether you want the feature to be activated on a daily, weekly, or monthly basis. Click on OK to proceed.
    windows 10 auto shutdown
  6. You can now see the trigger that has been created in the Trigger tab. Now switch the tab by clicking on Actions.
  7. Select the New button to create a new action. This specifies the kind of action you wish for the system to take according to the trigger.
  8. Click on Browse to select the executable action manually.
  9. Type shutdown in the search bar. You will see multiple shutdown files popping up but you need to select the .exe file that is the one with the small window icon as shown below. Click on Open to finalize your selection.
  10. Below the Program/script tab, click on Add arguments (optional) and type "-s". Click on OK to proceed.
    auto shutdown in Windows 10
  11. Now you can see the newly created action in the list. Switch the tab again by clicking on Conditions.
  12. This tab is used to specify the conditions which go along with the trigger such as whether you wish for your PC to shut down automatically after being idle for a certain amount of time or start the task if the computer switches to battery power. Switch to the last tab by clicking on Settings to proceed forward to the last phase.
  13. Once in Settings, check the Allow task to be run on-demand box as this would enable you to run the task manually at your discretion. Click on OK to finalize the auto-shutdown task.
    auto shutdown in Windows 10
  14. Simply switch to the Task Scheduler Library tab from the upper-left corner by clicking on it and scroll down to find the task that you created. The status would show that the task is ready for execution.
  15. Right-click on your task and select Run.
  16. Now the status of your task will shift from Ready to Running as now the PC will automatically shut down as per the perimeters set by you
    windows 10 auto shutdown

Using Command Prompt:

The formula for Command Prompt, Run, and PowerShell is “shutdown -s -t XXXX”. The XXXX is the number of seconds as that is the only acceptable unit of time. Therefore, you would have to multiply the number of minutes by 60 to calculate the seconds.

  1. Click on the Start menu and type CMD in the search bar. Select Command Prompt to proceed.
  2. Type shutdown -s – t 1800 as shown below and press Enter.
  3. Windows will prompt that it will shut down in the defined number of minutes as per your instructions.
    auto shutdown in Windows 10

Using Windows PowerShell:

  1. Click on the Start menu and type PowerShell in the search bar. Select Windows PowerShell to proceed.
  2. Type shutdown -s -t 1800 as shown and press Enter.
  3. Windows will confirm the executed action and display the number of minutes you have left before the shutdown.

Using Run:

  1. Click on the Start menu and type Run in the search bar. Select Run to proceed.
    auto shutdown in Windows 10
  2. Type shutdown -s -t 1800 as shown and press Enter.
  3. Windows will yet again immediately intimate you of the upcoming auto shutdown in Windows 10 as per your instructions.

Now you must be wondering if there is a way to revert the changes that you made, the antidote is quite simple.

  1. All you have to do is type shutdown -a in Run, Command Prompt, or PowerShell and press Enter.
  2. A prompt will confirm that the shutdown has been cancelled.

The above-mentioned instructions can help you minimize the strain on your PC when you’re heading out or preserve the battery life of your laptop. This feature can literally prove to be a battery-saver in your absence.

Submit