I find the ID (internal) of System Drive Icon for customize my Windows

JCMacintosh

Macintosh
Messages
1
Hi

I like to personalize my Windows and i know changing my drive icon by "autorun.inf"... Like this :
[Autorun]
icon=myicon.ico

- But for an unwritable drive is useless... :(

I know changing by "regedit.exe"... I can using drive letter like C: D: or other like this :
[HKEY_CURRENT_USER\Software\Classes\Applications\explorer.exe\Drives\F\DefaultIcon]
@="C:\Windows\Icon\Drive_USB.ico"

- But is fastidius (26 letters) and not powefull if i dont know with letter my drive use before first use... :confused:

The better is when i can use the real ID of the drive for "predict" the best icon like this :
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
"9"="C:\Windows\Icon\Lan_Drive.ico"
"8"="C:\Windows\Icon\Internal_Drive.ico"

- It's really the better solution, but... But... But... :eek:

What is the ID for : USB Drive, CD/DVD Drive and THE Windows System Drive and other essential drives of Windows ??? :mad:

I have just find the System Drive Icon on system file "imageres.dll" with the ID 32 but is not usefull.... I try 11 for CD/DVD Drive, i fact i try all the numbers used in "shell32.dll"... Useless too !

:p If anybody have this answer, I promise to cover him with praise on the net for the next 10 years !!! :p

Thank you for everybody reading and understanding my worries o_O

PS : Sorry for my poor english ;)
 

My Computer

System One

  • OS
    Windows 8.1 Pro x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Lenovo Thinkcentre M70e
    CPU
    Intel Quad Q9550
    Motherboard
    Lenovo
    Memory
    8Gb
    Graphics Card(s)
    AMD Radeon 4350
    Browser
    Mozilla Firefox / Opera
    Antivirus
    Avast Internet Security
Back
Top