Aug 30, 2019 Free up drive space in Windows 10. Content provided by Microsoft. Applies to: Windows 10. If you can't find Storage Sense on your device using the following steps, see the 'Free up space with Disk Cleanup' section below instead. To delete temporary files with Storage Sense. Schedule Disk Cleanup Basic Windows includes some handy tools to help keep your machine operating smoothly. One such tool is Disk Cleanup that can remove temp and old files to help you reclaim some hard drive space. You might want to set it up to run weekly.
Schedule Disk Cleanup Windows 10 Download
Hi,
Automate Disk Cleanup Windows 10
To assist you with your concern on automating disk cleanup in Windows 10, you may do so using Task Scheduler. First, we need to activate some cleaning options and then use the Task Scheduler.
Select the Triggers tab to edit the schedule period. Final thoughts. Both Disk Cleanup and Task Scheduler are built-in tools of Windows. These tools are available on all Windows versions, not just Windows 10. Combining them, you don’t need to use any tune-up tool to clean up your disk. Disk Cleanup utility. If you would like to schedule Disk Cleanup to run automatically, then you can do so using the Task Scheduler. Assuming you’ve pre-configured the system with the required settings to be cleaned by using the cleanmgr /sageset:100 command,. Sep 08, 2010 How To Schedule Disk Cleanup in Windows 7. Once you select Start a Program, click Next and then click the Browse button. In the run box, type C:Windowssystem32cleanmgr.exe and then click Open, then Next. Click Finish to complete the scheduler. This will launch the Disk Cleanup Utility at the time when you specified.
Using Command line version of Disk Cleanup Utility or Cleanmgr.exe
- Open an elevated command prompt, type cleanmgr /sageset:n, where n can be any integer between 1 and 255. Note: This switch /sageset displays the Disk Cleanup Settings dialog box and creates a registry key to store the settings. The number denote the settings which will be stored in the Registry when your run sagerun switch later on – and basically lets you make shortcuts to different stored configurations or schedule automatic cleanup in the Task Scheduler. In effect the /sagerun:n switch will run the specified tasks that are assigned to the n value by using the sageset switch.
- Opening the Command line version of Disk Cleanup Utility offers more cleanup options. Select the ones that you want and click OK to save them. After you click OK, the settings (selection) will be stored in the Registry for future use. When you schedule it using cleanmgr /sagerun:1 to run through the Task Scheduler, it will take these settings for Disk Cleanup.
- If you want to run this “Enhanced” Disk Cleanup Utility right away, type cleanmgr /sagerun:1 in the cmd window and hit Enter. Alternatively you could type C:Windowssystem32cleanmgr.exe /sagerun:1 in a Run window and hit Enter. The disk cleanup operation will start right away.
Here are the steps to schedule a task:
- Open Task Scheduler from the Control Panel or type Task Scheduler on the search box.
- Click on Create Basic Task. Give it a name and description.
- Select the Trigger, in this case the frequency. Click Next.
- Fill in the required details and click Next.
- As Action, select Start a program and click Next.
- Since we want to run the Disk Cleanup Utility, write C:Windowssystem32cleanmgr.exe and Add argument as /sagerun:1. As we have saved the disk cleanup setting using the number '1', we are using the same number '1' here. Click Next.
- Check the Summary. Select the Open Properties box and click Finish.
- The Monthly Disk Cleanup Properties box will open where will you get to see details like Triggers, History, General, Settings, Actions and Conditions.
Run Disk Cleanup
Let us know how it goes.