Automate the use of the improved disk cleaning tool under Windows 10/8/7

RECOMMENDED: Click here to fix Windows errors and optimize system performance

leanup utility

April 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


If you want the Disk Cleanup utility to run automatically from time to time, you can use the task scheduler. To do this, open Task Scheduler in the Control Panel. This article in How to Schedule a Task in Windows gives you more details. Click Create Basic Task. Give him a name and a description.

Select the trigger; in this case, the frequency. Click Next.

Since we selected Monthly, complete the other required information and click Next.

Select Start a program and click Next.

Since we want to run the disk cleaning utility, write C:Windows System32cleanmgr.exe and add the argument /sagerun:1. Since we saved the cleaning setting with the number’1′, we use the same number’1′ here. Click Next.

Check the summary. Select the Open properties check box and click Finish.

The Monthly Disk Cleanup Properties field opens, where you can see details such as triggers, history, general settings, actions, and conditions.

That’s it! The disk cleaning utility – with additional options – is run monthly to keep your hard disk clean.

RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance