How to Delete Temporary Files Using Settings in Windows 11
Free disk space in Windows 11 from Settings: open Storage, choose Temporary files, tick what may go, and know which boxes to leave alone.
3 min readBy Soumya
Reviewed by the AmazingRDP technical team

Large downloads on a remote desktop keep your own disk free. See Cheap RDP from $4.99
Windows 11 has a built-in cleaner in the Settings app. It finds temporary files of many kinds, shows how much each takes, and removes what you tick. It is the safest way to free space, because Windows only offers things it knows how to remove. This page walks through it and explains each checkbox, since two of them can delete things you wanted to keep.
Step by step
- Open Settings: press
Win + I. - Choose System, then Storage.
- Wait a moment while Windows measures the disk, then click Temporary files.
- Tick the categories to remove (see the table below).
- Click Remove files, then Continue.
Depending on the amount, this takes from seconds to several minutes. Windows Update clean-up is the slowest.
What the checkboxes mean
| Category | What it is | Remove? |
|---|---|---|
| Temporary files | Working files of programs | Yes |
| Windows Update Clean-up | Old copies of updated system files | Yes. Often the largest. Afterwards the most recent updates cannot be uninstalled |
| Delivery Optimisation Files | Update files kept to share with other PCs | Yes |
| Thumbnails | Small previews of pictures and videos | Yes; Windows makes them again as needed |
| Temporary Internet Files | Cache of the old Internet Explorer engine | Yes |
| DirectX Shader Cache | Files that speed up graphics start-up | Yes; rebuilt automatically |
| Windows error reports and diagnostics | Records of crashes | Yes, unless you are investigating one |
| Microsoft Defender Antivirus | Non-critical files of the virus scanner | Yes |
| Recycle Bin | Files you deleted | Only if you are sure nothing in it is needed |
| Downloads | Your whole Downloads folder | Usually no. This removes everything you downloaded and have not moved |
| Previous Windows installation(s) | The old system after a version upgrade | Yes, once you are sure you will not go back; it frees many gigabytes and removes the option to roll back |
Which categories appear depends on what Windows finds. Read the list each time; the Downloads box is the one people tick by accident.
Clean-up recommendations
On the Storage page, Cleanup recommendations lists large files, files you have not opened for a long time, and apps you never use. Nothing is removed until you tick it. It is a good place to find forgotten installers and videos.
Let Windows do it regularly
The switch Storage Sense on the same page clears temporary files by itself on a schedule or when space runs low. Setting it up, including what it does with the Recycle Bin and Downloads, is described in Storage Sense in Windows 11.
The older tool still exists
Press Win + R and run cleanmgr for the classic Disk Clean-up. Clean up system files shows the same categories as above. It does nothing the Settings page cannot.
Three ways compared
| Way | Best when |
|---|---|
| Settings, Temporary files (this page) | You want a thorough clean now, with Windows Update leftovers included |
| Storage Sense | You want it to happen by itself |
| By hand, with the Run box | Something was missed, or you want to see what is there |
Still short of space?
- Apps: Settings, Apps, Installed apps, sort by size, uninstall what you do not use.
- Your own files: videos and downloads are usually the bulk. Move them to another drive, or change where downloads go: changing the download location.
- Hibernation: the hibernation file is as large as a good part of your memory: hibernate mode.
- See what is large: on the Storage page, Show more categories breaks the disk down by type.
On Windows Server and remote desktops
Windows Server has a Storage page in Settings too, with fewer categories. On a shared remote desktop you manage only your own files; the system's temporary files are ours to clear. On your own server, when cleaning is not enough, the disk can be enlarged: increasing C drive space.
Keeping heavy downloads on a remote desktop leaves your own disk alone: Cheap RDP.
Questions
How do I delete temporary files in Windows 11 Settings?
Open Settings, System, Storage, Temporary files, tick the categories and click Remove files.
Is it safe to delete Windows Update Clean-up files?
Yes. The only effect is that recently installed updates can no longer be uninstalled.
Should I tick Downloads when deleting temporary files?
Usually not. It deletes everything in your Downloads folder.
What is the difference between this and Storage Sense?
The Temporary files page cleans once, when you ask. Storage Sense repeats the cleaning automatically.