[FEATURE] System-wide Icon and Thumbnail Cache Optimization (Persistence & Expansion)
Please confirm these before moving forward
- [x] I have searched for similar feature requests and have not found a duplicate.
Feature Type
New functionality
Describe your feature request
I would like to see a set of File Explorer optimizations added to Winhance that prevent the constant re-reading of file data from storage. These tweaks address two specific Windows bottlenecks:
Icon Cache Expansion: Implementing the MaxCachedIcons registry string. By default, Windows has a low internal limit for cached icons. When a user has many files (Software, Games, EXEs) across the system, Windows hits this ceiling and deletes older icons to make room for new ones, causing constant drive activity and slow loading when navigating folders.
Thumbnail Cache Persistence: Disabling the automatic "SilentCleanup" of thumbnails. Windows frequently wipes the thumbnail cache during background maintenance, forcing the OS to re-generate thumbnails (a heavy I/O task) every time a user returns to their media folders.
Use case
This benefits any user with large file collections. Without these tweaks, Windows is forced to physically re-read file headers/binaries from the drive to display icons and thumbnails because the cache is either too small or has been auto-deleted. By expanding and protecting the cache, the drive only has to be read once. After that, all icons and thumbnails are served instantly from the system cache, significantly reducing drive noise, mechanical wear, and navigation lag.
Software Details:
Icon Cache Expansion:
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
Value: MaxCachedIcons (String) — Recommend setting to 4096 or 8192.
Thumbnail Persistence:
Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache
Value: Autorun (DWORD) — Set to 0 to prevent auto-deletion.
(Note: Should also be applied to WOW6432Node for 64-bit systems).
Software Details (Only for 'New software to be added' requests)
I have verified these limits by monitoring the iconcache_*.db files in %localappdata%. I observed the cache hitting hard limits (e.g., exactly 28MB or 3MB) and refusing to grow until the registry was modified. Once modified, the cache grew to accommodate the full file list, and drive activity dropped to zero during folder navigation.
Before:
After:
Additional context
No response
@Vyathaen Hey there, I found some conflicting info about this online, specifically, MaxCachedIcons - some sources state it needs to be Max Cached Icons with spaces in between.
Are these registry details you gave me the exact ones you have been using and can confirm that they're working?
Also, for me to test this myself, at which files in which file paths should I be looking at?
@Vyathaen Hey there, I found some conflicting info about this online, specifically,
MaxCachedIcons- some sources state it needs to beMax Cached Iconswith spaces in between.Are these registry details you gave me the exact ones you have been using and can confirm that they're working?
Also, for me to test this myself, at which files in which file paths should I be looking at?
Hey, So the folder is %localappdata%\Microsoft\Windows\Explorer There you will see the iconcache files. I mostly use Medium Icons in most folders so the file that grows the largest is iconcache_48.db . If yours is at 28,672 KB then its already at the maximum allowed size by default.
There are no spaces in the string in regedit:
Hey @Vyathaen,
Thanks for the detailed write-up and screenshots — that made this easy to act on. I've added an Icon cache size option under Explorer > Files and Folders. It lets you set MaxCachedIcons to 4,096 or 8,192, or leave it at the Windows default (which removes the value). The default option also covers any other/absent state, so the dropdown always reflects reality.
This is in the development branch (f9b2e52c) and will be available in Release 27.
Thanks for the suggestion!
Drafted and approved by @memstechtips - Sent by Memory's Agent
Quick follow-up @Vyathaen — the second part of your request is now in as well.
Alongside the icon cache option, there's now an Automatic thumbnail cache cleanup toggle (Explorer > Files and Folders). Turning it off sets Autorun to 0 on both …\VolumeCaches\Thumbnail Cache and its WOW6432Node mirror, so Windows stops clearing the thumbnail cache during automatic maintenance — exactly the behaviour you described. One detail your testing helped confirm: on current Windows 10/11 the default Autorun is 3 (not 1), so the toggle treats any non-zero value as "on" and writes 0 to disable.
This is in the development branch (99227d8) and will be in Release 27, same as the icon cache option.
Thanks again for the thorough report and the registry details — made both of these easy to get right.
Drafted and approved by @memstechtips - Sent by Memory's Agent