You can remove temporary files in Windows through Settings, Disk Cleanup, or your user Temp folder. The Settings method is usually the safest: open Settings > System > Storage > Temporary files, select the categories you want to clear, then choose Remove files.
Use Settings to remove temporary files
- Open Settings and go to System > Storage.
- Select Temporary files. Windows may take a moment to scan your drive.
- Review the categories and select the files you want to remove.
- Choose Remove files to confirm.
Read each category before selecting it. In particular, Downloads can include personal files you want to keep. Removing Previous Windows installation(s), if listed, can prevent you from going back to the previous Windows version.
Use Disk Cleanup
If you do not see the options you need in Settings, search for Disk Cleanup from the Start menu, choose your Windows drive, and select the file categories to remove. Select Clean up system files to scan for additional items, such as Windows update cleanup files. Review the list before confirming.
Clear files from your user Temp folder
- Press Windows key + R, type %temp%, and press Enter.
- Select the files in the folder and press Delete.
- If Windows says a file is in use, skip it. You do not need to force-delete it.
Windows and your apps may recreate temporary files as needed. Avoid deleting files from other system folders manually; use Settings or Disk Cleanup instead.
Automatically clean temporary files
To schedule routine cleanup, open Settings > System > Storage and turn on Storage Sense. Review its settings to choose when Windows clears temporary files and whether it manages items in the Recycle Bin or Downloads folder.