Automate the above task by creating a Sageset configuration (optional)
The above task can be automated by using the Cleanmgr.exe's Sageset parameter. You can read more about it in this page. To automate the above task, use these steps:
* Click Start, and then click Run. Type this command and then click OK
cleanmgr /d G: /sageset:50
NOTE: /d parameter is used to specify the drive-letter. The above command assumes that the current Windows installation is in G:\. If in other drive, change it accordingly.
* Select Temporary Internet Files from the list.
* Uncheck all the other entries
* Click OK to save the changes.
* Now, the cleanup configuration is stored in the registry. You can invoke the cleanup of Temporary Internet Files by calling this saved configuration. To do so, use this command from Start, Run dialog:
cleanmgr /sagerun:50
NOTE: When using /sagerun, you don't need to specify the drive-letter, as the drive-letter configuration is already stored in the registry (using Step 1 - using the /d parameter)
---------------
In Girum Imus Nocte Et Consumimur Igni
In-Wonderland - Blog - Start64