Home > Enterprise Desktop Tips > Windows desktop management tips > Using Vista's overhauled Windows Task Scheduler
Enterprise Desktop Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS DESKTOP MANAGEMENT TIPS

Using Vista's overhauled Windows Task Scheduler


Brien M. Posey, Contributor
07.09.2008
Rating: -4.75- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


The Task Scheduler has been a part of Windows for a very long time. While it has always been kind of a crude tool, Microsoft gave it a much needed overhaul in Windows Vista. Let's take a look at Windows Task Scheduler's new capabilities.

The Task Scheduler in Windows has always required an administrator to provide two basic types of information: a trigger and an action. A trigger is the event that kicks off an action. In the past, a trigger has always been a timed event. For example, if you configured the Windows Task Scheduler to perform a certain action at 3:00 p.m., then the arrival of 3:00 would be the trigger that would launch the specified action.

In the Windows Vista version, timed triggers still exist, but Task Scheduler is no longer limited to using these types of triggers exclusively. There is now a variety of triggers it can respond to. For example, a particular entry in the event log can act as a trigger, and Task Scheduler can launch an action in response. The action can be anything from running an executable file to restarting a service or sending an email message.

A new component to a scheduled task is the ability to stipulate conditions. You might, for instance, set a condition that a task should only be performed if the computer is not running off a battery. Another example might be running a task only when the computer is idle.

The primary interface to Windows Task Scheduler is the Task Scheduler console, which you can access through the control panel by clicking on the Administrative Tools icon, followed by the Task Scheduler icon. When the Computer Management console opens, you'll find the Task Scheduler beneath the System Tools folder. Figure A shows what the console looks like.

Figure A (click to enlarge)
[IMAGE]

As the figure illustrates, several tasks are set up by default. These tasks are related to various system maintenance functions, but it's easy to create yo


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Windows desktop management tips
Windows 7 improvements driving enterprise adoption
Mobile Device Manager joins Windows domains to mobile devices
Troubleshooting Microsoft WSUS connectivity issues
Should administrators use hard disk compression?
How to move hard drives and transplant system drives between servers
Combining folder redirection with roaming profiles
IPv6 protocol, Windows Vista features simplify peer ad-hoc networking
Reduce unapproved device driver installs via Group Policy in XP, Vista
Using Reliability and Performance Monitor to gauge system stability
When not to convert basic disks to dynamic disks

Windows Vista features
Combining folder redirection with roaming profiles
IPv6 protocol, Windows Vista features simplify peer ad-hoc networking
Reduce unapproved device driver installs via Group Policy in XP, Vista
Windows Vista deployment with Mark Minasi
Vista's 'other' big tool: Windows SIM
Reduce data transfer time with Basic Redirected Folders
Apply Folder Redirection in Windows with Group Policy Objects
Vista's hybrid hard drive support boosts laptop performance
Making sense of Vista's Windows Experience Index
Creating a custom control panel in Windows Vista

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


ur own tasks for virtually any purpose. There are two types of tasks you can create: regular and basic. While basic tasks are a little bit easier to configure, they give you fewer capabilities than regular tasks.

To create a basic task, click the Create Basic Task link found in the actions pane. Upon doing so, you will be prompted to enter a name for the task that you're creating. This screen also gives you the opportunity to enter a description of what the task does.

After naming the task, click the Next button and you'll be taken to the screen that's shown in Figure B, where it asks when you want the task to start. You can link the task to a timed trigger and set it to launch when the computer starts or you log in or when a specific event is logged.

Figure B (click to enlarge)
[IMAGE]

After choosing the task trigger, click Next and you will see a screen asking you for more information about the trigger, as shown in Figure C. Figure C (click to enlarge)
[IMAGE]

At this point, the wizard will prompt you as to what type of action you want to take when the task is triggered. As you can see in Figure D, you can choose to launch a program, send an email message or display a message.

Figure D (click to enlarge)
[IMAGE]

Just as you had to give more specific information about the type of trigger, you must also provide additional info about the type of action you want carried out. If you look at Figure E, you can see the screen that is displayed when you choose to send an email message, for example.

Figure E (click to enlarge)
[IMAGE]

Click Next followed by Finish to create the task. Once again, these basic tasks are somewhat limited in their capabilities. If you want some more flexibility, create a regular task by clicking the Create Task link found in the actions pane. Windows Vista will then display the Create Task properties sheet, shown in Figure F.

Figure F (click to enlarge)
[IMAGE]

The Create Task properties sheet has a lot of the same options as the basic task wizard, but with some important differences. In Figure F, you can see that the properties sheet's General tab gives you the option of running the task only when a user is logged in. You also have the option of hiding tasks or running them with the highest privileges.

The properties sheet's Triggers tab allows you to define the circumstances for the trigger. Take a look at Figure G. The thing that makes this different from the Create Basic Task Wizard is that you can define multiple triggers for a single task. Likewise, the Actions tab allows you to specify multiple actions that are performed when the task is triggered.

Figure G (click to enlarge)
[IMAGE]

The Conditions tab gives you options that aren't available through the Basic Task Wizard. In Figure H, for instance, the tab gives you the option of only starting the task if the computer is idle. You can also take the computer's power state and network connectivity into account when determining whether or not to perform a triggered action.

Figure H (click to enlarge)
[IMAGE]

The last tab of the properties sheet is the Settings tab, shown in Figure I. It allows you to set a few more basic settings, such as whether you want to allow the task to be run on demand and at what point the task should be terminated.

Figure I (click to enlarge)
[IMAGE]

Windows Vista Task Scheduler is much more sophisticated than the one that comes with previous versions of Windows. The new Task Scheduler console provides a good balance between creating simplified tasks and getting a great deal of control over the tasks that you're creating.

[TABLE]


Rate this Tip
To rate tips, you must be a member of SearchEnterpriseDesktop.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Enterprise Desktop Security - Virus Protection, Malware Protection, Intrusion Detection
HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2008 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts