Disk cleanup in Windows 10. 1  To delete temporary files: 2  Search for Disk cleanup from the taskbar and select it from the list of results. 3  Under Files to delete, select the file types to get rid of. To get a description of the file type, select it.  Select OK.