How to Customize the Library Icons in Windows 7

Windows 7 does not provide a GUI to change the icons shown for Libraries, and the Libraries don’t use the icon references provided in the desktop.ini file. Here is a nice way to customize the Library icons in Windows 7.

Thanks to Bogo for this excellent tip!

Changing the Library icon in Windows 7

1. Start Notepad

2. Click Start, type the following path and press ENTER:

%AppData%\Microsoft\Windows\Libraries

3. Drag the library (for which you want to change the icon) into the Notepad window.

4. Add the following entry after the line <isLibraryPinned>

<iconReference>Path-to-Icon</iconReference>

For example, to assign the 84th icon (index starts from 0) from Shell32.dll, type the following line:

<iconReference>SHELL32.DLL,84</iconReference>

Note: The <iconReference> line may already exist for the default Libraries. For custom Libraries, you need to add it manually.

5. Save the file and close Notepad. Press F5 to refresh the Libraries window to see if the Library icon has changed.


Related Posts


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

6 Comments

  1. said this on Thursday, March 10th 2011 1:07 pm

    @zmin: I have that problem too. doesn’t anyone know how to make it display at all the icon sizes available in the ico file. ie. all the way up 128 exists but is not being displayed and it also has a grey square around it.

  2. Ngarkat
    said this on Thursday, October 14th 2010 5:31 am

    Excellent . Worked a treat:)

  3. Jason
    said this on Thursday, July 15th 2010 11:19 pm

    I can’t paste any Library on to Notepad, i did it once, and can’t do it anymore…
    Anybody know why? I also rebooted the PC and nothing…

  4. Jennifer
    said this on Tuesday, March 23rd 2010 11:25 pm

    doesn’t work for Windows 7…

  5. said this on Friday, March 5th 2010 7:53 pm

    external icons only get displayed at 32×32 :( please help

  6. said this on Wednesday, November 11th 2009 6:30 am

    You can use this free utility to change library icons, and also add network locations and a few other things:

    http://zornsoftware.talsit.info/?p=3

Leave a Reply