- MAXIMUMpcguides Windows Vista - http://www.maximumpcguides.com -
Automate Windows Vista’s Disk Cleanup
Posted By Brent Trahan On 7.18.07 @ 11:05 am In All, Maintenance, Vista, Windows | No Comments
An important part of maintaining your Windows Vista computer is routinely running a Disk Cleanup to remove the trash left behind by Windows and software on your hard drive.
Most people don’t think of or want to do things like running Disk Cleanup. This guide shows you how to setup Disk Cleanup to automatically clean your hard drive every week by using a scheduled task.
Set What to Clean Using Sageset
Before you can set disk cleanup to automatically clean your computer periodically you need to tell it what to clean when it performs a disk cleanup. Here’s how to setup disk cleanup to clean your computer based on saved settings.
Using the /sageset:1 switch saves the settings you set in the registry as :1. Disk Cleanup will use these settings when it runs from a scheduled task.
Setup A Disk Cleanup Scheduled Task
Now that we’ve saved settings that tell disk cleanup what to clean we can create a scheduled task that automates disk cleanup.
Note: If you don’t receive a UAC prompt when you open Task Scheduler close the Task Scheduler and open it again by right-clicking Task Scheduler and selecting Run as administrator. You also need to pay attention to part B of step 5.
Test the new scheduled task you just created by right-clicking it in the Task Scheduler window and selecting Run.
Article printed from MAXIMUMpcguides Windows Vista: http://www.maximumpcguides.com
URL to article: http://www.maximumpcguides.com/automate-windows-vista%e2%80%99s-disk-cleanup/
URLs in this post:
[1] Image: http://www.maximumpcguides.com/wp-content/uploads/2007/07/automate-disk-cleanup1.PNG
[2] Image: http://www.maximumpcguides.com/wp-content/uploads/2007/07/automate-disk-cleanup2.PNG
[3] Image: http://www.maximumpcguides.com/wp-content/uploads/2007/07/automate-disk-cleanup3.PNG
[4] Image: http://www.maximumpcguides.com/wp-content/uploads/2007/07/automate-disk-cleanup4.PNG
[5] Image: http://www.maximumpcguides.com/wp-content/uploads/2007/07/automate-disk-cleanup5.PNG
[6] Image: http://www.maximumpcguides.com/wp-content/uploads/2007/07/automate-disk-cleanup6.PNG
[7] Image: http://www.maximumpcguides.com/wp-content/uploads/2007/07/automate-disk-cleanup7.PNG
[8] Image: http://www.maximumpcguides.com/wp-content/uploads/2007/07/automate-disk-cleanup8.PNG
[9] Image: http://www.maximumpcguides.com/wp-content/uploads/2007/07/automate-disk-cleanup9.PNG
Click here to print.
Copyright 2006-2008 Brent Trahan. All rights reserved.
Microsoft Windows is a registered trademark of Microsoft Corporation. Microsoft Corporation in no way endorses or is affiliated with MAXIMUMpcguides.com. All other products mentioned are registered trademarks of their respective companies. MAXIMUMpcguides IS NOT RESPONSIBLE for any damage or data loss to your computer from using this web site. All information on MAXIMUMpcguides is provided on an AS IS basis with NO WARRANTIES.