MASIGNCLEAN104

Automate Enhanced Disk Cleanup Tool operation in Windows 10/8/7

iklan banner

You may live on aware that the ascendance business version of the Disk Cleanup Utility in Windows offers many to a greater extent than clean-up options. Just before today, nosotros saw how nosotros could forcefulness Disk Cleanup Utility to delete ALL temporary files, including those temporary files created inwards the final seven days.

In this tutorial, nosotros volition run into how to activate around additional cleaning options as well as automate the cleanup operation, then that you lot don’t demand to run the Disk Cleanup Utility or Cleanmgr.exe inwards Windows 10/8/7 manually, every time. We volition run into how to run the Command business version of Disk Cleanup Tool or Cleanmgr.exe amongst to a greater extent than cleaning options. Use Task Scheduler to run it automatically using sageset, sagerun arguments.

Command business version of Disk Cleanup Utility or Cleanmgr.exe

To begin, opened upwards an elevated ascendance prompt, type cleanmgr /sageset:n, where n tin dismiss live on whatever integer betwixt 1 as well as 255.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

This switch /sageset displays the Disk Cleanup Settings dialog box as well as creates a registry fundamental to shop the settings. The number denotes the settings which volition live on stored inwards the Registry when your run sagerun switch after on – and basically lets you lot brand shortcuts to dissimilar stored configurations or schedule automatic cleanup inwards the Task Scheduler.

In resultant the /sagerun:n switch volition run the specified tasks that are assigned to the n value past times using the /sageset switch.

Lets start amongst cleanmgr /sageset:1. This volition opened upwards the Command Line version of Disk Cleanup Utility offering many to a greater extent than cleanup options.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

If you lot lead keep noted, these are the options available inwards Cleanmgr.exe when you lot run it manually.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

When you lot opened upwards it using sageset, equally mentioned above, you lot volition run into the next construct clean upwards options. The options offered may vary depending on your system, however.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

You may live on surprised to run into then many options existence available as well as wonder why Microsoft chose non to brand accessing them easier!

The options existence offered may include:

  • Temporary setup files
  • Downloaded programme files
  • Temporary meshing files
  • Offline spider web pages
  • BranchCache
  • Debug dump files
  • Old chkdsk files
  • Previous Windows installations
  • Recycle bin
  • Update packet backup files
  • Setup log files
  • System mistake memory dump files
  • Temporary files
  • Windows Update Cleanup
  • Files discarded past times Windows upgrade
  • User file history
  • Windows Defender
  • Per user archived Windows mistake reporting files
  • Per-user queued Windows mistake reporting files
  • System archived Windows mistake reporting files
  • System queued Windows mistake reporting files
  • Windows ESD installation files
  • Windows upgrade log files
  • Zune temporary converted files.

Select the one’s you lot desire as well as click OK to salve them. After you lot click OK, the settings (selection) volition live on stored inwards the Registry for hereafter use. When you lot schedule it using cleanmgr /sagerun:1 to run through the Task Scheduler, it volition lead keep these settings for Disk Cleanup.

If you lot desire to run this “Enhanced” Disk Cleanup Utility correct away, type cleanmgr /sagerun:1 in the cmd window as well as striking Enter.  Alternatively, you lot could type C:\Windows\system32\cleanmgr.exe /sagerun:1 inwards a Run window as well as striking Enter. The disk cleanup performance volition kickoff correct away.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

 

TIP: To kickoff the Disk Cleanup Tool amongst all the options pre-selected, run the /lowdisk switch. That is, opened upwards Run box as well as type the next as well as striking Enter: cleanmgr /lowdisk

Schedule as well as Automate running of Disk Cleanup Utility

If you lot would similar to schedule Disk Cleanup Utility to run automatically, every i time inwards a while, you lot tin dismiss produce then using the Task Scheduler. To produce so, opened upwards Task Scheduler from the Control Panel. This post service on How to Schedule a Task inwards Windows will rank you lot to a greater extent than details close it. Click on Create Basic Task. Give it a hollo as well as description.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

Select the Trigger; inwards this illustration the frequency. Click Next.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

Since nosotros lead keep selected Monthly, fill upwards inwards the other required details as well as click Next.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

As Action, pick out Start a program as well as click Next.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

Since nosotros desire to run the Disk Cleanup Utility, write C:\Windows\system32\cleanmgr.exe as well as Add declaration equally /sagerun:1. As nosotros lead keep saved the disk cleanup setting using the unwrap ‘1’, nosotros are using the same unwrap ‘1’ here. Click Next.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

Check the Summary. Select the Open Properties box as well as click Finish.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

The Monthly Disk Cleanup Properties box volition opened upwards where you lot volition become to run into details similar Triggers, History, General Settings, Actions, as well as Conditions.

You may live on aware that the ascendance business version of the  Automate Enhanced Disk Cleanup Tool performance inwards Windows 10/8/7

That’s it!

The Disk Cleanup Utility – amongst the additional options fix – volition run every calendar month to proceed your disk clean.


Source: https://www.thewindowsclub.com/
Share This :