O'Reilly logo

Windows Vista Security: Praxisorientierte Sicherheit für Profis by Marcus Nasarek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

726
|
Chapter 20: Handling Routine Maintenance and Troubleshooting
10. On the Action page, specify the task to perform. You can start a program, send
an email, or display a message. Click Next. The next page you see depends on
the action you selected.
11. If you’ve selected Start a Program, you’ll see the Start a Program page, shown in
Figure 20-27. Click Browse to display the Open dialog box and then select the
program or script to run. You’ll find system utilities, such as Disk Cleanup
(cleanmgr.exe), in the %SystemDrive%\Windows\System32 folder. Click Next.
12. If you’ve selected Send an E-mail, you’ll see the Send an E-mail page. You can
then configure the automated email to send by completing the From, To, Sub-
ject, and Text fields of the email message. In the “SMTP server” text box, enter
the FQDN of the mail server through which you will send your message. Click
Next.
13. If you’ve selected Display a Message, you’ll see the Display a Message page. You
can then configure the message to display on the desktop when the task is
started. Enter the title and text of your message in the text boxes provided. Click
Next.
14. On the Summary page, review the task details and then click Finish. By default,
basic tasks you create run under your logon account and will run only when you
are logged on.
Creating Advanced Tasks
You can create an advanced task by completing these steps:
1. Click Start and then click Control Panel. In the Control Panel, click System and
Maintenance and then click the Schedule Tasks link under Administrative Tools.
2. Right-click the Task Scheduler node and then select Create Task. This opens the
Create Task dialog box.
Figure 20-27. Selecting the program to start
Scheduling Maintenance Tasks
|
727
3. On the General tab, shown in Figure 20-28, type a name and description for the
task you are creating. By default, the task runs only when you are logged on. If
you want to run the task regardless of whether you are logged on, select “Run
whether user is logged on or not.” You can also elect to run with highest privi-
leges and configure the task for earlier releases of Windows.
4. On the Triggers tab, create and manage triggers using the options provided.
Using triggers, you can schedule tasks to run periodically (daily, weekly, or
monthly), or when a specific event occurs, such as when the computer starts or
when the task’s user logs on. To create a trigger, click New, use the options pro-
vided to configure the trigger, and then click OK.
5. On the Actions tab, create and manage actions using the options provided. You
can start a program, send an email, or display a message. To create an action,
click New, use the options provided to configure the action, and then click OK.
6. On the Conditions tab, specify any limiting conditions for starting or stopping
the task.
7. On the Settings tab, choose any additional optional settings for the task.
8. Click OK to create the task.
Figure 20-28. Configuring the settings for the task

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required