Cleanmgr.exe /sageset: nto choose the clean-up option. The
nvariable can be a number from 0 to 65535. When finish press the "Ok" button.
Cleanmgr.exe /d C: /sagerun: nperform a full clean-up of the c: drive with the options you set previously.
Now you can easily schedule this operation with a simple cmd file.