• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Performance & Maintenance Icon Cache - Rebuild

Brink

Staff member
mvp
Messages
32,199
Location
Oklahoma, USA
Icon Cache - Rebuild How to Rebuild the Icon Cache in Vista
This will show you how to delete the icon cache, to clear it, so Vista will rebuild it after a restart.
Published by Brink Category: Performance & Maintenance 
#1
ByLine
How to Rebuild the Icon Cache in Vista
Synopsis
This will show you how to delete the icon cache, to clear it, so Vista will rebuild it after a restart.
How to Rebuild the Icon Cache in Vista


information   Information
If you have any icons that are not displaying correctly in Vista, then rebuilding the icon cache will reset them. This will show you how to delete the icon cache, to clear it, so Vista will rebuild it after a restart.

The icon cache is located at the hidden system folder location below:

C:\Users\User-Name\AppData\Local\IconCache.db

Note   Note

  • This does not change the icons. It only clears the icon cache to get rid of any corruption and rebuilds the icon cache with the correct icons again.
  • If this is for a internet URL icons (favicons), in IE7 Favorites for example, then you will need to delete the Temporary Internet Files to reset these icons instead. For how, see: How to Delete the Internet Explorer Browsing History in Vista
Tip   Tip
If you only have problems with a particular file (file extension type) icon, then it may be a default association problem instead. The file extension will show the icon for the program that it is associated to. This happens when a program and file extenstion has lost their default associations with each other, or associated to a wrong program instead. To resolve this, either make sure that you have all of the default associations set for the program that the file extension is for, or make sure that you have the correct default program associated with the file extension type. For how to do this, see: How to Set Default Associations For a Program in Vista or How to Associate a Individual File Extension Type With a Program in Vista





OPTION ONE
Automatically Rebuild the Icon Cache

1. Click on the download button below to download the file below.​
Rebuild_Icon_Cache.bat
download

2. Save the file to your desktop, and run it.​
3. Click/tap on Run when prompted.​
4. Follow the instructions in the command prompt to rebuild the Icon Cache.​
5. Restart your computer to generate a new IconCache.db file.​
6. If the icons are still not displaying properly, then download and merge the ICO option in this tutorial to restore the default associations of .ico (icon) files.​



OPTION TWO
To Manually Rebuild the Icon Cache using the Command Prompt

1. Close and save anything that you are working on. This command will kill explorer and restart the computer when completed.​
2. Open the Start Menu, and type cmd in the search box and press enter.​
3. In the command prompt, Copy and Paste each command line below and press enter after each command.​
WARNING: The last command will restart the computer, so be sure to close and save anything that you are working on first.​
  • taskkill /IM explorer.exe /F
  • DEL "%localappdata%\IconCache.db" /A
  • shutdown /r /f /t 00
4. The IconCache.db file has now been rebuilt.​
5. If the icons are still not displaying properly, then download and merge the ICO option in this tutorial to restore the default associations of .ico (icon) files.​
That's it,
Shawn


 
Last edited:

My Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD

Benergy

New Member
Messages
10
#2
Just wanted to let you know that this one worked for me.
Lost the icon of one of my harddrives, it was replaced by a generic one.
Rebuiding the cache brought it back
Thanx,

Benergy
 

My Computer

System One

  • CPU
    Intel Q6600
    Motherboard
    Gigabyte GA-P35-DS4 (rev. 1.1)
    Memory
    4 X 1Gb Team Xtreem Dark 800
    Graphics Card(s)
    MSI RX2600XT
    Monitor(s) Displays
    Dell 2007WFP
    Screen Resolution
    1680 x 1050
    Hard Drives
    3x SAMSUNG HD321KJ
    1x SAMSUNG HD501LJ
    PSU
    Cooler Master 550W
    Case
    Antec p180

Brink

Staff member
mvp
Messages
32,199
Location
Oklahoma, USA
#3
Hi Benergy, and welcome to Vista x64 Forums. :party:

I'm glad to hear that it helped you. Thank you for the feedback.

Shawn
 

My Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD

GSi-R

New Member
Messages
69
Location
Finland
#4
Thanks for this thread, however, I tried both options, but afraid to say, neither of them sorted out my particular issue. All my icons are fine except .sis and .exe files
 

My Computer

Brink

Staff member
mvp
Messages
32,199
Location
Oklahoma, USA
#5
Hi GSI-R,

For the .exe files, try clicking on the .exe in the box here to download and use the reg file to see if it can help.

File association fixes for Windows Vista


For the .sis files, see the added Still Not Working section at the top of the tutorial and check to make sure that it has it's default program associated to it.

Shawn
 

My Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD

Brink

Staff member
mvp
Messages
32,199
Location
Oklahoma, USA
#7
Your welcome Micky.
 

My Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD

Wracky

New Member
Messages
6
#8
For some reason, all desktop icons pointing to my F: drive were dead after I installed some different SATA drivers. They still worked.

I tried the bitdepth option and it worked for me :D sure is faster than a reboot! :)

Thanks :)
 

My Computer

Brink

Staff member
mvp
Messages
32,199
Location
Oklahoma, USA
#9
Your welcome Wracky, and welcome to Vista Forums. :party:

Shawn
 

My Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD

Brink

Staff member
mvp
Messages
32,199
Location
Oklahoma, USA
#11
Hi MLBPlayer,

You can empty the Recycle Bin before or after the restart, but it would be best to wait until afterwards in case you need or want to restore the deleted IconCache.dbfor whatever reason.

Shawn
 

My Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Messages
5
#12
brink,
I emptied after restart and my missing icons didn't show up and the iconcache.db wasnt that much smaller, by a few kb. do you think it would work if I emptied the recycle bin before restart?
 

My Computer

Brink

Staff member
mvp
Messages
32,199
Location
Oklahoma, USA
#13
MLBPlayer,

It will not make any difference before or after.

What are the items that the icons are missing from?

Shawn
 

My Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Messages
5
#14
MLBPlayer,

It will not make any difference before or after.

What are the items that the icons are missing from?

Shawn
I tried the method where you delete the icon cache an not emptyingthe recycle bin before restart and it didnt work theicon missing is the c drive icon (hard drive) I I'll try the methd where you emptynthe recycle bin befre restart and I let you know how it goes
 

My Computer

Messages
5
#15
ok so i tried the method where i empty the recycle bin before restart and the hard drive icon is still not there...take a look:



its been like this since i downloaded ihound (ipod tracking software) and i moved the software thats supposed to go to the ipod to the c drive by accident and now there's no icon and its really bothering me! btw the icon cache went from 3.45mb to 3.24 mb not a big change why? thanks
 

My Computer

Brink

Staff member
mvp
Messages
32,199
Location
Oklahoma, USA
#16
MLBPlayer,

I would go ahead and change the drive icon manually back to what it should be. You can use either method in this tutorial to do it, but use C:\Windows\System32\imageres.dll,30 for the default hard drive icon path instead. If you have another icon you would prefer to use instead, then that will be fine to.

http://www.vistax64.com/tutorials/111388-drive-icon-change.html

Shawn
 

My Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD

Brink

Staff member
mvp
Messages
32,199
Location
Oklahoma, USA
#19
MLBPlayer,

I'm glad to hear that you got it to work for you now. I updated the tutorial to reflect your findings.

Thank you for the feedback,
Shawn
 

My Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Messages
1
#20
Shawn, I have about 1.5 TB of .avi files and only about half the thumbnails were showing up. I tried method 2 first because that seemed easiest. When I again cheked I now had about 80% showing thumbnails, but the rest still were not.

I then tried method #2, but made a mistake and when I rebooted I saw that the thumb nail cache db was still there though, but smaller, and I didn't have any thumbs. I deleted that file again, and rebooted and now I have no thumb nail cache db at all, and no thumbnails.

I have restarted my computer 4 times, and I have went to windows folder setting and ticked the box that says don't show thumbnail, hit apply, then unchecked and hit reply in an effort to make the thumbnails come back, but nothing works.

Do I just need to start my system a few more times, or did I screw up deleteing that cahe.db a second time?
 

My Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)