Windows Storage Sense: Configuring It to Actually Do Something

Storage Sense does almost nothing on default settings. How to configure it properly, what it will and won't delete, and how to deploy it across an estate.

Windows Storage Sense: Configuring It to Actually Do Something

Storage Sense is switched on for a lot of people and quietly achieving very little, because its defaults are extremely conservative. Configured properly it genuinely keeps a machine from filling up. Left alone it deletes the occasional temporary file and nothing else.

Quick Facts

  • Default settings do almost nothing. Recycle Bin and Downloads cleanup are both off by default.
  • It runs during low disk space by default. Change it to a schedule so it’s preventative.
  • It can delete from Downloads. Understand this before enabling it; people keep things there.
  • OneDrive dehydration is the big win. Files become online-only, freeing space while staying accessible.
  • It never touches Documents, Desktop or Pictures.

Where to find it and what to change

Settings, System, Storage, Storage Sense. There are two layers: the toggle, and a configuration page behind it that most people never open.

SettingDefaultSensible value
Run Storage SenseDuring low free disk spaceEvery week
Delete files in Recycle Bin30 days30 days
Delete files in DownloadsNever60 days, or Never if you hoard
Content becomes online-onlyNever30 or 60 days

Changing the run frequency from “during low free disk space” to “every week” is the single most useful change. Waiting until the disk is nearly full means you get a slow machine first and cleanup second.

The OneDrive setting is the one that matters

“Content becomes online-only” applies to OneDrive Files On-Demand. Files you haven’t opened for the chosen period lose their local copy but remain visible with a cloud icon, and download on demand when opened.

On a machine with a large synced OneDrive and a small SSD, this frees more space than everything else combined. The caveat is offline access: a file that’s online-only isn’t available on a train with no signal. If you travel, mark the folders you genuinely need as Always keep on this device.

What it will and won’t delete

  • Will: temporary files, Recycle Bin contents older than the threshold, Downloads older than the threshold (if enabled), previous Windows installations, thumbnails and delivery optimisation cache.
  • Won’t: anything in Documents, Desktop, Pictures, Music or Videos. Installed programs. Anything outside your profile.

The Downloads folder is the one to think about. Plenty of people treat it as a working directory rather than a transit area, and enabling deletion there will eventually remove something they wanted. Sixty days is a reasonable compromise; if you’re unsure, leave it at Never and rely on the other settings.

Running it now, and via PowerShell

There’s a Run Storage Sense now button at the bottom of the settings page. For scripted use, the underlying settings live in the registry per-user:

$key = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy'

# Enable Storage Sense
Set-ItemProperty -Path $key -Name '01' -Value 1

# Run weekly (1 = daily, 7 = weekly, 30 = monthly, 0 = low disk space)
Set-ItemProperty -Path $key -Name '2048' -Value 7

# Recycle Bin cleanup after 30 days
Set-ItemProperty -Path $key -Name '08' -Value 1
Set-ItemProperty -Path $key -Name '256' -Value 30

For an estate, don’t script the registry. Use the Group Policy settings under Computer Configuration, Administrative Templates, System, Storage Sense, or the equivalent Intune configuration profile. Both are cleaner and reportable.

When Storage Sense isn’t enough

Quick Steps

  1. Run Disk Cleanup as administrator for previous Windows installations and system files Storage Sense leaves alone.
  2. Check the component store: DISM /Online /Cleanup-Image /AnalyzeComponentStore
  3. Find the actual large files. Settings, Storage shows a breakdown, or use a disk analyser like DiskGeek.
  4. Check hibernation: powercfg /hibernate off reclaims several gigabytes if you don’t use it.
  5. Look at the page file if the drive is very small, though don’t disable it entirely.

Glossary

TermWhat it means
Storage SenseWindows’ built-in automatic cleanup feature.
Files On-DemandOneDrive feature keeping files visible but not stored locally until opened.
DehydrationRemoving a file’s local copy while keeping it listed and downloadable.
Delivery Optimisation cacheUpdate files cached for sharing with other machines on the network.
Component storeThe WinSxS folder, often large, and not fully cleared by Storage Sense.
Windows.oldPrevious installation kept after a feature update, typically 10-20GB.

Frequently asked questions

Does Storage Sense delete my personal files?

Only from Downloads, and only if you enable it. Documents, Desktop and Pictures are never touched. The Recycle Bin cleanup deletes things you’ve already deleted.

Why hasn’t Storage Sense freed any space?

Almost certainly because it’s set to run only during low disk space, and the Downloads and OneDrive options are off. Those defaults do very little.

Is it safe to enable the OneDrive online-only setting?

Yes, provided you have reliable connectivity when you need those files. Mark anything you need offline as Always keep on this device first.

Can I deploy Storage Sense settings across an estate?

Yes. Group Policy under System, Storage Sense, or an Intune configuration profile. Preferable to scripting the registry directly.

Storage Sense ran but the disk is still full. What now?

Run Disk Cleanup as administrator for previous installations, check the component store size with DISM, and use a disk analyser to find what’s actually taking the space. It’s often one folder nobody expected.

🛠️

Gear We Recommend

Running out of space for real? Here’s the storage we’d add.

Browse our Storage & Backup picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases

Disclosure: this post may contain affiliate links. If you buy through one of them, we may earn a small commission at no extra cost to you. We only recommend products we’ve tested or genuinely rate.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Intune, Active Directory, PowerShell and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published 770+ practical guides to real-world IT problems. He also builds free Windows utilities, including Ultimate Settings Panel, which has been downloaded over 850,000 times.

Leave a Reply

Your email address will not be published. Required fields are marked *