Save 10%Pay yearly on any plan. 6% half-yearly, 3% quarterly. Help centreWhatsAppTelegram TeamsOpen a ticket

How to Delete Temporary Files Using Storage Sense on Windows 11

Storage Sense removes temporary files and empties the recycle bin by itself. Switch it on in Windows 11, set its schedule, and run a clean-up now.

3 min readBy Smita

Reviewed by the AmazingRDP technical team

Deleting temporary files with Storage Sense

Disk always full? A Windows VPS can be moved to a bigger plan by ticket. See Windows VPS from $8.99

Windows collects files it no longer needs: leftovers of updates, installer remains, the recycle bin, caches. Storage Sense is the part of Windows 11 that clears them away on a schedule, so that you do not have to remember. It takes two minutes to set up.

Switch it on

  1. Open Settings (Win + I).
  2. Choose System, then Storage.
  3. Under Storage management, switch Storage Sense on.

With the switch alone, Windows cleans up when the drive runs low. To decide the details yourself, click the words Storage Sense to open its page.

The Storage Sense page in Windows 11 Settings with its clean-up options

Set the schedule

SettingChoicesSuggestion
Cleanup of temporary filesTick boxOn
Run Storage SenseEvery day, week, month, or during low free disk spaceEvery month
Delete files in my recycle bin if they have been there for overNever, 1, 14, 30 or 60 days30 days
Delete files in my Downloads folder if they haven't been opened for more thanNever, 1, 14, 30 or 60 daysNever, unless you treat Downloads as a throwaway folder

Take care with the Downloads setting. People keep things there for years, and Storage Sense deletes without asking.

If you use OneDrive, a further setting appears: files you have not opened for a while become online-only. They stay in OneDrive and are downloaded again when you open them.

Clean up now

At the bottom of the Storage Sense page, click Run Storage Sense now. It works through the rules above at once.

Choose what to delete by hand

Back on the Storage page, click Temporary files. Windows lists what it found, with sizes, and you tick what should go.

EntrySafe to delete?
Temporary files, Temporary Internet Files, Thumbnails, Delivery Optimization Files, DirectX Shader CacheYes. Windows rebuilds what it needs
Windows Update CleanupYes. Often several gigabytes
Recycle BinYes, if you have checked what is in it
Previous Windows installation(s)Yes, once you are sure you will not go back to the earlier version. It cannot be undone
DownloadsOnly if you know the folder holds nothing you want

The page Cleanup recommendations, next to it, also points out large files and apps you have not used.

What Storage Sense does not touch

  • Your documents, pictures and programs.
  • Temporary files that a running program is still using.
  • Other drives, unless you choose them under Advanced storage settings, Storage used on other drives.

Still short of space?

  1. On the Storage page, click Show more categories to see what takes the room.
  2. Under Apps, Installed apps, sort by size and remove what you do not use.
  3. Move large folders to another drive.
  4. On a virtual server, the disk itself can be enlarged: see how to increase the space of drive C:.

On Windows Server and remote desktops

Windows Server 2019 and later have Storage Sense in the same place. On a shared remote desktop it cleans your own profile only, which is where your temporary files are. For Linux servers the same job is in monitoring disk space in Linux. A nearly full drive is also a common cause of missing previews: see thumbnail previews not showing.

When cleaning up is not enough any more, a Windows VPS can be moved to a bigger plan by ticket.

Questions

What is Storage Sense?

A Windows feature that deletes temporary files and old recycle bin contents automatically, on a schedule or when the drive runs low.

How do I turn on Storage Sense in Windows 11?

Open Settings, System, Storage, and switch Storage Sense on.

Does Storage Sense delete my personal files?

Not documents or pictures. It can delete old files in Downloads if you switch that option on, so set it to Never unless you want that.

How do I run Storage Sense immediately?

Open its page in Settings and click "Run Storage Sense now".