Windows Drive Icons Registry Code

title: ## Contents 
style: nestedList # TOC style (nestedList|inlineFirstLevel)
minLevel: 1 # Include headings from the specified level
maxLevel: 4 # Include headings up to the specified level
includeLinks: true # Make headings clickable
debugInConsole: false # Print debug info in Obsidian console

Overview

Sources:

  • **

Code Snippet

TIP

  • The registry path is located at: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons
  • Keys for each drive are nested under that path with an additional sub-key (folder) named DefaultIcon
  • Within the DriveIcons\<DriveLetter>\DefaultIcon\ key the (Default) key value is defined as a quoted absolute path to the ICO icon file on the hard drive.
Windows Registry Editor Version 5.00
 
; Microsoft Windows Explorer DriveIcons Registry File
 
; Root
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons]
 
; U Drive: Ubuntu Mapped Network Drive
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\U]
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\U\DefaultIcon]
@="\"C:\\Icons\\ubuntu.ico\""
 
; X Drive: Windows DevDrive
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\X]
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\X\DefaultIcon]
@="\"C:\\Icons\\dev.ico\""

Details

About

This note is about …

See Also


Appendix

Note created on 2024-05-03 and last modified on 2024-05-03.

LIST FROM [[Registry - DriveIcons]] AND -"CHANGELOG" AND -"04-RESOURCES/Code/Registry/Registry - DriveIcons"

(c) No Clocks, LLC | 2024