In Windows 10, you can now use the Settings app to remove temporary files manually or automatically starting with version 1803.
To automatically remove temporary files in Windows 10 using Storage Sense, do the following:
After completing these steps, Windows 10 will automatically delete temporary files and those files that have been in the recycle bin for over 30 days.