Storage Sense on Windows 11 Cleared 40 GB of Temp Files on a Dell XPS 13

A Dell XPS 13 with a 256 GB SSD showed 40 GB recovered after one Storage Sense run in Windows 11 23H2. The space came mainly from Windows Update downloads, Delivery Optimization data, and stale temp folders while personal files were largely untouched.

Storage Sense on Windows 11 Cleared 40 GB of Temp Files on a Dell XPS 13

A Dell XPS 13 running Windows 11 23H2 went through one Storage Sense pass under Settings, System, Storage and reported the SSD moving from roughly 12 GB free to just over 50 GB free. The largest single entry was about 27 GB from the Windows Update download cache, where Microsoft keeps files for rollback and repair purposes after updates have already installed.

Storage Sense touches that folder only on certain configurations and timing. Windows removes retained update files when they are older than its internal threshold, usually ten days after a successful install. A deferred feature update can leave superseded installers sitting in C:\Windows\SoftwareDistribution\Download for weeks, which explains why this XPS 13 gained so much while a freshly reinstalled machine might gain almost nothing.

The folders behind the 40 GB

On the XPS 13 in question, the split ran roughly like this: 27 GB in the Windows Update cache, 6 GB in per-user temp folders under %LocalAppData%\Temp, 4 GB in the Delivery Optimization cache, and the remainder in thumbnail caches and the Recycle Bin.

Delivery Optimization is easy to miss because it sits behind Windows update behavior. It stores update chunks so the PC can pull them from other Windows devices instead of Microsoft servers, and it can seed those chunks outward as well. On a home network with two or three Windows machines, that cache can grow to several gigabytes and stay there.

Storage Sense clears Delivery Optimization data under the Temporary files category. In some builds the checkbox is buried and left unchecked by default. The manual route is Settings, System, Storage, Temporary files, where Windows shows the size of each category before deletion.

Application installers, browser downloads that never completed, and update staging files also land in Temp. Chrome and Edge can leave a gigabyte or two of orphaned files there over a few months of heavy use. The large total on this laptop depended mainly on accumulated update material and ordinary application leftovers.

The DISM cleanup Storage Sense skips

Storage Sense stops at the SoftwareDistribution download folder. The WinSxS component store is separate: it holds actual system files and superseded versions kept after servicing. Every cumulative update adds to it, and a Windows installation that has been running for a year can have 8 to 15 GB of reclaimable component-store space that automatic cleanup leaves alone.

The cleanup command is DISM component cleanup. From an elevated Command Prompt, dism /online /cleanup-image /startcomponentcleanup removes superseded versions Windows no longer needs for rollback. Adding /resetbase goes further: it strips the ability to uninstall currently installed updates, frees more space, and blocks reverting a bad patch.

On the XPS 13, the standard cleanup without /resetbase recovered another 4.2 GB after Storage Sense had already run. That space sat outside the 40 GB figure reported by the Storage Sense pass.

WinSxS reporting can mislead in File Explorer. The folder may appear far larger than the space it consumes because many entries are hard links pointing to the same data elsewhere on the drive. The better check is dism /online /cleanup-image /analyzecomponentstore, which returns a line called Reclaimable Packages and a recommendation on whether cleanup is warranted. The analysis usually takes a minute or two and shows whether running the cleanup command is worth the time.

TreeSize Free after the caches are gone

After the cache cleanup, the remaining hidden space usually sits in a few user folders that Storage Sense will miss. TreeSize Free from JAM Software scans a drive and lists folders by descending size, so old installer collections, duplicated OneDrive content, and a Docker image cache can surface quickly. A Docker cache that quietly grew to 20 GB would appear immediately near the top of the scan.

On a 256 GB SSD, common post-cleanup suspects include game shader caches, video editing scratch files, and WhatsApp or Signal desktop media folders that mirror received images and videos. TreeSize displays these as expandable leaf nodes, which makes the decision local to each folder.

The scan on a mostly full XPS 13 SSD finishes in under a minute. The drive is fast, and the file count is large without being enormous.

A worked pass on the same SSD

The starting point was 12 GB free. Storage Sense cleared 40 GB and brought free space to 52 GB. DISM startcomponentcleanup added 4.2 GB, taking the total to 56.2 GB.

TreeSize then flagged a 9 GB folder of old video exports in Documents and a 3 GB Downloads folder full of stale installers. Both were safe to delete manually. Removing them brought the machine to roughly 68 GB free.

That is 56 GB recovered on a 256 GB drive, close to a quarter of the total capacity. Only the last 12 GB required judgment about personal files. Once the caches are exhausted, further gains require decisions about deleting user data or moving it elsewhere.

Moving cache folders off the system drive is another option people try. Chrome, Spotify, and Adobe cache directories can be relocated to a second drive or an SD card through symbolic links created with mklink. On a single-SSD XPS 13 there is no second internal drive, so this works only when an external drive stays attached permanently.

The hibernation file

One file on the XPS 13 consumed 6 GB and stayed absent from cleanup lists: hiberfil.sys. Windows sizes it at roughly 40 percent of installed RAM, so a 16 GB machine carries a 6.4 GB hibernation file whether hibernation is used or ignored.

powercfg /hibernate off removes that file by disabling hibernation. Among the changes here, that one sticks because it turns the feature off.

Why the space returns

Every gigabyte Storage Sense cleared will return by design. The Windows Update cache refills during the next patch cycle, Delivery Optimization begins seeding again as soon as the PC downloads an update, and temp folders fill while software is installed and run. A single cleanup buys a month or two on a machine that patches regularly.

The schedule matters more than the manual button. Under Settings, System, Storage, Storage Sense, Windows can run cleanup when disk space is low, every week, or every month. Separate settings control how long files stay in the Recycle Bin and Downloads before deletion.

Setting Downloads cleanup to Never is worth doing. The default option that deletes downloads after 30 days has caught people who left an installer or document in that folder as their only copy.

Most of the reclaimed space was maintenance debris that Windows and applications are expected to recreate. The hibernation change is different because the file disappears while the feature stays disabled, while update caches and temp folders resume growing after normal use. The unresolved part is the purchase decision: the smallest drive leaves routine maintenance competing with the owner’s files.