Shutdown Timer in Windows 10: Easy Scheduling Methods

Shutdown Timer in Windows 10: Easy Scheduling Methods

The Download

  • Use Command Prompt or the Run dialog box to set a one-time shutdown timer in seconds.
  • PowerShell shuts down your computer immediately, so save your work before using it.
  • Use Task Scheduler to create automatic shutdowns that repeat daily, weekly, or monthly.

This article explains four ways to set a specific, automatic shutdown time for your PC. We also include information on how to stop a scheduled shutdown.

How to Schedule a Computer to Shut Down With Command Prompt

Follow these steps to use Command Prompt for a one-time shutdown.

  1. In the Windows search box, type CMD and then press Enter to open Command Prompt.

  2. In the Command Prompt window, type shutdown -s -t and the number of seconds you want. Here’s an example:

     shutdown -s -t 1200
    

    The CMD and Run command processes use seconds to measure time, not minutes. For instance, to shut down in 10 minutes, use 600 seconds. If you want your computer to shut off in 10 hours, use 36,000 seconds. The choice is yours; just remember to input time in seconds, not minutes.

  3. Press Enter to run the command.

  4. A window will pop up, warning you Windows will shut down in the amount of time you requested.

That’s it. Your computer will now automatically shut down at the time you specified. You’ll receive a warning a few minutes before shutdown to remind you then, too.

How to Cancel an Automatic Shutdown in Windows 10

No longer want your computer to shut down at a specific time? To cancel an automatic shutdown triggered by a command, open Command Prompt and enter this:

 shutdown -a

A message that says Logoff is canceled confirms the command worked.

How to Set up Automatic Shutdown With the RUN Command

The same shutdown command discussed above can be triggered from the Run dialog box. Here’s how to do that:

  1. In the Windows search box, type RUN and then press Enter.

    You can instead press Win + R.

  2. In the Run dialog box, type shutdown -s -t and the number of seconds you need.

  3. Select OK.

  4. A window will pop up showing you that it received your request, and your computer will log off at the time you requested.

Using PowerShell for Immediate Shutdown

PowerShell is yet another way to shut down Windows 10 with a command. It works a lot like Command Prompt but with a slightly different command. Here’s how to turn off your computer instantly through PowerShell:

  1. Open PowerShell with the Power User Menu or by searching for Windows PowerShell from the search box.

  2. Type the following command at the prompt:

     Stop-Computer -ComputerName localhost
    
  3. Press Enter.

    Make sure you’ve saved or closed any documents or apps as this will shut down your computer immediately.

How to Use Task Scheduler to Set up Regular Shutdowns

If you need to set a shutdown timer for multiple uses, such as daily or weekly automatic shutdowns, it’s best to use the Task Scheduler, so you don’t have to remember to set it repeatedly. Follow these steps:

  1. Open the Task Scheduler by typing Schedule into the Windows search box.

  2. Select Enter.

  3. Go to Action > Create Basic Task.

  4. In the Name and Description boxes, enter a name and description of your task. Select Next.

  5. Pick when you want the task to run, such as Daily or Monthly, and then select Next.

  6. Enter the dates and times as needed using the prompts from the wizard. Select Next.

  7. Choose Start a program from the list and then select Next.

  8. Select Browse, choose shutdown.exe from the System32 folder, then select Open.

  9. Select Next.

  10. In the Summary window, select Finish.

With these four approaches, you can manage your computer’s time and energy with ease.

FAQ

  • How can I set a sleep timer on my Windows 10 PC?

    To set your Windows 10 sleep timer, you’ll change your Windows sleep settings. In the Search box, search for sleep, and select Power & sleep settings from the results. In the Sleep section, under When plugged in, PC goes to sleep after, select the drop-down box to choose the amount of time you want your computer to remain idle before going to sleep.

  • How do I set a shutdown timer in Windows 8?

    To set a shutdown timer in Windows 8, press Windows + X to open the Quick Access Menu. Select Run, enter a shutdown command in the box, and then select OK. Alternatively, open Task Scheduler, choose Create Basic Task, enter shutdown, select Next, set the start date, shutdown time, and frequency, and follow the prompts.

Leave a Comment

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