Since it’s spring time you might want to take this opportunity to clean up old files and folders on your Windows 7 PC. Here we’ll take a look at scheduling the Disk Cleanup feature in Windows 7 so you can help keep space available on your hard drive.
1. First, click on Start and type task scheduler into the Search box and hit Enter.
2. The Task Scheduler window
3. The Basic Task Wizard opens. Type in a name for the task and a description if you want – it’s not required – then click Next.
4. Next, select when you want the Disk Cleanup task to start.
5. In this example we selected Monthly and set it to run each month on the 15th day. We also selected to synchronize the task across time zones and to start at 6:40pm. After selecting the frequency of Disk Cleanup to run click Next.
6. In the Action screen select Start a program.
7. In the Start a Program screen enter the following in the Program/Script field.
Then in Add Arguments field type in cleanmgr.exe /sagerun:1 This will allow the Disk Cleanup process to run automatically with no interaction on your part. Click Next.
8. Finally, under Summary, you’ll get an overview of everything you set up. If you’re satisfied click Finish and close out of Task Scheduler. If you want to change any of the settings, at this point you can go back and make them.
8. Then when the Disk Cleanup process starts, it will automatically run the cleanup process.
If you have a netbook or laptop computer (typically with smaller drives), scheduling Disk Cleanup on a regular basis can definitely help free up space on your drive.