Task Scheduler - Create New Task

Page 1 of 6 123 ... LastLast
    Task Scheduler - Create New Task

    Task Scheduler - Create New Task

    How to Create Automated Task that Runs at Set Time in Windows 7
    Published by
    Designer Media Ltd


    How to Create Automated Task that Runs at 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.
    Task Scheduler - Create New Task-task-scheduler-step-1-start-.png
    2. Select 'Create Basic Task' from the right hand pane and the 'Create Basic Task Wizard will open.

    Task Scheduler - Create New Task-task-scheduler-step-2-opened-.png



    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.

    Task Scheduler - Create New Task-task-scheduler-step-3a-create-basic-task-.png



    4. Select when you would like the event/task to run and click Next.
    NOTE: For this tutorial i've selected 'Daily'.

    Task Scheduler - Create New Task-task-scheduler-step-3b-create-basic-task-trigger-.png



    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.

    Task Scheduler - Create New Task-task-scheduler-step-3c-create-basic-task-time-date-.png



    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'.

    Task Scheduler - Create New Task-task-scheduler-step-3d-create-basic-task-action-.png



    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'.
    Task Scheduler - Create New Task-task-scheduler-step-3e-create-basic-task-select-program-.png


    8. Review the task and make sure that you've set all your required information correctly. If satisfied click Finish.
    Task Scheduler - Create New Task-task-scheduler-step-3f-create-basic-task-review-task-.png


    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'.
    Task Scheduler - Create New Task-task-scheduler-step-4-check-task-.png




       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

    Task Scheduler - Create New Task-task-scheduler-create-task-step-1-.png



    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.
    Task Scheduler - Create New Task-task-scheduler-step-5-edit-run-disable-delete-.png


    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'
    Task Scheduler - Create New Task-task-scheduler-confirmation-dialog.png







  1. Posts : 397
    6x W2K8 R2 (x64), 6x W7 7600 (x64), 2x Gentoo (x64), 1x Ubuntu 9.04 (x64), 1x pfSense (FreeBSD)
       #1

    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 Computer


  2. Posts : 12,177
    Windows 7 Ult x64 - SP1/ Windows 8 Pro x64
       #2

    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 Computer


  3. Posts : 2,736
    ...
       #3

    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 Computer


  4. Posts : 20
    Windows 2000
       #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 Computer


  5. Posts : 397
    6x W2K8 R2 (x64), 6x W7 7600 (x64), 2x Gentoo (x64), 1x Ubuntu 9.04 (x64), 1x pfSense (FreeBSD)
       #5

    Pogi said:
    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 Computer


  6. Posts : 171
    Windows 7 Home Premium x86
       #6

    Will task scheduler wake your computer if it is in sleep mode?
      My Computer


  7. Posts : 397
    6x W2K8 R2 (x64), 6x W7 7600 (x64), 2x Gentoo (x64), 1x Ubuntu 9.04 (x64), 1x pfSense (FreeBSD)
       #7

    shortmantuff said:
    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 Computer


  8. Posts : 171
    Windows 7 Home Premium x86
       #8

    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 W7). How do I browse for Disk Defrag (the path to get there in browse)?
      My Computer


  9. Posts : 171
    Windows 7 Home Premium x86
       #9

    Also, when I start Task Scheduler this error shows up. And how do I see task that I have created in Task Scheduler?
    Attached Thumbnails Attached Thumbnails Task Scheduler - Create New Task-task-scheduler.png  
      My Computer


 
Page 1 of 6 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:13.
Find Us