Disk Cleanup Command Line

cleanmgr [/sagerun:1 | /sageset:n] [/T:C] [/D:C] [/X]

This will open the Disk Cleanup Settings dialog box, where you can select the types of files to delete. To run the cleanup with these settings, use: disk cleanup command line

cleanmgr /verylowdisk

/sagerun:1 (ensure you have already run /sageset:1 once manually). Special Modes for Low Disk Space cleanmgr [/sagerun:1 | /sageset:n] [/T:C] [/D:C] [/X] This