Skip to content

Windows Update keeps what it downloaded, and sometimes forgets to clear it

SoftwareDistribution, Delivery Optimization and the update logs. What each holds, what clears itself, and the safe way to reset a stuck cache.

5 min read

Windows downloads updates, applies them, and is meant to clean up afterwards. Usually it does. When it does not, the folder involved has a name nobody recognises and a size that can run to several gigabytes.

The three folders

FolderHoldsNormal size
SoftwareDistribution\DownloadUpdate packages being installedNear zero between updates
SoftwareDistribution\DataStoreThe update history databaseTens of MB
Delivery Optimization cacheUpdate parts shared with other PCsUp to a few GB

What clears itself

The Download folder empties after updates install successfully. Delivery Optimization has its own cap and clears on a schedule, and both appear in Settings, System, Storage, Temporary files as removable categories. On a working machine none of this needs attention.

When an update is stuck

A download that keeps failing and restarting leaves partial packages behind, and the folder grows. The supported reset is to stop the services, rename the folder, and let Windows rebuild it:

net stop wuauserv
net stop bits
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net start bits

Renaming rather than deleting is the important part: Windows recreates the folder on the next check, and if something goes wrong the original is still there. Once updates are working again, the .old copy can be deleted.

Delivery Optimization

This is the peer to peer cache that lets your PC get update parts from other machines on your network and share its own. It is capped and it clears itself, and it can be limited or turned off in Settings, Windows Update, Advanced options, Delivery Optimization. Turning it off entirely means every update comes from Microsoft directly, which on a slow connection is a worse trade than the space is worth.

The log files nobody mentions

C:\Windows\Logs\CBS collects servicing logs and, on a machine with a repeatedly failing update, can reach gigabytes on its own. Measured on the same machine, C:\Windows\Logs was 66 MB, which is what normal looks like. If yours is far larger, the size is a symptom of an update failing in a loop rather than something to clear and forget.

The store those updates are servicing is next door, and it looks far bigger than it is.

Common questions

Can I delete the SoftwareDistribution folder?

Not while the services are running. Stop wuauserv and bits, rename the folder, then start them again and Windows rebuilds it. Renaming rather than deleting means the original is still there if anything goes wrong.

What are Delivery Optimization files?

Parts of updates cached so your PC can share them with other machines on your network and receive them the same way. The cache is capped and clears itself, and it can be limited in Settings, Windows Update, Advanced options.

Why is my Windows Update cache so large?

Almost always an update that keeps failing and restarting, leaving partial downloads behind. On a healthy machine measured in September 2026 the whole folder was 48 MB.

Is it safe to clear update files in Storage settings?

Yes. Settings, System, Storage, Temporary files lists them as removable categories and only offers what is genuinely finished with.

Read next