Friday, June 9, 2017

How to Change Your Windows Library Folder Icons

Window 10


Right-Click of Library Icon and click the "Change library icon button...".
You can use any .ico file, or open imageres.dll or shell32.dll that contains icons to select from.


Window 7

Just paste the following into the start menu search box, or Explorer location bar:
%appdata%\Microsoft\Windows\Libraries
Then drag one of the icons from Explorer over to a Notepad window to open up the file.

This is InetPub Library Icon file
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8"?>
<libraryDescription xmlns="http://schemas.microsoft.com/windows/2009/library">
  <ownerSID>S-1-5-21-</ownerSID>
  <version>25</version>
  <isLibraryPinned>true</isLibraryPinned>
  <templateInfo>
    <folderType>{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}</folderType>
  </templateInfo>
  <propertyStore>
    <property name="HasModifiedLocations" type="boolean"><![CDATA[true]]></property>
  </propertyStore>
  <searchConnectorDescriptionList>
    <searchConnectorDescription>
      <isDefaultSaveLocation>true</isDefaultSaveLocation>
      <isSupported>true</isSupported>
      <simpleLocation>
        <url>C:\inetpub\wwwroot</url>

Get IconsExtract tool from Nirsoft
Choose to extract icons from imageres.dll or shell32.dll or old moricons.dll files. Below is imageres.dll open in IconsExtract












Note the number 25 for a icon you like to reference,in this case the world icon with monitor.

Add this line, with library you extracted icon from (imageres.dll) and the minus sign with the  icon reference number. 

C:\Windows\System32\imageres.dll,-25
below <isLibraryPinned>true</isLibraryPinned>
Like so


1
2
3
4
5
6
7
<?xml version="1.0" encoding="UTF-8"?>
<libraryDescription xmlns="http://schemas.microsoft.com/windows/2009/library">
  <ownerSID>S-1-5-21-</ownerSID>
  <version>25</version>
  <isLibraryPinned>true</isLibraryPinned>
  <iconReference>imageres.dll,-25</iconReference>
  <templateInfo>

Save in Notepad.

Refresh and you have your new funky Library icon.



No comments:

Post a Comment