Scheduled Shutdown Windows 7 After Idle time: Using Task Scheduler

The daily tasks of restart, sleep, hibernate, shutdown on a Windows 7 computer are very easy using manual method. But today, I am going to post about automatically shutdown  windows 7 using  windows task scheduler. You are going to create a task in the task scheduler which will make your auto shutdown Windows 7 after some idle time. The “idle time” is termed as some pre-defined time lapse after the screensaver kicks on. If there is no screensaver on your computer the “idle time” definition will be no keyboard, no mouse movement, and very little CPU processing.

 

The idle steps for this automatic processing is as follows.

1. Open up your Task Scheduler.

Start > Control Panel (Small Icons) > Administrative Tools > Task Scheduler. (or) you can directly type “schedule” in the search box and click Enter after choosing Task Scheduler in the list of programs. (normally it’ll be the first program).

 

 Scheduled Shutdown Windows 7 After Idle time: Using Task Scheduler Scheduled Shutdown Windows 7 After Idle time: Using Task Scheduler

2. Create a Task.

 

 Scheduled Shutdown Windows 7 After Idle time: Using Task Scheduler

 

3. After you click, a window opens. In the General tab, enter a name for the task and run the task with highest privileges (i.e similar to System Administrator). Keep the window open and don’t click on OK. 

 

 Scheduled Shutdown Windows 7 After Idle time: Using Task Scheduler

 

4. In the next tab, i.e the Triggers tab, click on New to set a new trigger for this task. The following window opens. In the Settings, choose the task to run as per your requirement. I made it mandatory to run the task daily at 9:00:59 pm as you see in the screenshot. Choose this time, after which you want the scheduled auto shutdown of Windows 7 to happen daily or whatever. Click on OK.

 

 Scheduled Shutdown Windows 7 After Idle time: Using Task Scheduler

 

5. In the next tab i.e Actions, click on New to create a new action for this task. You’ll choose a program to run with this task and enter the cmd for shutdown Windows 7.  The program name for shutting down Windows 7 is “shutdown”. You’ll enter that in the Program textbox and the options in the “Add arguments” textbox. You can see a list of options for “shutdown” program using the cmd “shutdown ?” in a command prompt window. I entered /s in the add arguments dialog box and if you want to force shutdown than you can enter /S /F.

 

 Scheduled Shutdown Windows 7 After Idle time: Using Task Scheduler

 

6. In the Conditions tab, set the idle time for which the Windows 7 computer has to wait before it shuts down. Also set the “wait for idle time” the definition of which is little complicated. Set this option some time greater than the idle time. If you want to check more definition of the same, you can check this . Tick the remaining options as per the screenshot below.

 

 Scheduled Shutdown Windows 7 After Idle time: Using Task Scheduler

 

7. Finally in the Settings tab, set the options to make the task run if the scheduled start is missed. Make the task to restart every few minutes, if this task fails and set the number of attempts. The scheduled options are shown in the screenshot below.

 

 Scheduled Shutdown Windows 7 After Idle time: Using Task Scheduler

 

Hurray! You’ve scheduled Windows 7 to shut down after a pre-determined time daily and you’ve set the idle time to wait before this task will kick on.

 

My Experience: I created this task and it worked for me the very first time. But after I made some changes t
o my computer sometime it stopped working. My suggestion is set the idle time more than 5-10 minutes and check if this works. Otherwise, wait for another post, where I will write about automatically shutdown Windows 7 using a auto shutdown software.

 

share save 256 24 Scheduled Shutdown Windows 7 After Idle time: Using Task Scheduler

Related posts:

  1. Windows 7, Vista ShutDown Faster!
  2. How to Hibernate Automatically in Windows 7
  3. Best Windows 7 Alt-Tab Switcher : Really Good!
  4. Windows 7: Customize Thumbnail previews in your taskbar
  5. Top Windows 7 Apps
  6. Ways to Increase Internet Speed: Windows 7, Vista, XP
  7. How to Enable Hibernation in Windows 7 Start Menu
  8. Windows 7 Installation: Customize, Remove unnecessary windows utilities: RT Seven Lite

  • Jonrylnovicio

    how to set up a task scheduler that runs only if the system unit runs idle. For example 5 minutes so that we can save energy cost?

  • Sasasasasasa

    :)

  • Pankaj Sharma

    why dont u  use 

    shutdown -s -t 1800

  • http://blog.tune-up.com/ TuneUp

    Thanks for this article. Using Windows Task Scheduler is a great way to make sure your PC shuts down after it’s been idle. Did you know that you can also make Windows automatically react on a certain event? Some examples of an event include when you launch a program, switch between wireless networks or when Windows Update fails to install some patches, but there are thousands more. If you’re interested in using Windows Task Scheduler to react to these events, I’ve put together a step-by-step guide that you might find useful: http://bit.ly/hsfep5