Jump to content

How to give each hard-drive & cd drives their separate icons?


amit_talkin

Recommended Posts


Create keys under [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons]

as in this example

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon]
@="%Windir%\\Web\\MyImages\\C.ico"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D\DefaultIcon]
@="%Windir%\\Web\\MyImages\\D.ico"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\E]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\E\DefaultIcon]
@="%Windir%\\Web\\MyImages\\E.ico"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\F]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\F\DefaultIcon]
@="%Windir%\\Web\\MyImages\\F.ico"

Link to comment
Share on other sites

the "%Windir%\\Web\\MyImages\\F.ico" is referring to an icon in (by default) C:\Windows\Web\MyImages\F.ico

the MyImages Folder has to be made by you, and the F.ico is a file of what you want to change the drive icon to.

if you wish to do this unattended... put the Web Folder (with the MyImages folder and the f.ico file) in $OEM$\$$

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...