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