
3 How to run Extended Disk Cleanup via Shortcut.2 How to Open Windows 10 Extended Disk Cleanup via Command Prompt.1 How to Run and Use Windows 10 Disk Cleanup in standard / classic mode.To automatically clean up these left behind system files, use /AUTOCLEAN instead. It will analyze the following locations: C:$Windows.~BT\*Īnd saves two log files for you to inspect: C:\Windows\System32\LogFiles\setupcln\setupact.logĬ:\Windows\System32\LogFiles\setupcln\setuperr.log If you are one of the Windows insiders, you will find this very helpful. Lastly, the /SETUP switch analyzes the system files left from a previous Windows version. Will save the checkbox settings in the registry and then can be called up by using cleanmgr.exe /sagerun:10 If you would like to have a customized checkbox settings, you can use the switch /SAGESET to set up the settings and /SAGERUN to use it. cleanmgr.exe /verylowdisk /d cĪlso, running the above command line from an elevated command prompt window will switch to the System Files mode, the mode when you click Clean up system files button in the screenshot above. It does exactly the same as the /LOWDISK does but starts the cleaning process automatically. If you want the process to start automatically, use the switch /VERYLOWDISK instead. The command will launch Disk Cleanup tool against the drive c with all checkbox checked by default. When launched, Disk Cleanup tool opens with all checkboxes checked by default. The switch /LOWDISK is used when a disk drive is running low in disk space. Launches the Disk Cleanup Tool for drive c. cleanmgr.exe /?Īddition to that, you can use the following switch to run the tool on a specified disk drive.


Let’s see how many switches are available in the tool by running the following command from a Run dialog box. Normally, you can launch the tool from disk drive’s properties, like below.īut do you also know that it can be launched as a command line with a bunch of switches that can be useful in various situations? Disk Cleanup is a built-in Windows tool that helps end user clean up disk spaces.
