Disk Cleanup tool in Windows helps in freeing up space by removing temporary files, Previous Windows installation files and other stuff that may matter when your drive is on low space.

Windows 10 Creators Update offers an option in Storage Settings which, when enabled automatically cleans temporary files and deleted files in Recycle bin. Here is how you can activate it.

Automatically free up space in Windows 10 Creators Update

Settings > System > Storage,  change the setting to ‘On’ under ‘Storage sense’

You can able to change what content can be removed by clicking on ink ‘Change how we free up space’, which by default, deletes temp files that apps aren’t using and files that have been in recycle bin for over 30 days.

This may not be useful to you if run third-party cleanup tool like CCleaner on your computer.

How to Clean Windows.old Folder using CCleaner