Rebuild Icon Cache in Windows 10  

Page 12 of 18 FirstFirst ... 21011121314 ... LastLast

  1. Posts : 68,652
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #110

    Hogtowner said:
    Yet again, my bacon saved by Brink! Thanks guy.
    I'm glad it could help Don. :)
      My Computers


  2. Posts : 48
    Windows 10 Home 64bit
       #111

    This would appear to be my last resort. To recap from my original thread, I turned my computer on this morning and all my desktop, task bar(clickable and working), 'This PC', Drive and File icons were all gone, only the descriptive text was remaining and clickable.

    I quote from my thread:
    There is other weirdness in that I can right click on the icons but 'properties', for instance, will not work and when I go in 'This PC' weird black bits appear in the menu on the left. Also, when I save to my E: drive, I can actually see my file icons displayed in the 'Save as' box but not when I actually navigate to the drive, only the description below where the icons should be.

    The last thing I did before turning the PC off last night was run Super AntiSpyware and Spyware Terminator and then play a bit of Battlefield 1.

    The only thing I've done to try and rectify this is do a restore to two days ago but it has had no effect.





    I've tried the 'How To' article, I've tried Winaero and I've tried the Option 1 and 2 at the start of this thread but to no avail.

    Any ideas?

    Tom.
      My Computer


  3. Posts : 68,652
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #112

    Hello Tom, :)

    You could try doing a repair install to fix it without losing anything.

    Repair Install Windows 10 with an In-place Upgrade Installation Upgrade Tutorials
      My Computers


  4. Posts : 48
    Windows 10 Home 64bit
       #113

    Brink,
    Yes, I have done that and it has been a complete success!

    Thanks to yourself and again to those who helped me out on my original thread for this problem.

    Much appreciated,
    Tom.
      My Computer


  5. Posts : 68,652
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #114

    You're most welcome Tom. :)
      My Computers


  6. Posts : 6,788
    22H2 64 Bit Pro
       #115

    ddelo said:
    Hi Shawn :)
    I have been using your bat file, from the seveforums days, to Rebuild the Icon Cache.
    In Windows 10, MS seems to have added all those iconcache_*.db that also need to be deleted.... That's where the problem starts with the script.
    Running the bat from your first post, as admin of course, the following files get an "Access is denied" message and are not deleted.

    • iconcache_16.db
    • iconcache_256.db
    • iconcache_48.db
    • iconcache_idx.db


    If I restart the PC (by pressing y) and immediately after boot run the script again, this second time around seems to be working. i.e. no "Access is denied" to any file. It gets a little annoying to have to run the script twice (which means 2 reboots) to get the job done.

    Any ideas?

    Dimitri
    I have the same issue:

    Rebuild Icon Cache in Windows 10-access-denied.jpg

    I've been force deleting the stubborn files on boot but I just figured out what the problem is for me.

    Find handles:


    Rebuild Icon Cache in Windows 10-find-handles-dlls.jpg

    Files are locked by a start menu replacement. Exiting the program allows the script to run without issues.
      My Computer


  7. Posts : 68,652
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #116

    It's normal for those .db files to get a "access denied" message. Nothing to worry about.
      My Computers


  8. Posts : 215
    Windows 10 Home x64
       #117

    This solution worked for an issue I was having with Forza icons from the Windows Store both on Start and in the app list.
      My Computer


  9. Posts : 68,652
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #118

    I'm glad it was able to help Andy.
      My Computers


  10. Posts : 2,450
    Windows 10 Pro x64
       #119

    Hi Shawn @Brink

    I think there is a small glitch in the bat file of the tutorial.

    After checking for the existence of the Iconcache.db file, if it doesn't exist it goes to restart, without deleting the %localappdata%\Microsoft\Windows\Explorer\iconcache* files.
    If I’m not mistaken (in which case I apologize), Windows 10 use the %localappdata%\Microsoft\Windows\Explorer\iconcache* files for icon cache, whereas the Iconache.db has been left for “compatibility reasons” and Windows 10 can function without it…

    So I took the liberty to propose some small changes in the bat file of the tutorial.

    Code:
    :: Created by: Shawn Brink
    :: Created on: April 27th 2015
    :: Tutorial: https://www.tenforums.com/tutorials/5645-icon-cache-rebuild-windows-10-a.html
    
    
    @echo off
    set iconcache=%localappdata%\IconCache.db
    set iconcache_x=%localappdata%\Microsoft\Windows\Explorer\iconcache*
    
    echo.
    echo The explorer process must be temporarily killed before deleting the IconCache.db file. 
    echo.
    echo Please SAVE ALL OPEN WORK before continuing.
    echo.
    pause
    echo.
    If exist "%iconcache%" goto delete
    echo.
    echo The %localappdata%\IconCache.db file has already been deleted.
    echo. 
    If exist "%iconcache_x%" goto delete
    echo.
    echo The %localappdata%\Microsoft\Windows\Explorer\IconCache_*.db files have already been deleted.
    echo.
    exit /B
    
    
    :delete
    echo.
    echo Attempting to delete IconCache.db files...
    echo.
    ie4uinit.exe -show
    taskkill /IM explorer.exe /F 
    If exist del /A /F /Q "%iconcache%"
    If exist del /A /F /Q "%iconcache_x%"
    start explorer.exe
    echo.
    echo IconCache database files have been successfully deleted.
    goto restart
    
    
    :restart
    echo.
    echo.
    echo You will need to restart the PC to finish rebuilding your icon cache.
    echo.
    CHOICE /C:YN /M "Do you want to restart the PC now?"
    IF ERRORLEVEL 2 goto no
    IF ERRORLEVEL 1 goto yes
    
    :yes
    shutdown /r /f /t 00
    
    :no
    exit /B

    If you can find the time to take a look, please update the tutorial, in case you deem it necessary.

    And a final thing… (again subject to your approval)
    The command ie4uinit.exe –show, is used to refresh the icon cache. While not hurting anything to be there, it seems redundant since we are deleting all the cache files.

    Cheers. Dimitri
    Last edited by ddelo; 11 Oct 2018 at 18:41. Reason: Update delete commands
      My Computer


 

Tutorial Categories

Rebuild Icon Cache in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:46.
Find Us




Windows 10 Forums