windows xp - How to edit shell32.dll? How to add custom pictures/icons into shell32.dll?

  • InfantPro'Aravind'

    I want to create an icon for my folder named "TOOLS", as you can observe there is no suitable/satisfying icon available in Windows XP, so I want to create an icon and include it in icon list.

    Is it possible with any such supporting softwares.??

  • Answers
  • Tobias Kienzler

    You don't need to modify shell32.dll just for that, storing a separate .ico file should suffice. Just modify the desktop.ini in your TOOLS folder. (see e.g. here)

  • Mehper C. Palavuzlar

    You can edit your shell32.dll file. However, I don't recommend this.

    The icons in shell32.dll can be changed using a Resource Editor (Resource Hacker, Exescope, etc.). As I said, I don't recommend editing it as it is a very sensitive system file. Here is a tutorial about how to do it with Resource Hacker. Take your own risk.

    You can also use Microangelo Librarian (shareware) to change existing icons in shell32.dll. First make a copy of shell32.dll, and import it into Microangelo Librarian. Then edit any existing shell32 icons into whatever you want, save, exit, and replace the real shell32.dll with your modified copy.

  • James Alan Brown

    First you need "Resource Hacker" to edit you Shell32.dll file icons. In order to save the changes you need to save the file as the same name but in a different directory. Then you need to run "Se7en File replacer.exe" Get you edited file from the directory you saved it into and then select Windows\System32 and it will copy it into that directory.

  • Dima

    You can use iconlover to edit icons inside DLL.

  • Related Question

    folder - How to change Hard Drive icons on Windows XP
  • Am1rr3zA

    I would like to know how can I change a Hard Drive icon under Windows XP. I know how to change folder icons, but how is it done for a Drive icon?

  • Related Answers
  • a_m0d

    Okay, the way to do it with a removable drive (not sure if this works with, e.g. your hard drive), is to make an autorun.inf file in the root of the drive with these contents (e.g. in E:)


    where drive.ico is the file name of the icon you want for your drive. Note that it should probably be on the same drive as the autorun file. You may wish to hide the icon file - this won't affect the display of the icon in any way.

  • Kez

    There is an article here on how to do this. Steps below:

    To change a drive icon:

    1. Click Start | Run | Type regedit and click OK
    2. Navigate to: HKEY_LOCAL_MACHINE | SOFTWARE | Microsoft | Windows | CurrentVersion | Explorer
    3. Create a new key called DriveIcons
    4. Under DriveIcons create a new key with the drive letter (e.g. C)
    5. Within this drive letter key create a new key and name DefaultIcon.
    6. Give the default value, the icon you want to use e.g. c:\windows\system32/shell32.dll,74