Simpliguides

Simpliguides › Windows

How to set up Storage Sense in Windows 11 to clean up automatically without deleting files you need

Storage Sense is the cleaner built into Windows 11. It clears temporary files, empties the Recycle Bin and, if you let it, removes old files from your Downloads folder. On many PCs it's switched off, and even when it's on, the standard setting only runs it when the drive is nearly full. This guide turns it on, puts it on a regular schedule, and sets the two options that decide whether it ever touches a file you still want.

What you'll need: A PC running Windows 11. If the PC is managed by your employer, some of these switches may be greyed out. See Troubleshooting.

1

Open Settings

Hold down the Windows key and press I. The Settings window opens with System already selected in the list down the left-hand side.

2

Click Storage

In the right-hand part of the window, scroll down the System page and click Storage. The page that opens shows a bar for your main drive, usually Local Disk (C:), with a breakdown of what's using the space.

If System isn't selected, click it in the left-hand list first. If the window is too narrow to show that list, click the three-line menu icon at the top-left.
3

Switch Storage Sense on

Below the drive breakdown is a section headed Storage management. The first row in it is Storage Sense, with a switch on the right. Click the switch so it reads On.

4

Open the Storage Sense options

Click anywhere on the Storage Sense row itself, not the switch, to open its own page. This is where all the settings live. Near the top, Automatic User content cleanup should now read On. If it reads Off, click that switch too. Everything from step 6 onwards depends on it.

5

Leave temporary file cleanup ticked

At the top of the page, under Cleanup of temporary files, there's a tick box reading Keep Windows running smoothly by automatically cleaning up temporary system and app files. Leave it ticked. This covers things like old update leftovers, thumbnail caches and app scratch files. It doesn't touch your documents, photos or anything you saved.

6

Set how often it runs

Scroll to Configure cleanup schedules. The first drop-down, Run Storage Sense, is usually set to During low free disk space, which means it does nothing until the drive is almost full. Change it to Every week or Every month. The other choice is Every day, which is more than most PCs need.

7

Choose when the Recycle Bin empties

The next drop-down is Delete files in my recycle bin if they have been there for over. The choices are Never, 1 day, 14 days, 30 days and 60 days. Anything in the Recycle Bin is something you already deleted, so 30 days gives you a month to change your mind before it's gone for good. Pick Never if you'd rather empty it yourself.

8

Set the Downloads option to Never

The third drop-down is Delete files in my Downloads folder if they haven't been opened for more than. This is the one that catches people out. Set it to Never. With any other value, Storage Sense removes files from Downloads that you haven't opened in that time, whether or not you meant to keep them.

"Opened" means opened on this PC. A file you downloaded to hand to someone else, or to keep as a record, counts as untouched and would be deleted on schedule. If you do want Downloads cleared automatically, see Variations.
9

Decide what happens to OneDrive files

The last section is Locally available cloud content, with a drop-down for each OneDrive account on the PC reading Content will become online-only if not opened for more than. This doesn't delete anything. It removes the local copy of files you haven't opened recently and leaves a placeholder that downloads again when you open it. Choose Never if you work offline or have a slow connection, or a period such as 30 days if you're short of space and usually online.

Variations

Run a clean-up straight away

At the bottom of the Storage Sense page is a button labelled Run Storage Sense now. Click it and Windows runs a clean-up using the settings above, then reports how much space it freed. It's worth doing once after you've set the options, so you know what a scheduled run will do.

Let it clear old Downloads on purpose

If your Downloads folder is where installers and one-off attachments go to die, set the Downloads drop-down in step 8 to 60 days rather than something shorter, and move anything you want to keep into Documents or another folder first. Files anywhere other than Downloads and the Recycle Bin are never touched.

Tidy up by hand instead

Back on the Storage page, under Storage management, click Cleanup recommendations. Windows lists temporary files, large or unused files, files already synced to the cloud and unused apps, each with a tick box and the space it would free. Nothing is removed until you tick items and click Clean up. This is a one-off, so it suits people who'd rather see what's going before it goes.

Troubleshooting

Files have disappeared from my Downloads folder

Storage Sense has almost certainly been running with the Downloads option set to a number of days. Open the Recycle Bin from the desktop and look there first. If the files aren't in it, they can't be recovered from Windows itself. Check OneDrive's Recycle bin on the web if the folder was being backed up, or a File History or other backup if you have one. Then set the Downloads option to Never as in step 8 so it doesn't happen again.

The Storage Sense switch is greyed out or missing

On a PC managed by an employer or school, the setting can be locked by policy, and you'll usually see a line reading Some of these settings are managed by your organisation at the top of the page. Your IT team controls it. On a home PC, make sure you're signed in as an administrator: go to Settings › Accounts › Your info and look for the word Administrator under your name.

Storage Sense is on but the drive is still nearly full

Storage Sense only clears temporary files, the Recycle Bin and whatever you allowed in Downloads. If the drive is full of videos, photos, games or old backups, it won't help. Go back to the Storage page and look at the breakdown bar: click any category, such as Apps & features or Temporary files, to see what's in it. Cleanup recommendations, under Variations, is the fastest route to the biggest files.

OneDrive files show a cloud icon and won't open without internet

The Locally available cloud content setting from step 9 has made them online-only. The files are still in OneDrive and open as normal when you're connected. To keep a file or folder on the PC permanently, right-click it in File Explorer and choose Always keep on this device. Storage Sense leaves files marked that way alone.

Advertisement

Need a calculator rather than a guide? Try Simplicalcs →