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

    • With how far Tim Apple's head has been up Trump's ass, there's no way this was done reluctantly.
    • Like the article stated, it's written completely from scratch, unlike the umpteen Chromium clones. It got its start as the browser built-in to the also written-from-scratch SerenityOS.
    • Hello, From looking at the screen shots in your motherboard's manual at https://endownload.colorful.cn/EnDownload/MotherBroard/2022/Intel 600/Manual/Intel 600 Series BIOS English/Intel 600 Series BIOS User Guide.pdf, you go to the ADVANCED option at the top of the BIOS (UEFI) menu, then select SECURITY in the list of options on the left.  From there  you can enable and set the Secure Boot mode. Regards, Aryeh Goretsky  
    • Final Fantasy VII Remake Part 3 is getting a simultaneous release across PC and all consoles by Pulasthi Ariyasinghe Square Enix showed up to the Summer Game Fest presentation today with multiple trailers showing off its next chapter in the Final Fantasy VII Remake saga. The final chapter of this trilogy now has an official name too, with it being dubbed Final Fantasy VII Revelation, following up Final Fantasy VII Remake and Final Fantasy VII Rebirth from recent years. Vincent Valentine, Cid, Cloud, Barret, Tifa, and more showed up in the trailers as they battle against enemies, or 'Weapons,' from the final chapter. "As the world teeters on the brink of annihilation, the final battle against Sephiroth begins," says the trailer description. "A meteor mars the sky, monstrous planetary guardians wreak havoc across the globe, and the fires of war rage. Now, Cloud and his companions must stand against this chaos to not only decide the planet's fate, but bring a legendary conflict to its conclusion." Following the reveal trailer, the show also dropped some gameplay footage that shows off a new way to travel across the open world using the Highwind airship. Players will be able to swap characters on during battles, use tactical mode to synchronize with allies, and summon their entities. Cid Highwind and Vincent Valentine are joining the party this time too. “FINAL FANTASY VII, first released in 1997, has been beloved by fans for many years and has since become a “legend” in its own right," added producer Yoshinori Kitase. "The FINAL FANTASY VII Remake Series that began in 2020 with everyone’s passionate support is finally reaching its climactic finale with FINAL FANTASY VII REVELATION. The story’s final destination represents my emotions spanning thirty years working on this title" One of the biggest revelations of this announcement, however, was the multiplatform release confirmation from the get-go. Square Enix will be releasing Final Fantasy VII Revelation across PC, Xbox Series X|S, Nintendo Switch 2, and PlayStation 5 in Spring 2027 without any timed exclusivity programs.
    • Hello, Having a simple utility to allow Microsoft's customers to configure the context menu, with a few options like showing the current menu, showing a proposed menu/alternate configurations, loading and saving the settings, and a "reset to default" option would have solved this. Let Microsoft provide a recommended default look-and-feel, maybe a couple alternative configurations, like a basic/simplified version of that, and a more advanced version for that, and that would have been very well-received, I think. Microsoft could even had offered a library of different configurations, similar to what they have done in the past for Windows Media Player skins, Themes, and desktop wallpaper. Regards, Aryeh Goretsky
  • Recent Achievements

    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • 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
  • Popular Contributors

    1. 1
      +primortal
      482
    2. 2
      PsYcHoKiLLa
      269
    3. 3
      Skyfrog
      78
    4. 4
      Steven P.
      68
    5. 5
      +Edouard
      61
  • Tell a friend

    Love Neowin? Tell a friend!