1) Run Command to configure what you want to cleanup cleanmgr /sageset:1 2) Run this command to Run manual based on selection made. cleanmgr /sagerun:1