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

    • Adobe Acrobat Reader DC 2026.001.21651 by Razvan Serea Adobe Acrobat Reader DC software is the free, trusted standard for viewing, printing, signing, and annotating PDFs. Its the only PDF viewer that can open and interact with all types of PDF content – including forms and multimedia. It’s connected to Adobe Document Cloud – so you can work with PDFs on computers and mobile devices. Adobe Document Cloud is a revolutionary, modern and efficient way to get work done with documents in the office, at home or on-the-go. At the heart of Document Cloud is the all-new Adobe Acrobat DC, which will take e-signatures mainstream by delivering free e-signing with every individual subscription. Document Cloud includes a set of integrated services that use a consistent online profile and personal document hub. With Adobe Document Cloud, people will be able to create, review, approve, sign and track documents whether on a desktop or mobile device. Businesses will be able to take advantage of Document Cloud for enterprise which provides enterprise-class document services that integrate into systems of record such as CRM, HCM, CLM, and CMS, adding speed, efficiency and transparency to getting business done with documents. Adobe Acrobat Reader DC new feature highlights: Work with PDFs from anywhere with the new, free Acrobat DC mobile app for Android or iOS. Select functionality is also available on Windows Phone. Use the new Fill & Sign tool in your desktop software to complete PDF forms fast with smart autofill. Download the free Adobe Fill & Sign mobile app to add the same option to your iPad or Android tablet device. Save money on ink and toner when printing from your Windows PC. Store and access files in Adobe Document Cloud with 5GB of free storage. Get instant access to recent files across desktop, web, and mobile devices with Mobile Link. Sync your Fill & Sign autofill collection across desktop, web, and iPad devices. Adobe PDF Pack premium features includes: Convert documents and images to PDF files. Use your mobile device camera to take a picture of a paper document or form and convert it to PDF. Turn PDFs into editable Microsoft Word, Excel, PowerPoint, or RTF files. Combine multiple files into a single PDF (web only). Get signatures from others with a complete e-signature service. Send, track, and confirm delivery of documents electronically instead of using fax or overnight services (tracking not available on mobile). Store and access files online with 20GB of storage. Download: Adobe Acrobat Reader DC 64-bit | 719.0 MB (Freeware) Link: Adobe Acrobat Reader DC Home Page | Release Notes | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • The consumer ESU is ending in 4 months. LTSC isn't now, never has been, and never will be for consumer use, it is for OT usage - plant machinery, medical devices, manufacturing equipment etc. LTSC requires a Microsoft EA. You can't legally obtain LTSC to run on your PC at home.
    • Hmm actually looks decently interesting!  
    • Being on GitHub doesn't make something safe. Like any unofficial scripts to do x or y this caters to people with just enough knowledge to be dangerous. If you want to do what this does, and you actually know what you're doing then write your own script (or maybe just add the reg keys yourself) if you don't have the ability to read and understand what a script is doing, and especially don't run it with elevated privileges. Or in this case just use an MSA, sign up the normal route, and stop trying to push water up hill
  • Recent Achievements

    • Week One Done
      JKR earned a badge
      Week One Done
    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • One Year In
      CHUNWEI earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      490
    2. 2
      PsYcHoKiLLa
      271
    3. 3
      Skyfrog
      75
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      64
  • Tell a friend

    Love Neowin? Tell a friend!