Please refer to the steps below.
1. Click Start, point to Search and click For Files or Folders.
2. In the Search box, type *.tmp.
3. Ensure that Local Hard Drives is selected.
4. Click Search Now.
5. Click Edit.
6. Click Select All.
7. Click File and click Delete.
8. Click Yes.
9. Click Close.