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).
2. Create a Task.
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.
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.
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.
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 microsoft technet article. Tick the remaining options as per the screenshot below.
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.
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.
- Windows 7, Vista ShutDown Faster!
- How to Hibernate Automatically in Windows 7
- Best Windows 7 Alt-Tab Switcher : Really Good!
- Windows 7: Customize Thumbnail previews in your taskbar
- Top Windows 7 Apps
- Ways to Increase Internet Speed: Windows 7, Vista, XP
- How to Enable Hibernation in Windows 7 Start Menu
- Windows 7 Installation: Customize, Remove unnecessary windows utilities: RT Seven Lite