Now make any selections by checking each item you want to cleanup. XP cleanup will look similar but with less options. NOTE: Following screen shots are from Vista Disk Cleanup Utility.
sageset:1 = used to create the registry key for storing the configuration. ( NOTE: see more information below about multiple drives) d c: = is the drive letter we want to use, and since it contains the Windows installation, will have all available options. To get started, open the Run window by clicking on Start \ Run… and type:Ĭleanmgr.exe = executable for Disk Cleanup utility. This option allows you to configure the Cleanup utility, and save it, so we can run it later with the custom configuration.
In order to create a customize configuration for Disk Cleanup, we need to run the utility using the sageset option.