Our computer are very smart and it will help us to enhance the user experience by creating some temporary file and store it in somewhere in your harddisk. So after sometime the un-used files, old temporary files, temporary Internet files, and any log file may use up a lot of space in your harddisk, in addition, those unwanted file may also slow down your computer performance. Keeping your harddisk clean and tiny is a way to mainteance your computer performance at the top.
This task seem easy but very time consuming as we may need to find out what files are useless for our computer and safe to delete without affecting our computer. Microsoft Window XP/2003 did provide a very user friendly tools for us to done the task call ‘Disk Cleanup Manager’.
You can get the tools at Start –> All Program –> Accessories –> System Tools –> Disk Cleanup.
But to using this tools, it need the human interaction which response to it on the spot in order to accomplish the job. Why not we make it run automatically at the time that the computer is free or idle without any response needed by the user.
To do so just following the following step:
- Click Start Menu > Run, then type cleanmgr /sageset:1
- Click OK.
- Open Control Panel, double-click Scheduled Tasks
- Double-click Add Scheduled Task
- On the Scheduled Task Wizard dialog, click Next.
- In the list of applications you want Windows to run, click Disk Cleanup, and then click Next.
- Select a frequency for the task (once per week is usually enough) and click Next.
- Select a day of the week and time for the task to run.
- Enter the name and password of a user.
- Check the box to open Advanced Settings when you’re done.
- In the Run box, add the following to the end of the path: /sagerun: 1 and then click OK.
- Task Scheduler will automatically run Disk Cleanup with the settings you selected at the time you selected.
There are something you need to attention on which is the first command and switch you enter in the command prompt are difference with the extra command and switch you enter on the scheduler. The command enter in command prompt is /sageset but in the scheduler is /sagerun.