Windows Module Store and Disk Caching Explained


The Windows Module Store, usually called WinSxS, is the folder that holds every version of every system component Windows has ever installed. It lets updates roll back cleanly, and it is also one of the largest folders on the system disk.

This guide explains what WinSxS stores, how it behaves, and how a disk cache interacts with it.

PAGE CONTENT

What the Module Store Stores

The folder is a component database, and it is more active than it looks:

How WinSxS Behaves on Disk

The access pattern is bursty and read-dominated, which is the part that matters for caching:

How It Interacts with a Disk Cache

The two layers overlap mainly during updates and backups, and the interaction is limited:

Where the Two Conflict

A few setups work against each other, and they are easy to avoid:

Quick summary

WinSxS is a poor target for read caching. The wins come from leaving it on the system SSD and letting backup passes warm the cache naturally.

Configure a Cache for the Module Store

The sensible setup is to leave WinSxS where it is, keep it on a healthy SSD, and point a disk cache at the system volume for the files you actually reopen. Qiling Fast Cache uses a RAM tier for the hottest blocks and an SSD tier for the rest, and shows the hit rate in the task list.

Step 1. Install Qiling Fast Cache and open the task list. Run a DISM cleanup once before configuring anything, so the folder is at its real size.

Empty Fast Cache task list before configuring cache for WinSxS

Step 2. Click the "+" button and select the system volume. WinSxS lives under C:\Windows, so the cache picks it up automatically.

Step 3. Size the SSD tier for your real working set, not for WinSxS. The folder is too large to cache entirely and too cold to benefit.

Set the cache volume and size for the module store workload

Step 4. Run an update and a backup after the cache has warmed, then read the hit rate - see how to check cache hit rate - and confirm that update reads are being served from the SSD tier rather than the platters.

Fast Cache task list with cached module store data and hit rate shown

FAQs About WinSxS and Caching

Can I delete files in WinSxS?

No. The only safe cleanup is dism /Online /Cleanup-Image /StartComponentCleanup, which removes superseded components that are no longer needed.

Will a disk cache make updates faster?

Slightly, on a retry. The first run of a new update is always cold because the manifests have not been touched since the last update.

Why is WinSxS so big?

It keeps every version of every system component so updates can roll back. Hard links mean the physical disk cost is lower than the logical size suggests.

Should I compress WinSxS?

No. NTFS compression makes update reads slower, and the hard-link deduplication already saves more space than compression would.

Does Storage Sense clean it up?

No. The folder is owned by TrustedInstaller, so cleanup rules leave it alone unless you run the DISM command explicitly.

Back Up Windows Before You Change Settings

Reconfiguring storage and cache settings is easier to undo when you have a recent image. Qiling Disk Master creates a full Windows backup you can restore from.

Part 1: Create a Full System Backup

Step 1. Install and open Qiling Disk Master. On the home screen, open "Backup and Recovery" and choose "System Backup". This option automatically includes Windows and the hidden boot partitions, so you do not have to select them one by one.

open Backup and Recovery in Qiling Disk Master

Step 2. Check the source. The disk where Windows is installed and its system partitions are already ticked for you. If you only need your personal documents, run a separate "File Backup" task instead.

choose System Backup to protect Windows 11

Step 3. Click the destination box and choose where the image should be saved. Use an external HDD or SSD, a NAS, or any drive other than the one Windows is installed on, and make sure it has enough free space.

select an external drive as the system backup destination

Step 4. Review the task summary and click "Proceed". Wait until the progress bar reaches 100%. Do not unplug the drive or turn off the PC while the backup is running.

click Proceed to start the system backup

Part 2: Restore Windows from the Backup

Step 1. Open Qiling Disk Master again, go to "Backup and Recovery", and select the recovery option. Your backup images are listed, so pick the one you created before the changes began.

select the system backup image to restore

Step 2. Choose the target disk or partition. Normally you restore to the original system disk. If the drive was replaced, select the new disk instead, and the restore rebuilds Windows together with its boot partitions.

choose the target disk for the system restore

Step 3. Preview the restore plan, click "Proceed", and confirm the warning. The PC restarts to finish the job, and Windows comes back exactly as it was on the day the image was created.

preview the restore plan before proceeding

Note
Keep the backup image on a separate drive, and refresh it before changing module store or cache settings.

Conclusion

The Windows Module Store is a poor target for read caching because its files are only read during updates and backups, and most reads are cold. The wins come from leaving the folder where it is on the system SSD, running the DISM cleanup command to remove superseded components, and letting backup passes warm the cache naturally. Point a disk cache at the system volume for the files you actually reopen, size the SSD tier for your real working set rather than the WinSxS folder, and read the hit rate after an update rather than assuming the module store needs special treatment.

Protect your PC with Qiling Backup—create a system image before your next round of settings changes.

For more Windows performance guides, see how shadow copies interact with a cache, the installer cache and caching, how Storage Sense interacts with a cache, Defender real-time protection and caching, and NTFS compression and caching.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it