How to schedule a shutdown in Windows 10

Posted in:

How to schedule a shutdown in Windows 10

If you want to schedule a one-time shutdown after a 5-minute delay on your Windows 10 PC:

  1. Launch Command Prompt from the Start menu.
  2. Type “shutdown /s /t 300” (300 refers to the delay in seconds).
  3. Press return. A confirmation prompt will display.

When you want to schedule a shutdown on Windows 10, you can shutdown on a timer lets you step away from your device without having to cancel long-running tasks. In this guide, we’ll show you two methods to allow you to schedule an automatic shutdown, either on a single occasion or on a regular timetable.

Method 1: Using the Command Prompt

The simplest way to add a one-time shutdown timer is by invoking the shutdown using Command Prompt. Launch Command Prompt from the Start menu (type “cmd” into the search box) to begin using this method.

Schedule a shutdown in Windows 10

The syntax for the shutdown command is as follows:

shutdown /s /t 300

Type the command and press enter. You’ll see a warning that your device will shutdown in 5 minutes. The delay is specified in seconds as the value after /t in the command – change this number to alter how long Windows will wait before shutting down.

Schedule a shutdown in Windows 10

You can now close the Command Prompt and keep using your PC. Alternatively, lock it and walk away from it, leaving background tasks to finish up. Either way, Windows will automatically shutdown, forcing closure of all programs, when the timer expires. You can abort the shutdown at any time by running shutdown /a. Here is an expanded list of commands you can use to schedule a shutdown on Windows 10 using Command Prompt.

Method 2: Schedule a shutdown with Task Scheduler

Windows’ Task Scheduler utility allows you to run programs on a schedule. A variety of different triggers can be used, although we’ll stick to a time-based trigger for this article.

Schedule a shutdown in Windows 10

Open Task Scheduler by searching for it in the Start menu. In the Actions pane on the right, click “Create Basic Task” and name the task “Shutdown.” Click the “Next” button to proceed.

How to schedule a shutdown in Windows 10

You now need to define the trigger for the shutdown. You can choose between Daily, Weekly and Monthly recurrence, or opt for a one-time event. Click Next to make your selection and specify the parameters for your trigger. In our case, we’ll automatically shutdown the device at 22:00 every day.

How to schedule a shutdown in Windows 10

Click “Next” to get to the Action configuration screen. Choose “Start a program” and click “Next.” Under “Program/script”, type shutdown. Type /s /t 0 into the “Add arguments box” – you’ll notice from above that we still have to specify a shutdown delay, but by using “0 seconds” the timer expires immediately.

Schedule a shutdown in Windows 10

Finally, click “Next” again to review and save your task. It will be automatically enabled when you click the final “Finish” button. You can now rest assured your device will shutdown automatically at the appointed time, so you can keep tasks running even if you’re leaving your device unattended.

< Previous

ISOs for Windows 10 20H1 build 18970 and 19H2 build 18363.327 are now available

Final Fantasy VIII Remastered video game is now live on Xbox One consoles

Next >