Icon Cache - Rebuild

Page 21 of 30 FirstFirst ... 111920212223 ... LastLast

  1. Posts : 29
    Windows 7 Home Premium (64bit)
       #200

    reset icons without restart?


    I'm not sure if this belongs here, but this is the closest thread I've found.

    I frequently create Internet Shortcuts (.lnk files) and move them to a server on my network to make them available from any of the computers on my network - but Firefox (which is what I use for most of my Internet browsing) insists on making the shortcut's icon specific to both the Web site it refers to (by saving a copy of each site's favicon) and to the computer that created the shortcut (by pointing the shortcut to a randomly-named file on the local computer). Obviously, this breaks when you're viewing the shortcut from a different computer than the one that created it, so I edit the shortcut files to remove this unnecessary information. The problem is, after editing, the file still looks the same on the Windows 7 desktop. If I move or rename the file, the icon changes to reflect my editing, but if I move it back, the old icon comes back. Windows 8 doesn't have this problem; apparently it knows to re-initialize the icon information when the file is edited, but Windows 7 doesn't. I don't have to do anything other than restart the computer to clear this up, but it's awfully inconvenient to restart the computer every time I create a shortcut. Is there any way (short of restarting) to force Windows 7 to reread the innards to the .lnk file?

    Example:
    Icon Cache - Rebuild-icons.png
    Internal text of .lnk file:
    Code:
    [InternetShortcut]
    URL=https://www.sevenforums.com/tutorials/49819-icon-cache-rebuild-20.html
    IDList=
    HotKey=0
    IconFile=C:\Users\{me}\AppData\Local\Mozilla\Firefox\Profiles\{my}\shortcutCache\{random}==.ico
    IconIndex=0
      My Computer


  2. Posts : 70,200
    64-bit Windows 10 Pro
    Thread Starter
       #201

    Hello TBugReporter,

    You might see if using the command below to only clear the icon cache may be able to do this for you without having to restart the PC. If it works, then you could create a .bat file with it to make it easy to use as needed.

    ie4uinit.exe -ClearIconCache
      My Computer


  3. Posts : 29
    Windows 7 Home Premium (64bit)
       #202

    Brink said:
    You might see if using the command below to only clear the icon cache may be able to do this for you without having to restart the PC. If it works, then you could create a .bat file with it to make it easy to use as needed.

    ie4uinit.exe -ClearIconCache
    For the record, that works. Thanks.
      My Computer


  4. Posts : 70,200
    64-bit Windows 10 Pro
    Thread Starter
       #203

    You're most welcome TBugReporter. Thank you for posting back with your results. :)
      My Computer


  5. Posts : 312
    Windows 7 Professional SP1 x64 (OEM)
       #204

    Reposting for results.

    kathy025 said:
    I just want to confirm the script (.bat) from Option One of the tutorial worked like a charm. Nice! :)

    I came across undefined icons just moments back for two programs (i.e. LINE and Wise Registry Cleaner) and now they're back to normal after running the script.

      My Computer


  6. Posts : 1
    Windows 7 x64
       #205

    I had to join to say THANKS! This works great! I have been struggling with missing icons for about a year now. Awesome!
      My Computer


  7. Posts : 70,200
    64-bit Windows 10 Pro
    Thread Starter
       #206

    I'm happy to hear that it was able to help professorman, and welcome to Seven Forums. :)
      My Computer


  8. Posts : 1
    Windows 7 ultimate x64 on Boot Camp
       #207

    Does anyone know if rebuilding the cache would fix excel/powerpoint icons?

    Here is what mine look like Along with word, and access files for comparison.

    Last edited by Brink; 27 Feb 2014 at 14:48. Reason: fixed image
      My Computer


  9. Posts : 70,200
    64-bit Windows 10 Pro
    Thread Starter
       #208

    Hello Erick, and welcome to Seven Forums.

    It could be an association issue instead. As a test, right click on the .pptx file, click on Open with, and select Power Point to be the default program.

    Open With - Change Default Program

    If the icon still doesn't show with Power Point set as it's default program, then see if rebuilding the icon cache may help.

    Hope this helps, :)
    Shawn
      My Computer


  10. Posts : 6
    Dual-Boot WinXPP (x32), Win 7 Ent (x64)
       #209

    Much appreciated


    I elected to perform the manual procedure - worked like a charm!

    Thanks!
      My Computer


 
Page 21 of 30 FirstFirst ... 111920212223 ... LastLast

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

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