Tips Tutorials Windows

How to Schedule Automatic Shutdown on A Windows PC

vivektwr23@gmail.com'
Written by Vivek Tiwari

There are times when you have to leave your computer on during the night – most of us have faced a similar situation. Maybe you just have to go out but you can’t turn off your computer right away because a program is being installed. How convenient it would be if the computer would shut itself down after a certain time wouldn’t it? Well, you can schedule automatic shutdown on your Windows PC. Not many people use it but Windows has had a Task Scheduler for quite a few years. Good job advertising it Microsoft. This article will tell you how to get your computer to shut down at a time specified by you. This works for almost all versions of windows from 7 to 10.

Use Run dialog

  1. Show Run by pressing Windows+R on your keyboard.
  2. Type shutdown –s –t number and tap OK. The number in the run command represents the amount of time after which you want the system to shutdown, measured in seconds. For instance, if you want your PC to automatically shut down in 10 minutes, the command to be entered is shutdown –s –t 600. How To Schedule Automatic Shutdown On A Windows PCThe system will then prompt you about the auto shutdown time, as shown in the following screen shot. Click on close and go have fun … or whatever.

How To Schedule Automatic Shutdown On A Windows PC

Use Command Prompt or Powershell

  1. Open Command Prompt. You can do this by right-clicking on the windows start button in Windows 10. Alternatively,  you can search for command prompt or type cmd in the Run dialog and hit enter.
  2. Type the same command as you would’ve in the Run dialog in the previous method. That is, shutdown –s –t number and press EnterHow To Schedule Automatic Shutdown On A Windows PC
  3. To do this with Windows Powershell, open it by hitting the windows key on your keyboard and typing ‘powershell’. On the latest versions of Windows 10, a right-click on the start button shows the option to ope Powershell instead of the command prompt. In the Powershell window, type in the same command, shutdown –s –t number and hit EnterHow To Schedule Automatic Shutdown On A Windows PC

These methods simply adds one more step to the first method and you end up typing up the same thing anyways.

Use Task Scheduler

 

  1. Open Task Scheduler (by searching for it just like powershell).
  2. Click on Create Basic Task on the right. How To Schedule Automatic Shutdown On A Windows PC
  3. Type Shutdown as the task name and click NextHow To Schedule Automatic Shutdown On A Windows PC
  4. Choose when to start the task. The available options are – DailyWeeklyMonthlyOne timeWhen the computer starts,When I log on and When a specific event is logged. Click NextHow To Schedule Automatic Shutdown On A Windows PC
  5. Set the start time of the task and click NextHow To Schedule Automatic Shutdown On A Windows PC
  6. Select Start a program and click NextHow To Schedule Automatic Shutdown On A Windows PC
  7. On the next page, click the Browse button, then type shutdown.exe in the File name field and hit Enter. You can also scroll down and find the shutdown.exe file and double click o it to select it. task-scheduler-shutdown-05
  8. In the field labelled Add arguments type –s and click Next.
  9. Click Finish to complete the task creation and bring the task into effect.

That’s it, you now know how to schedule a shutdown in Windows 10. If you have any questions, just reach for the comments below.