Hit enter after type your search item
iHackPc.com – Tech Made Easy

Daily Dose of your Tech News & How to Guides

How to set an automatic shutdown time in Windows 10


Unnecessary operation of the computer can lead to unnecessary power consumption. It can also shorten the lifespan of your computer’s hardware. In addition to these two reasons, there are many reasons why you should set your computer to shut down automatically. In this guide, we are talking about how to set an automatic shutdown time in Windows 10 operating system.

You do not need to install third-party software on your computer for this. The Windows operating system itself provides several methods for this. But these methods are not so special, so you need a guide to do it first. Each of the following methods can be used for each need. Read all and choose a method that suits your needs.

Method 1: Using Run / Command Prompt / PowerShell

This is the easiest method to set a scheduled time for automatic shutdown in Windows. This method can be used to set the computer to shut down after a certain period of time. This can be a bit confusing for some people due to the command line method. But read on, a simple method is outlined in this method.

The command used to schedule the shutdown time is as follows. Replace the ‘TimeInSeconds’ as you want. For example, if you want to shut down your computer after 10 minutes, it should be 300 and replace it with the ‘TimeInSeconds.’ (10 minutes = 600 seconds)

shutdown -s -t TimeInSeconds

Now you can enter this code in Run, Command prompt, and Windows PowerShell. After typing the code, press the Enter button.

If you often have to set the same time period, you can create a shortcut for it.

  • Right-click on the desktop and go to New and select the ‘Shortcut‘ option.
  • In the path field, enter the code and click the next button.


  • Enter a name for the shortcut and click the Finish button.


Now you can double click on the shortcut you created to start the timer.

Method 2: Create a Basic task using Task Scheduler

This method can be used to set the computer to shut down at any time you choose. This method is best for you if you want to shut down the computer at the scheduled time every day. Follow these steps.

  • Open the start menu and type ‘Task Scheduler ‘to search the tool.


  • Open the tool from the search result.
  • Click on the ‘Create Basic Task’ option at the Actions panel.


  • Then put a name and description to your task. I recommend putting the name ‘Shutdown.’ Click the Next button.


  • Now you will see multiple options in that window. If you want this to work every day, select the Daily option. After selecting, click the Next button.
  • Now you can select a start date and time to this task. Select and click the Next button.
  • Select the Start a program option and click the Next button.
  • Copy and paste the following line in the ‘Program / Script’ section. Enter -s as the argument and click Next.



  • Click the Finish button to save the task.

Read Also: How to create Scheduled Tasks in Windows – iHackPc.com.

Leave a Comment

Your email address will not be published. Required fields are marked *

This div height required for enabling the sticky sidebar
Ad Clicks :Ad Views : Ad Clicks :Ad Views :