6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers

Last Updated on November 2, 2018 by Admin

6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers

Lab – Task Scheduler in Windows 7 and Vista (Answers Version)

Introduction

In this lab, you will schedule a task using the Windows 7 Task Scheduler utility. You will then make changes to your task and test your task by running it.

Recommended Equipment

  • A computer running Windows 7 or Vista

Step 1: Open the Task Scheduler utility.

  1. Log on to Windows as an administrator.
  2. Click Control Panel > Administrative Tools > Task Scheduler.

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 01

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 01

Step 2: Run the Create Basic Task Wizard.

  1. Click Create Basic Task in the Actions pane.

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 02

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 02

  2. On the Create a Basic Task screen of the Create Basic Task Wizard window, type Disk Cleanup in the Name: field, and click Next.

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 03

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 03

  3. On the Task Trigger screen, select the Weekly radio button. Click Next.

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 04

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 04

  4. On the Weekly screen, use the scroll buttons in the Start: field to set the time to 6:00:00 PM. Set the Recur every _ weeks on: field to 1. Check the Friday checkbox. Click Next.
    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 05

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 05

    Note: The date field will display today’s date. It is not necessary to change the date.

  5. On the Action screen, make sure Start a program is selected. Click Next.

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 06

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 06

  6. On the Start a program screen, click Browse.

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 07

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 07

  7. Type cle in the File name: field, select cleanmgr.exe, and click Open.

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 08

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 08

  8. The Start a Program screen re-opens with C:\Windows\System32\cleanmgr.exe added to the Program/script: field. Click Next.

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 09

    6.3.1.5 Lab – Task Scheduler in Windows 7 and Vista Answers 09

  9. Review the Summary screen and click Finish.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 09.26.43.png

Step 3: Review and make changes to your scheduled task.

  1. In the left pane of the Task Scheduler window, select Task Schedule Library.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 09.38.46.pngNote: You may need to click Refresh to see the new Disk Cleanup task that was created.
  2. Select the task Disk Cleanup and, in the right pane, click Properties.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 09.42.31.png
  3. The Disk Cleanup Properties (Local Computer) window opens. In the Configure for: drop-down menu, select Windows® 7, Windows ServerTM 2008 R2. Click OK.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 09.48.20.pngNote: For Windows Vista, keep Windows Vista, Windows Server 2000 selected in the Configure for: field.
  4. Click the Actions tab. Select the Start a program row, and then click Edit.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 10.42.28.png
  5. The Edit Action window opens. Type /d c: in the Add Arguments (optional): field. Click OK.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 10.49.03.pngNote: The /d c: argument tells the cleanmgr.exe program to clean the C: drive.
  6. To close the Disk Cleanup Properties (Local Computer) window, click OK.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 10.51.53.png

Step 4: Run the scheduled task now.

  1. Select the Disk Cleanup task, and click Run in the right pane of the Task Scheduler window.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 10.56.20.pngNote: The Disk Cleanup Options window opens in Vista, select Files from all users on this computer.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 12.27.28.png
  2. Click the Disk Cleanup icon that appears on the Task Bar.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 10.58.46.png
  3. The Disk Cleanup window is brought to the foreground. This window displays the status of the Disk Cleanup process.\\psf\Home\Dropbox\Screenshots\DiskCleanup.pngNote: It may take a few minutes for Disk Cleanup to complete.
  4. Once the Disk Cleanup process completes, the Disk Cleanup for Local Disk (C:) window opens. Click Cancel.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 11.15.22.pngNote: Clicking OK will delete the files selected in the Files to delete: box. Check with your Answers before clicking OK. Clicking OK will open the Disk Cleanup verification window asking if you are sure you want to permanently delete these files. It is not necessary to delete these files to complete this lab. If you are sure you want to delete these files permanently, click Delete Files.

Step 5: Delete a scheduled task.

  1. To delete the Disk Cleanup task that you created. Select the Disk Cleanup task, and click Delete in the right pane of the Task Scheduler window.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 11.27.38.png
  2. The Task Scheduler verification window opens asking if you want to delete this task. Click Yes.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 11.34.07.png
  3. Make sure the Disk Cleanup task you created is removed from the Task Scheduler window. Close Task Scheduler.\\psf\Home\Dropbox\Screenshots\Screenshot 2015-09-04 11.36.50.png

Reflection

What other weekly tasks would be useful to run in Task Scheduler?

_______________________________________________________________________________________

_______________________________________________________________________________________

_______________________________________________________________________________________

_______________________________________________________________________________________

_______________________________________________________________________________________

Answers will vary. A good weekly task would be to backup personal files to another disk.

Note: This may be a good classroom discussion question. It might be useful to inform the students that many system tasks, like defrag, are already configured by default in Task Scheduler. These tasks can be reviewed by clicking on the arrow to the left of the Task Scheduler Library folder in the left pane of Task Scheduler.