SysChat

SysChat (http://www.syschat.com/forum.php)
-   Windows (http://www.syschat.com/tutorials/windows/)
-   -   How to Automate Windows 7 with Task Scheduler (http://www.syschat.com/how-automate-windows-7-task-scheduler-6777.html)

DominicD 04-15-2011 11:30 AM

How to Automate Windows 7 with Task Scheduler
 
Windows 7 improved its Task Scheduler to be more user friendly and customizable. With Task Scheduler, you can automate nearly every software and process in your computer. Save electricity and set your computer to automatically shut down at a certain time. Optimize your computer’s performance by automatically running CCleaner and disk cleanup when the computer is idle. Task Scheduler can even be used to schedule a sync/backup of your files.


Schedule an Automatic Shutdown

1. Start Task Scheduler
http://i52.tinypic.com/2nauwpk.jpg
Go to Start Menu -> All Programs -> Accessories -> System tools -> Task Scheduler


2. Create a basic task
http://i53.tinypic.com/314xxlk.jpg


3. Name the task and include a description
http://i56.tinypic.com/jkft34.jpg


4. Specify a “Trigger”. A trigger can be a timed schedule, or an event that happens on your computer (when the computer starts, when a user logs in, or when a program or event has happened in Windows)
http://i56.tinypic.com/25klaf7.jpg


5. A timed “trigger” needs a schedule and frequency – if the task is to be done at repeating schedules
http://i52.tinypic.com/6h4wue.jpg


6. Now set an “Action”. Literally, an action is what your computer will perform when the Trigger event is encountered. In this case, to automate a computer shutdown, we need to run the windows shutdown command. Choose “Start a program” as the Action.
http://i55.tinypic.com/fmmo8i.jpg


7. The program “shutdown.exe” is responsible for shutting down and turning off your computer.
http://i55.tinypic.com/2dqszfc.jpg
In “Program/Script”, input:
C:Windows\System32\shutdown.exe
In “Add arguments”, input:
/s



8. Click Finish
http://i51.tinypic.com/2euo4kk.jpg


9. During the scheduled time of shutdown, Windows will notify one minute before it shuts down.
http://i56.tinypic.com/26093d2.jpg

**For more information on the “shutdown /s” command, refer to the screenshot below:
http://i56.tinypic.com/2vkn6dy.jpg



========================================


Schedule CCleaner with Task Manager

1. Start Task Scheduler, and Create a basic task
2. Specify a Trigger – you might want to schedule CCleaner to running weekly.


3. Set the Action
http://i54.tinypic.com/4r6kbn.jpg
Program/Script: C:\Program Files\CCleaner
Add arguments: /AUTO



========================================


Schedule Disk Cleanup with Task Manager

1. Start Task Scheduler, and Create a basic task
2. Specify a Trigger – you might want to run a Disk Cleanup weekly/monthly.


3. Set the Action
http://i51.tinypic.com/2wmdm6f.jpg
Program/Script: C:\Windows\System32\cleanmgr.exe
Add arguments: /d c

Refer to How to Automate the Disk Cleanup Tool in Windows XP for more Disk Cleanup commands


All times are GMT -4. The time now is 08:09 AM.


Copyright © 2005-2013 SysChat.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54