Personalization Change Icon Cache Size in Windows 11


  • Staff
configuration_banner.png

This tutorial will show you how to change the maximum size of the icon cache to fix slow loading icons in File Explorer for all users in Windows 7, Windows 8, Windows 10, and Windows 11.

The icons that display for files in Windows are saved in an icon cache so they can be displayed quickly instead of having to manually scan and slowly load them each time.

Sometimes you may notice File Explorer loads icons slowly when you open a folder with lots of files. Increasing the size of the icon cache may help.

By default, the icon cache is 500 KB. Increasing the icon cache size to 4 MB gives the best results, but you can change the size to what works best for you.

Reference:


You must be signed in as an administrator to change the icon cache size.



Contents





Option One

Change Icon Cache Size using a REG file


1 Do step 2 (4 MB) or step 3 (default) below for what you want.

2 Change Icon Cache Size to 4 MB

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Set_icon_cache_size_to_4MB.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"Max Cached Icons"="4096"

3 Restore Default Icon Cache Size (500 KB)

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Default_icon_cache_size.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"Max Cached Icons"=-

4 Save the REG file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 Restart the computer to apply.

8 You can now delete the downloaded .reg file if you like.




Option Two

Change Icon Cache Size in Registry Editor


1 Open Registry Editor (regedit.exe).

2 Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer

Icon_cache_size_regedit-1.png

3 In the right pane of the Explorer key, double click/tap on the Max Cached Icons string value to modify it. (see screenshot above)

If you do not have a Max Cached Icons string value, right click on an empty area in the right pane of the Explorer key, click/tap on New, click/tap on String Value, type Max Cached Icons for the name, and press Enter.


4 Type the icon cache size you want in KB (1 MB = 1024 KB), and click/tap on OK. (see screenshot below)

Icon_cache_size_regedit-2.png

5 Close Registry Editor.

6 Restart the computer to apply.


That's it,
Shawn Brink

 

Attachments

  • configuration.png
    configuration.png
    5.3 KB · Views: 117
  • Default_icon_cache_size.reg
    566 bytes · Views: 210
  • Set_icon_cache_size_to_4MB.reg
    576 bytes · Views: 272
Last edited:
How can the user know if he needs to increase the icon cache ? :eyeroll:
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Pavilion 17 cd2205nw
    CPU
    Intel 113700H
    Memory
    16GB
    Graphics Card(s)
    NVIDIA RTX 3050 ti
    Screen Resolution
    1980x1020
    Hard Drives
    Micron 512GB
    Mouse
    Logitech
    Internet Speed
    100Mbs
    Browser
    Vivaldi , Edge
    Antivirus
    Norton Plus
How can the user know if he needs to increase the icon cache ? :eyeroll:

If you notice icons loading slowly when you open a folder, then it may be a good idea to increase the icon cache size to see if it may help them load faster next time. :-)
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    1TB Samsung 980 PRO M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium
View attachment 10399
The icons that display for files in Windows are saved in an icon cache so they can be displayed quickly instead of having to manually scan and slowly load them each time.

Sometimes you may notice File Explorer loads icons slowly when you open a folder with lots of files. Increasing the size of the icon cache may help.

By default, the icon cache is 500 KB. Increasing the icon cache size to 4 MB gives the best results, but you can change the size to what works best for you.

This tutorial will show you how to change the maximum size of the icon cache to fix slow loading icons in File Explorer for all users in Windows 7, Windows 8, Windows 10, and Windows 11.


You must be signed in as an administrator to change the icon cache size.



Contents






OPTION ONE

Change Icon Cache Size using a REG file


1 Do step 2 (4 MB) or step 3 (default) below for what you want.

2 Change Icon Cache Size to 4 MB

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Set_icon_cache_size_to_4MB.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"Max Cached Icons"="4096"


3 Restore Default Icon Cache Size (500 KB)

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Default_icon_cache_size.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"Max Cached Icons"=-

4 Save the REG file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 Restart the computer to apply.

8 You can now delete the downloaded .reg file if you like.





OPTION TWO

Change Icon Cache Size in Registry Editor


1 Open Registry Editor (regedit.exe).

2 Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer


3 In the right pane of the Explorer key, double click/tap on the Max Cached Icons string value to modify it. (see screenshot above)

If you do not have a Max Cached Icons string value, right click on an empty area in the right pane of the Explorer key, click/tap on New, click/tap on String Value, type Max Cached Icons for the name, and press Enter.


4 Type the icon cache size you want in KB (1 MB = 1024 KB), and click/tap on OK. (see screenshot below)


5 Close Registry Editor.

6 Restart the computer to apply.


That's it,
Shawn Brink


Hey Brink,

This is incorrect.

Registry key names never have spaces in between.

The correct key name is MaxCachedIcons.

Proof: Icons are changed unexpectedly in Windows - Microsoft Support
 

My Computer

System One

  • OS
    win10

Latest Support Threads

Back
Top Bottom