Schedule Disk Cleanup to run regularly

Disk Cleanup is a convenient way to delete files you no longer need and free up hard disk space on your computer. Scheduling Disk Cleanup to run regularly can save you the trouble of having to remember to run it.

Note

  • When you schedule Disk Cleanup, it will open and then wait for you to make choices before deleting files from your computer.

  1. Open Task Scheduler by clicking the Start button Picture of the Start button, clicking Control Panel, clicking System and Security, clicking Administrative Tools, and then double-clicking Task Scheduler. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

  2. Click the Action menu, and then click Create Basic Task.

    This opens the Create Basic Task Wizard.

  3. Type a name for the task and an optional description, and then click Next.

  4. To select a schedule based on the calendar, click Daily, Weekly, Monthly, or One time, and then click Next.

  5. Specify the schedule you want to use, and then click Next.

  6. Click Start a program, and then click Next.

  7. Click Browse, type cleanmgr.exe in the File name box, click Open, and then click Next.

  8. Click Finish.