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.

About the author

Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.

6 thoughts on “How to Customize the Library Icons in Windows 7

  1. @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. 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…

Comments are closed.

+1
Share
Tweet
Share
Pin