Set and run disk cleanup options in Windows (cleanmgr)
cleanmgr /sageset:1
cleanmgr /sagerun:1
Use /sageset:1 to configure and save specific cleanup options for Disk Cleanup, and /sagerun:1 to execute the cleanup based on those saved settings.