 | | Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks. | Windows 7 - Task Scheduler - Create New Task
Task Scheduler - Create New Task How to Create a Automated Task that Runs at a Set Time in Windows 7
Published by Orbital Shark
06-07-2009
| Task Scheduler - Create New Task How to Create a Automated Task that Runs at a Set Time in Windows 7  Information A very handy feature within Vista, Windows Server 2008 & now Windows 7 is the Task Scheduler. This app will allow the automated running of files and programs at a user designated time. Here's How: 1. Open up Task Scheduler by either typing "task" into the Start Menu search bar, or by opening All Programs - Accesories - System Tools.  2. Select 'Create Basic Task' from the right hand pane and the 'Create Basic Task Wizard will open. 3. With the Wizard open, type a 'Name' and 'Description' for your new task and click Next. NOTE: The Next button will only be accessible once a 'Name' has been entered. 4. Select when you would like the event/task to run and click Next. NOTE: For this tutorial i've selected 'Daily'. 5. Select the exact time and date at which you wish the first task to start (each task afterward will run based on your selection in step 4) then click Next. 6. Choose the action you with the task to execute from the list then click Next. NOTE: For this tutorial i've selected 'Start a program'. 7. Click 'Browse' and navigate to the executable (exe) file of the program you wish to run then click Next. NOTE: I've chosen to ignore 'Add arguments' and 'Start in'. 8. Review the task and make sure that you've set all your required information correctly. If satisfied click Finish.
9. Your new task has been created and will run at the user specified time. Click 'Refresh' and scroll the list to see your new task (in this case 'My Task'.
 Note You can create a new task with the 'Create Task' option in the right hand pane, this will just open the 'Create New Task' windows without the Wizard 10. If you Created a Task to Wake Up the Computer and Run A) You would need to change how long Windows 7 will wait to go back to sleep mode automatically after waking up unattended (no activity made by the actual user) and idle. The default time is only 120 seconds (2 minutes), so you would need to set this for how long it may take for the program or task to run instead. The tutorial below can help show you how to. It will be the same in Windows 7. For how, see: Sleep Return Timeout for Unattended Wake Up - Vista Forums Edit/Change Task: 1. You can change you task settings at any time, just double-click the new task. OR 2. If you wish to delete the task you can just click the 'Delete' button in the right hand pane. You will get the confimation dialog upon clicking 'delete' |  Published by | | Senior Member Join Date: Mar 2009 Location: Milton Keynes, United Kingdom Posts: 6,495 | |
 Tutorial Tools | | | | | | | | | |
07-16-2009
|
#1 | | 6x W2K8 R2 (x64), 6x W7 7600 (x64), 2x Gentoo (x64), 1x Ubuntu 9.04 (x64), 1x pfSense (FreeBSD) |
Good tutorial. Don't forget about command line though
schtasks.exe /Create /RU "NT AUTHORITY\SYSTEM" /SC DAILY /TN "Run Notepad Daily" /TR "%SystemRoot%\notepad.exe" /ST 00:00:01
To me two of the most useful features of Vista or higher Task Scheduler are:
1- Allow you to run tasks with administrative rights at startup. This is great for apps that require admin rights and would previously run at startup via registry or start menu.
2- Triggers. You can trigger tasks (i.e. emails) based on event log errors or other events.
| My System Specs | | System Manufacturer/Model Number My HTPC OS 6x W2K8 R2 (x64), 6x W7 7600 (x64), 2x Gentoo (x64), 1x Ubuntu 9.04 (x64), 1x pfSense (FreeBSD) CPU Core2 Duo E8400 3.0Ghz Motherboard ASUS P5E-VM Memory Corsair DDR-800 4GB RAM Graphics Card EVGA NVidia GeForce GT240 Screen Resolution 1080p PSU Corsair HX520w Case Antec Fusion Max Cooling Passive Thermalright HR-1 CPU Heatsink w/ Nexus Fan Hard Drives OCZ Vertex 60GB (C:\D: System\Apps)
WD 1TB x1 (G: Temp\Recorded TV)
WD 2TB x8 (On Server) |
07-17-2009
|
#2 | | Windows 7 Ult x64 - SP1/ Windows 8 Dev Build x64 |
Great Tutorial.
Some programs might need 'Run as Administrator' privileges.
In the task properties, General tab, near the bottom check the 'Run with highest privileges' box. | My System Specs | | System Manufacturer/Model Number 76~1.4 OS Windows 7 Ult x64 - SP1/ Windows 8 Dev Build x64 CPU Intel Core i5-750 3.84GHz Motherboard Gigabyte GA-P55A-UD4P, SATA 6Gb/s USB 3, f14 Memory 8GB (2X4GB) DDR3 1600 Corsair Vengeance CL8 1.5v Graphics Card XFX HD 5770 1GB DDR5 Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 22" LCD Dell Screen Resolution 1680x1050 Keyboard Logitech Wave Mouse CM Sentinel PSU Corsair HX650W Case Cooler Master Storm Scout Cooling Corsair H80 2x12cm Noctua NF P12 , 2x14cm case fans Hard Drives Intel X25 M 120GB SSD,
Seagate Barracuda 500GB SATA2 7200rpm 32MB cache, Seagate Barracuda 1TB SATA2 7200rpm 32MB cache, Internet Speed Dismal Other Info eSATA ports,
External eSATA Seagate 500GB SATA2 7200rpm,
External USB WD 500GB |
08-08-2009
|
#3 | | 7 Home Pre x64, Windows XP Pro, Ubuntu 9.04 |
I followed this step by step, but Task Manager refuses to start the program.
Just to make sure, I followed each step for Paint.net, set a time, but no program. As I use a User account, I had to give admin privileges to open Task Manager, and I went to settings and selected to start whether admin was logged in or not and with highest privileges. This is the error log:
Where should I go from here?
Robert | My System Specs | | System Manufacturer/Model Number Custom OS 7 Home Pre x64, Windows XP Pro, Ubuntu 9.04 CPU AMD Athlon 64 3400+ (single core) Motherboard Foxconn NF4UK8AA Memory 2 X 1GB OCZ Platinum DDR400 Dual Channel Graphics Card PNY GeForce 7300 256MB PCIE Sound Card NVIDIA nForce4 Ultra Onboard Chipset Monitor(s) Displays 2 x Acer AL1716 Screen Resolution 1280 x 1024 PSU Antec Earthwatts EA-430D Hard Drives Maxtor 6Y060L0, WD 1600JS Internet Speed 3M Cable Other Info Windows Experience Index: 3.3 |
10-21-2009
|
#4 | | |
Task scheduler event = Low Battery I would like to know how to access the event low battery. I am planning to initiate a program when the trigger = low battery takes place. I have searched high and low about this and just get dead-ends.
Thanks for any response. | My System Specs | | |
10-21-2009
|
#5 | | 6x W2K8 R2 (x64), 6x W7 7600 (x64), 2x Gentoo (x64), 1x Ubuntu 9.04 (x64), 1x pfSense (FreeBSD) |

Quote: Originally Posted by Pogi I would like to know how to access the event low battery. I am planning to initiate a program when the trigger = low battery takes place. I have searched high and low about this and just get dead-ends.
Thanks for any response.  The easiest way to get battery notifications is via the RegisterPowerSettingNotification API | My System Specs | | System Manufacturer/Model Number My HTPC OS 6x W2K8 R2 (x64), 6x W7 7600 (x64), 2x Gentoo (x64), 1x Ubuntu 9.04 (x64), 1x pfSense (FreeBSD) CPU Core2 Duo E8400 3.0Ghz Motherboard ASUS P5E-VM Memory Corsair DDR-800 4GB RAM Graphics Card EVGA NVidia GeForce GT240 Screen Resolution 1080p PSU Corsair HX520w Case Antec Fusion Max Cooling Passive Thermalright HR-1 CPU Heatsink w/ Nexus Fan Hard Drives OCZ Vertex 60GB (C:\D: System\Apps)
WD 1TB x1 (G: Temp\Recorded TV)
WD 2TB x8 (On Server) |
02-15-2010
|
#6 | | Windows 7 Home Premium x86 |
Will task scheduler wake your computer if it is in sleep mode? | My System Specs | | System Manufacturer/Model Number Toshiba Satellite A215-S4757 OS Windows 7 Home Premium x86 Motherboard AMD Turion™ 64 X2 Dual-Core Mobile Technology TL56 1.8 GHz Memory 4096MB (2 x 2048) DDR2 667mhz Corsair Graphics Card ATI Radeon® X1200 128MB-319MB dynamically allocated shared g Sound Card Realtek Monitor(s) Displays 15.4” diagonal widescreen TruBrite®TFT LCD display at 1280x8 Screen Resolution 1280x800 Mouse Logitech G7 Case Targus Hard Drives Internal HD: 250GB (4200RPM); Serial ATA HDD
External HD: Western Digital 320GB My Passport Elite WDMLZ3200TN USB 2.0 Portable Hard Drive (Bronze) Internet Speed 6meg |
02-15-2010
|
#7 | | 6x W2K8 R2 (x64), 6x W7 7600 (x64), 2x Gentoo (x64), 1x Ubuntu 9.04 (x64), 1x pfSense (FreeBSD) |

Quote: Originally Posted by shortmantuff Will task scheduler wake your computer if it is in sleep mode? Only if you allow it to, it is an option. It is disabled by default. | My System Specs | | System Manufacturer/Model Number My HTPC OS 6x W2K8 R2 (x64), 6x W7 7600 (x64), 2x Gentoo (x64), 1x Ubuntu 9.04 (x64), 1x pfSense (FreeBSD) CPU Core2 Duo E8400 3.0Ghz Motherboard ASUS P5E-VM Memory Corsair DDR-800 4GB RAM Graphics Card EVGA NVidia GeForce GT240 Screen Resolution 1080p PSU Corsair HX520w Case Antec Fusion Max Cooling Passive Thermalright HR-1 CPU Heatsink w/ Nexus Fan Hard Drives OCZ Vertex 60GB (C:\D: System\Apps)
WD 1TB x1 (G: Temp\Recorded TV)
WD 2TB x8 (On Server) |
02-15-2010
|
#8 | | Windows 7 Home Premium x86 |
Okay, so I have never been able browse for programs (Ex. Want to open a pdf file, need to browse for program, want to open adobe reader) What is the proper way to search for a program? Do I go into Program Files or some other path? For this particular issue, I what task scheduler to run a defrag at 3am (I put my computer to sleep so I want it to wake up and then run the defrag that is built into Windows 7). How do I browse for Disk Defrag (the path to get there in browse)? | My System Specs | | System Manufacturer/Model Number Toshiba Satellite A215-S4757 OS Windows 7 Home Premium x86 Motherboard AMD Turion™ 64 X2 Dual-Core Mobile Technology TL56 1.8 GHz Memory 4096MB (2 x 2048) DDR2 667mhz Corsair Graphics Card ATI Radeon® X1200 128MB-319MB dynamically allocated shared g Sound Card Realtek Monitor(s) Displays 15.4” diagonal widescreen TruBrite®TFT LCD display at 1280x8 Screen Resolution 1280x800 Mouse Logitech G7 Case Targus Hard Drives Internal HD: 250GB (4200RPM); Serial ATA HDD
External HD: Western Digital 320GB My Passport Elite WDMLZ3200TN USB 2.0 Portable Hard Drive (Bronze) Internet Speed 6meg |
02-15-2010
|
#9 | | Windows 7 Home Premium x86 |
Also, when I start Task Scheduler this error shows up. And how do I see task that I have created in Task Scheduler? | My System Specs | | System Manufacturer/Model Number Toshiba Satellite A215-S4757 OS Windows 7 Home Premium x86 Motherboard AMD Turion™ 64 X2 Dual-Core Mobile Technology TL56 1.8 GHz Memory 4096MB (2 x 2048) DDR2 667mhz Corsair Graphics Card ATI Radeon® X1200 128MB-319MB dynamically allocated shared g Sound Card Realtek Monitor(s) Displays 15.4” diagonal widescreen TruBrite®TFT LCD display at 1280x8 Screen Resolution 1280x800 Mouse Logitech G7 Case Targus Hard Drives Internal HD: 250GB (4200RPM); Serial ATA HDD
External HD: Western Digital 320GB My Passport Elite WDMLZ3200TN USB 2.0 Portable Hard Drive (Bronze) Internet Speed 6meg Task Scheduler - Create New Task problems? All times are GMT -5. The time now is 10:36 PM. |  |