Windows 7: How To Change a Library Icon

Posted November 8, 2009 by Rob Rogers in Windows 7

Windows 7 allows you to create your own Libraries, but changing the icon is not a straight forward process. The GUI doesn’t allow for changing the icon and the desktop.ini file isn’t used. To change the icon, you just need to have the desired icon and a little help from our friend, Notepad.

1. Open Computer and go to C:\Users\your username\AppData\Roaming\Microsoft\Windows\Libraries. You can also get their by clicking the Orb and typing %AppData%\Microsoft\Windows\Libraries into the Search programs and files textbox. You should see a listing of all of your current Libraries.

2. Open Notepad.

3. Arrange your desktop so that you can view both the Windows Explorer window and Notepad.

4. Drag the Library you are customizing to Notepad.

5. Somewhere between the libraryDescription tags (I just placed it beneath the isLibraryPinned tags line), you need to add the following:
<iconReference>path_to_icon</iconReference>
Where path_to_icon is the path to the desired icon.

If there is already an iconReference tag, simply change the existing icon path to the desired path.

6. Save the file in Notepad.

7. The icon should update in Windows Explorer, if not, press F5.

 

About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.