Personalization Change Icon of Library in Windows 11


  • Staff
Libraries_banner.png

This tutorial will show you how to change the icon of a library for your account in Windows 10 and Windows 11.

Windows 7 introduced libraries, which provide users with a single, coherent view of their files even when those files are stored in different locations. Libraries can be configured and organized by a user and a library can contain folders that are found on the user's computer and also folders that have been shared over a network. Libraries present a simpler view of the underlying storage system because, to the user, the files and folders in a library are displayed in one single view location, no matter where they are actually physically stored.

In File Explorer, users interact with libraries in ways similar to how they would interact with other folders. Libraries are built upon the legacy known folders (such as Camera Roll, Documents, Music, Pictures, Saved Pictures, and Videos), and these known folders are automatically included in the default libraries and set as the default save location.

References:

You can change the the icon of a library to any custom icon you want.


Contents

  • Option One: Change Icon of New Library in Properties
  • Option Two: Change Icon of Library in Library Description schema file


EXAMPLE: Library default icons

Libraries_default_icons.png





Option One

Change Icon of New Library in Properties


1 Open Libraries in File Explorer (Win+E).

2 Perform one of the following actions: (see screenshots below)
  • Select the new library you want to change the icon of, click/tap on the See more (3 dots) button on the command bar, and click/tap on Properties.
  • Right click or press and hold on the new library you want to change the icon of, and click/tap on Properties.
change_new_library_icon-1.png
change_new_library_icon-2.png

3 Click/tap on Change library icon. (see screenshot below)

change_new_library_icon-3.png

4 Perform the following actions: (see screenshots below)
  1. Click/tap on Browse.
  2. Navigate to and select the .ico file or file that contains the icon you want.
  3. Click/tap on Open.
  4. Click/tap on OK.
change_new_library_icon-4.png
change_new_library_icon-5.png

5 Click/tap on OK to apply. (see screenshot below)

change_new_library_icon-6.png




Option Two

Change Icon of Library in Library Description schema file


1 Open the Notepad app.

2 Open the %AppData%\Microsoft\Windows\Libraries in File Explorer (Win+E).

3 Drag and drop the library (ex: Pictures) you want to change the icon of into Notepad. (see screenshots below)

change_library_icon-1.png

4 Perform the following actions: (see screenshot below)
  1. Look for the <iconReference>imageres.dll,-1003</iconReference> type line in Notepad.
  2. Change the middle part (ex: "imageres.dll,-1003") in red with the full path of the .ico file you want to use.

You can also reference a .dll file with an added comma and number position of the icon in the .dll file. If you like, you can use the free program IconViewer to make knowing what the number position is.

IconViewer.png


Default Library Icons:

Camera Roll = <iconReference>imageres.dll,-1003</iconReference>
Documents = <iconReference>imageres.dll,-1002</iconReference>
Music = <iconReference>imageres.dll,-1004</iconReference>
Pictures = <iconReference>imageres.dll,-1003</iconReference>
Recorded TV = <iconReference>imageres.dll,-1008</iconReference>
Saved Pictures = <iconReference>imageres.dll,-1003</iconReference>
Videos = <iconReference>imageres.dll,-1005</iconReference>


change_library_icon-2.png

5 When finished, click/tap on File on the menu bar of Notepad, and click/tap on Save. (see screenshot below)

change_library_icon-3.png

6 You can now close File Explorer and Notepad if you like.


That's it,
Shawn Brink


 

Attachments

  • Libraries.png
    Libraries.png
    6.5 KB · Views: 119
Last edited:
Is there a way to change the ones highlighted below? I did change the icons under c:\users\my username but in the main This PC window they don't change. I even changed the libraries folders as per the guide above but the ones in This PC are still the same

Also, is there a way to save all those icon changes that I dragged into Notepad and manually edited the icon location so I don't have to go through this when I format?

2023-05-28_115926.png
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware m16 R1
    CPU
    AMD Ryzen 9 7945HX
    Motherboard
    Alienware
    Memory
    SK Hynix 64 GB 5200 MHz DDR5 RAM
    Graphics Card(s)
    GeForce RTX 4090 16 GB GDDR6
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    16" QHD+ (2560 x 1600) 240Hz, 3ms 300-nits Screen + LG 32GQ850-B 32" UltraGear QHD 240hz Monitor
    Screen Resolution
    QHD (2560x 1440)
    Hard Drives
    2x Samsung 990 PRO 4TB SSDs (RAID 0) + WD_BLACK SN770M 2TB SSD
    PSU
    330W AC Power Adapter
    Cooling
    Noctua NT-H2 + Fujipoly Extreme Thermal Pads
    Keyboard
    Alienware CherryMX mechanical keyboard (Laptop) + AW510K Mechanical Gaming Keyboard (external)
    Mouse
    Alienware Tri-Mode Wireless Gaming Mouse AW720M
    Internet Speed
    1 GBPS Down / 350 MBPS Up
    Browser
    Google Chrome
    Antivirus
    Avast Antivirus
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9500
    CPU
    Intel i7-10875H
    Memory
    Kingston FURY Impact 64 GB 3200 MHz DDR4 RAM
    Graphics card(s)
    nVIDIA GeForce GTX 1650 Ti Max-Q w/ 4 GB GDDR6
    Sound Card
    Realtek
    Monitor(s) Displays
    15.6 UHD+ Touch, InfinityEdge, 500-nits, Anti-Reflecitve
    Screen Resolution
    3840 x 2400
    Hard Drives
    Samsung 990 PRO 2TB + 4TB SSDs
    PSU
    Dell 130W Laptop Charger USB C Type C AC Adapter
    Cooling
    Noctua NT-H2 Thermal Paste on CPU + GPU
    Mouse
    Logitech MX Anywhere 3
    Internet Speed
    1 GBPS Down / 350 MBPS Up
    Browser
    Google Chrome
    Antivirus
    Avast Free Antivirus
Is there a way to change the ones highlighted below? I did change the icons under c:\users\my username but in the main This PC window they don't change. I even changed the libraries folders as per the guide above but the ones in This PC are still the same

Also, is there a way to save all those icon changes that I dragged into Notepad and manually edited the icon location so I don't have to go through this when I format?

Hello mate, :alien:

Those would be folders instead of a library.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware m16 R1
    CPU
    AMD Ryzen 9 7945HX
    Motherboard
    Alienware
    Memory
    SK Hynix 64 GB 5200 MHz DDR5 RAM
    Graphics Card(s)
    GeForce RTX 4090 16 GB GDDR6
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    16" QHD+ (2560 x 1600) 240Hz, 3ms 300-nits Screen + LG 32GQ850-B 32" UltraGear QHD 240hz Monitor
    Screen Resolution
    QHD (2560x 1440)
    Hard Drives
    2x Samsung 990 PRO 4TB SSDs (RAID 0) + WD_BLACK SN770M 2TB SSD
    PSU
    330W AC Power Adapter
    Cooling
    Noctua NT-H2 + Fujipoly Extreme Thermal Pads
    Keyboard
    Alienware CherryMX mechanical keyboard (Laptop) + AW510K Mechanical Gaming Keyboard (external)
    Mouse
    Alienware Tri-Mode Wireless Gaming Mouse AW720M
    Internet Speed
    1 GBPS Down / 350 MBPS Up
    Browser
    Google Chrome
    Antivirus
    Avast Antivirus
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9500
    CPU
    Intel i7-10875H
    Memory
    Kingston FURY Impact 64 GB 3200 MHz DDR4 RAM
    Graphics card(s)
    nVIDIA GeForce GTX 1650 Ti Max-Q w/ 4 GB GDDR6
    Sound Card
    Realtek
    Monitor(s) Displays
    15.6 UHD+ Touch, InfinityEdge, 500-nits, Anti-Reflecitve
    Screen Resolution
    3840 x 2400
    Hard Drives
    Samsung 990 PRO 2TB + 4TB SSDs
    PSU
    Dell 130W Laptop Charger USB C Type C AC Adapter
    Cooling
    Noctua NT-H2 Thermal Paste on CPU + GPU
    Mouse
    Logitech MX Anywhere 3
    Internet Speed
    1 GBPS Down / 350 MBPS Up
    Browser
    Google Chrome
    Antivirus
    Avast Free Antivirus
Hey mate, I got the libraries icon sorted, just the left pane icons now, only the desktop folder icon changed. What am I missing?

You could see if unpining and repinning those folders may allow them to change in the navigation pane.

If not, then check the properties page of the folders in the navigation pane for their source location to change the folder icon at the source.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Back
Top Bottom