SOLVED Find the Windows ID of Drives Icon for customize my Windows

Joined
Jun 2, 2018
Messages
12
Reaction score
0
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 and not powefull (26 possible letters) if i dont know with letter my drive use before first use..

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...

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

I try 11 for CD/DVD Drive, and i try many other numbers... useless too...
All are in "shell32.dll" of Windows.
Just 2 are really used : 8 and 9 !! I dont understand why !!

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

Thank you not to propose a software which does only anything else what I wrote here !

Thank you for everybody reading and understanding my worries

PS : Sorry for my poor english
 
Joined
Jun 2, 2018
Messages
12
Reaction score
0
Solution :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell MyIcons]
"6"="C:\\Windows\\MyIcons\\Floppy.ico"
"7"="C:\\Windows\\MyIcons\\HD_USB.ico"
"8"="C:\\Windows\\MyIcons\\HD_Std.ico"
"9"="C:\\Windows\\MyIcons\\HD_Red.ico"
"10"="C:\\Windows\\MyIcons\\HD_Red_Out.ico"
"11"="C:\\Windows\\MyIcons\\CD.ico"
"59"="C:\\Windows\\MyIcons\\DVD.ico"
"107"="C:\\Windows\\MyIcons\\HD_Windows.ico"
"164"="C:\\Windows\\MyIcons\\HD_Bitlocker_.ico"
"165"="C:\\Windows\\MyIcons\\HD_Bitlocker_Out.ico"

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\Shell MyIcons]
"6"="C:\\Windows\\MyIcons\\Floppy.ico"
"7"="C:\\Windows\\MyIcons\\HD_USB.ico"
"8"="C:\\Windows\\MyIcons\\HD_Std.ico"
"9"="C:\\Windows\\MyIcons\\HD_Red.ico"
"10"="C:\\Windows\\MyIcons\\HD_Red_Out.ico"
"11"="C:\\Windows\\MyIcons\\CD.ico"
"59"="C:\\Windows\\MyIcons\\DVD.ico"
"107"="C:\\Windows\\MyIcons\\HD_Windows.ico"
"164"="C:\\Windows\\MyIcons\\HD_Bitlocker_.ico"
"165"="C:\\Windows\\MyIcons\\HD_Bitlocker_Out.ico"
 

Attachments

  • MyIcons.png
    MyIcons.png
    23.2 KB · Views: 479
  • MyIcons_Out.png
    MyIcons_Out.png
    26.4 KB · Views: 391

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top