Change Library Icons in Windows 7 (And Many Other Icons)


How to change library iconToday, we received a question from Jonathan. He’s having issues with a library icon that changed for no reason. If you want to change the library icon(s) in Windows 7 or restore the original library icon, follow the instructions after the break.


Quick Links (Extensive Reading Material)

Before you start following this tutorial, you might also want to take a closer look at our other tutorials that are very closely related:

If you are having problems with your libary icons changing randomly like Jonathan, please scroll down for the last part of the tutorial or click here

Tip: If you want to modify the main library icon, follow this tutorial. If you want to change the icon of the different libraries (pictures, videos, documents, downloads, etc.) you should first check out the list of images stored in imageres.dll - in particular the icons 169-192. Then, you should download a resource editor for Windows 7 and replace the images stored in imagres.dll. Replacing the imagres.dll can be difficult, but with the help of our many tutorials (e.g. replace shell32.dll) this is doable.

Change Main Library Icon

1. Open an elevated registry editor. To do that simply enter regedit into the search field and right-click on regedit.exe, then click on Run as administrator.

2. Uncollapse HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\DefaultIcon

How to do that? Select HKEY_CLASSES_ROOT, then click on the black arrow. Enter CLSID on your keyboard (quickly or it wont work) and it will directly jump to that registry key. Then enter {031 and it will directly jump to it.

3. Right-click on the folder DefaultIcon and click on Permissions
Change Registry Key Permissions

4. Select the user account Administrators  (Administratoren) and check Full Control, then click on Apply

Registry Key Full Control

5. Repeat the step 4 for User (Benutzer)

6. In the left pane make sure the registry folder DefaultIcon is selected. In the right pane there should be an entry called (Default). Double-click on that entry Default:

Change library icon in Windows 7

7a) If you want to restore the original library icon insert the path %SystemRoot%\system32\imageres.dll,-1023

7b) If you want to change the library icon because the default library icon doesn’t fit your current shell style or you simply don’t like the look of it, you can simply enter a path to your icon, e.g. C:\Users\sOliver\Pictures\icon.ico

New Library Icon

IMPORTANT: You need to use an .ico file for the icon and it needs to be 256×256 pixel large. Also, you may NOT move the ico file or you will lose the library icon.

8. Restart the explorer.exe (kill process explorer.exe via task manager, then start a new explorer.exe instance via CTRL + R, simply enter explorer.exe) to refresh your library icon

9. If you are on Windows 7 64-bit follow the steps above for the registry key HKEY_Local_Machine\Software\Wow6432Node\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\DefaultIcon

Tried To Restore Default Library Icon? Didn’t Work? Try This

If you followed the instructions above and entered the path %SystemRoot%\system32\imageres.dll,-1023 to restore the original library icon, try this.

Tip: Please read all steps above again (very carefully) and make sure that the registry key Default actually changes after a Reboot. If it does not change the path, then it will not work.

1. First Reboot
2. After a reboot, make sure to clear the icon cache
3. Still no luck? Try to restore the original Windows system files using the command sfc.exe /scannow in a command prompt. For more information about sfc.exe, please read the article: Use sfc.exe to repair system files
4. Still no luck? Verify that the file imageres.dll actually was restored properly and contains the default library icon. You can look inside a DLL file by using a resource editor for Windows 7


Or you might like these sexy wallpaper, tweaks and themes:

Written by oliversk Tuesday, January 18th, 2011

Was it helpful? Please bookmark it and spread the word

delicious   facebook   google   twitter  

You love Windows, Gaming and everything digital? Great, we too! We have thousands of great Windows 7 themes, registry tweaks, tutorials, so please use our search box if you look for anything specific. If you have some awesome desktop themes, tips or want to write for us, then drop us a mail: win7themes at googlemail.com

One Response to Change Library Icons in Windows 7 (And Many Other Icons)

  1. Sindara said:

    It just keeps telling me “Error writing the value’s new content”

    I was also wondering if you can get the image as the pinned icon too

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>