
A drive that is almost full slows your PC and can block updates. Windows 11 has a built-in tool, Storage Sense, that clears temporary files for you. Here is how to turn it on and what it does and does not touch.
Turn on Storage Sense
- Go to Start, then Settings, then System, then Storage.
- Set Storage Sense to On.
Microsoft says it is off by default. With the default settings it runs when your device is low on disk space and cleans up unneeded temporary files. It works on your system drive only, usually C:. For other drives, use Settings, System, Storage, Advanced storage settings, Storage used on other drives. Details are on Microsoft's page Manage drive space with Storage Sense.
Choose when it runs
- On the Storage page, select Storage Sense.
- Under Run Storage Sense, choose how often it runs while you are online and signed in.
Decide what it deletes
You can pick when files are removed from the Recycle Bin and from your Downloads folder, for example after a set number of days. By default, Downloads and cloud files are not touched unless you change this. Check the Downloads setting before you turn it on, in case you keep important files there.
OneDrive files
If you use OneDrive, you can make files online-only when you have not opened them for a chosen time. Microsoft says this does not permanently delete anything, and a file marked Always keep on this device is left alone.
Remove the old Windows copy
After a big upgrade, Windows may keep a copy of the previous version. To remove it, go to Settings, System, Storage, select Temporary files, check Previous Windows Installation(s) and select Remove files. You will not be able to go back to the old version after that, so only do it when you are happy with the new one.
If updates keep failing because of space, see Windows 11 Update Stuck or Failing.