Recommended Posts

Hi,

I was trying to move the location of the shell folders (Documents, Pictures, Music and Videos) to a different drive, but I somehow borked it up. I fixed that by going to the following registry key

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

and changing the paths to the respective folders.

I now can access them again, but their original icons (green folder with unique identifying overlay) aren't there anymore. See below screenshot...

homefolder.png

How do I get back the original icons? If this were in XP, I could rebuild the icon cache. Is this still possible in Vista? How else can I get back the original icons?

Thanks!

Link to comment
https://www.neowin.net/forum/topic/565058-restore-shell-folder-icons/
Share on other sites

Nevermind, found the solution to my problem. Took a good 1hr of searching though.

[source]

Symptom

When you open Windows Explorer, the shell folders such as Documents and Pictures may be displayed with a standard folder icon rather than the special folder icons.

Resolution

This behavior can occur when the desktop.ini file in the shell folder is missing or incorrect, or it has no attributes set. The default contents of the desktop.ini file for various shell folders in Windows Vista are given below. In each shell folder that's missing the special icon, create a file named desktop.ini and paste the content corresponding to the shell folder.

Then right-click the file desktop.ini and choose Properties. Place a checkmark near Hidden attribute, and click OK. Logoff and login again for the changes to take effect.

Desktop.ini contents for various shell folders in Windows Vista

Documents

[.ShellClassInfo]

LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770

IconResource=%SystemRoot%\system32\imageres.dll,-112

IconFile=%SystemRoot%\system32\shell32.dll

IconIndex=-235

Pictures

[.ShellClassInfo]

LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779

InfoTip=@%SystemRoot%\system32\shell32.dll,-12688

IconResource=%SystemRoot%\system32\imageres.dll,-113

IconFile=%SystemRoot%\system32\shell32.dll

IconIndex=-236

[LocalizedFileNames]

Sample Pictures.lnk=@%SystemRoot%\system32\shell32.dll,-21805

Music

[.ShellClassInfo]

LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21790

InfoTip=@%SystemRoot%\system32\shell32.dll,-12689

IconResource=%SystemRoot%\system32\imageres.dll,-108

IconFile=%SystemRoot%\system32\shell32.dll

IconIndex=-237

[LocalizedFileNames]

Sample Music.lnk=@%SystemRoot%\system32\shell32.dll,-21806

Videos

[.ShellClassInfo]

LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21791

InfoTip=@%SystemRoot%\system32\shell32.dll,-12690

IconResource=%SystemRoot%\system32\imageres.dll,-189

IconFile=%SystemRoot%\system32\shell32.dll

IconIndex=-238

[LocalizedFileNames]

Sample Videos.lnk=@%SystemRoot%\system32\shell32.dll,-21807

Searches

[.ShellClassInfo]

LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-9031

IconResource=%SystemRoot%\system32\imageres.dll,-18

[LocalizedFileNames]

Indexed [email protected],-32811

[email protected],-32814

Shared By [email protected],-32802

Recent [email protected],-32803

Recent [email protected],-32804

Recent Pictures and [email protected],-32806

Recent [email protected],-32807

Recently [email protected],-32813

Downloads

[.ShellClassInfo]

LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21798

IconResource=%SystemRoot%\system32\imageres.dll,-184

Favorites

[.ShellClassInfo]

LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21796

IconResource=%SystemRoot%\system32\imageres.dll,-115

IconFile=%SystemRoot%\system32\shell32.dll

IconIndex=-173

Contacts

[.ShellClassInfo]

LocalizedResourceName=@%CommonProgramFiles%\system\wab32res.dll,-10100

InfoTip=@%CommonProgramFiles%\system\wab32res.dll,-10200

IconResource=%SystemRoot%\system32\imageres.dll,-181

I definitely need to be more careful when I'm fooling around with Vista given how new it is and not everyone knows how to fix things...

cheers!

  • 3 months later...
  • 2 weeks later...

Hi Guys,

thanks for the great info.

I have a problem regarding my standard folder icon, no matter where I am in windows.

If I try to use list view or detail view I get an icon like you'd get if you didn't have a program associated with a file (see attached jpg).

This happened because I had attempted hacking imageres.dll. My computer is working fine all the way around with the exception of this folder icon issue. I did revert back to the original imageres.dll and I have not disabled UAC.

If I'm posting in the wrong place, please move the post - and if I sound like an idiot - oops :)

Can anyone help?

post-201535-1190665215_thumb.jpg

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Happens to the best of us, bro. 😛 
    • Thanks to some of the other recent Windows improvements, I'm optimistic about this one. My quick wishlist would be: perf like the older menu, merge both menus or at the very least, the older menu should be a flyout, not a simulated click to the old menu, and lastly, a customization window to let users move items from one menu to another, so I could bring Send To back to the main menu, and the OneDrive settings to the older.
    • This Gigabyte AMD RX 9070 XT is very good deal despite the launch of 9070 GRE by Sayan Sen Recently we reviewed AMD's latest 1440p gaming card, the Radeon RX 9070 GRE 12GB, for $549. The card is in stock too at that price, though if you want significantly better performance and don't mind spending a bit more, the Gigabyte Gaming model of RX 9070 XT is currently on sale for just $650 (purchase link under the specs table down below). The card employs Gigabyte's WINDFORCE cooling system which combines multiple design elements such as alternate-spinning Hawk fans, a vapor chamber, and composite heat pipes to manage heat dissipation. The Server-grade Thermal conductive gel further helps in this department. The inclusion of a semi-passive cooling mode allows the fans to remain inactive under low workloads, which allows for reduced noise operation during lighter usage. There is dual BIOS switch that allows toggling between performance and silent modes. The technical specifications of the Gigabyte Radeon RX 9070 XT GAMING OC 16G are given in the table below: Specification Value Core Clock Boost Clock: up to 3060 MHz Game Clock: up to 2520 MHz Stream Processors 4096 Memory Clock 20 Gbps Memory Size 16GB Memory Type GDDR6 Memory Bus 256-bit Card Bus Interface PCI Express 5.0 Maximum Resolution 7680 × 4320 Multi-View Support 4 displays Card Dimensions L=288 mm, W=132 mm, H=56 mm Recommended Power Supply 750W Power Connectors 3 × 8-pin Video Outputs 2 × DisplayPort 2.1a 2 × HDMI 2.1b Get it at the link below: GIGABYTE Radeon RX 9070 XT Gaming OC 16GB Graphics Card, GV-R9070XTGAMING OC: $649.99 (Sold and Shipped by Amazon US) (Was: $740) This Amazon deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • Why does this kind of tactic not surprise me?
    • They used AI based TOOLS to convert the JavaScript engine (the main rendering engine is still C++) and it was not fully automated but was human reviewed. Other subsystems will be looked into to also be converted to Rust in the future. I have no problem with any of that.
  • Recent Achievements

    • One Year In
      CHUNWEI earned a badge
      One Year In
    • Conversation Starter
      FBSPL earned a badge
      Conversation Starter
    • Week One Done
      I2D earned a badge
      Week One Done
    • Week One Done
      Dr Jared Dental Studio earned a badge
      Week One Done
    • Week One Done
      RG INVESTMENT GROUP earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      462
    2. 2
      PsYcHoKiLLa
      252
    3. 3
      Skyfrog
      80
    4. 4
      FloatingFatMan
      63
    5. 5
      Michael Scrip
      62
  • Tell a friend

    Love Neowin? Tell a friend!