Connect with us

How to Change the Library Icons in Windows 7

Windows 7

How to Change the Library Icons in Windows 7

Libraries are one of the new features added to Windows 7. We have covered a in depth tutorial on how to use and manage libraries. In this tutorial we will cover on simple steps to change the default icons of libraries. Libraries are in fact collection of (or a pointer to) folders and files from different locations for better file management. You can create your own libraries and add location to it. You can also change the default icon assigned to the libraries.

Windows 7

1. First step is to create your own library and add all the index locations. Now navigate to this location, C:UsersUSERNAMEAppDataRoamingMicrosoftWindowsLibraries. Change the USERNAME to the actual user name on your PC.

2. In the next step, open notepad and drag and drop the library icon on to notepad. Drag and drop the library for which you want to change the icon.

Drag and Drop Library

Notepad will contain text similar to the one shown below.


3. Now go the folder where you have the new icons saved. Make sure that you use only .ico files, no other format will be supported. Hold the shift key and right click and select the option “Copy as Path”. Alternatively you can also copy the path of the file from the explorer navigation bar.

Copy as Path

4. In the file opened in notepad, paste this line of code, <iconReference>ICON PATH HERE</iconReference>. Replace ICON PATH HERE with the path of the icon file copied. Paste this just below </isLibraryPinned> tag.

Add new icon path

5. Save and close the file and now you can see the new icon in effect on the library.

New icon

Related: Windows 7 Libraries complete Guide

Continue Reading

Nirmal is a Technology Blogger and a Microsoft MVP in Windows. He can be contacted at You can find Nirmal on , and .



  1. alexanderd

    October 25, 2009 at 8:10 pm

    having got estatic when i found your web site and article on how to change Library Icons i now feel deflated. I got as far as stage 2 and found that i could not drag and drop the library Icon on to note pad!!!!
    what have i done wrong or not done? Looking at your explanation on how to achieve this i was looking forward to some great icons.

  2. Nirmal

    October 26, 2009 at 7:06 am


    If you are not able todrag and drop the icons, then you might not have navigated to the specified folder. Are you trying to drag and drop from the libraries folder? Please check the path Ihave mentioned, copy the path highlighted in the post, change to your username and then paste it in the explorer. It should work.

  3. Pingback: Windows 7: come cambiare le icone delle raccolte - Geekissimo

  4. Pingback: Change Library Icons in Windows 7

  5. Pingback: How to Change Default Library Icon in Windows 7 | Windows 7 hacker

  6. Pingback: Ultimate Windows 7 Resource Guide | Technology Juice

  7. Jason

    July 15, 2010 at 11:30 pm

    I did it once, and work perfectly
    Tryed to do it again and im unable to drop on to Notepad…
    I tryed rebooting
    Any help please? Thank you in advance

  8. Schattenspieler

    January 16, 2011 at 1:54 am

    EXE files can also be used as icon source, but you may have to identify the icon you want to use – just as it is done in desktop.ini files, e.g.:

    C:\Program Files\Microsoft Games\Chess\Chess.exe,0

  9. Schattenspieler

    January 16, 2011 at 1:58 am

    Oh, and for those having problems dragging the libs onto notepad: stick notepad to the taskbar, stick the lib do notepad, rightclick on notepad in the taskbar and open the now listet lib-file

  10. Pingback: How to Change Default Library Icon in Windows 7 | Next of Windows

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More in Windows 7

Recent Articles


Trending Articles

Latest in Windows 10

Subscribe to YouTube Channel

Like Us on Facebook


To Top