re: Question about 'Customize Drive Icons'
Sunday, March 9, 2003 at 2:47 pm Windows XP Annoyances Discussion Forum
Posted by Brian Henderson
(1 messages posted)
The easiest way I have done it is to go into the registry (regedit) and then go to
the following
MyComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
if you have a Key named DriveIcons make to key within that called DefaultIcon and
another Called DefaultLabel
If you don't have a Key named DriveIcons create on and then for each Drive you want
to change make just a letter for each C: drive is just C and then add the keys from
up above.
After you have all the key inside of the DefaultIcon the value for it is the location
of the icon you want to use. If you want to use one in shell32.dll you will need
to count the number and then after the path type in the number such as %SystemFolder%\system32\shell32.dll,
29
If you want to you another Icon, I am using icons that look like OSX drive Icons
just locate the .ico file and put that in the path. In the DefaultLabel you just
can type in a decription. Like my CD Burner is labeled TDK Velco 24X Burner, Windows
XP just listed it as CD Drive. This worked on all my drives except network mapped
drives that were loaded from a login script.
On Thursday, November 15, 2001 at 4:28 pm, Kasturi wrote:
>I have a question about Customize
>Drive Icons:
>
>
>Hi,
> I’m trying to change the default icon for C and D drive. My code worked on
9x
>and 2000, but it does not work on XP (It changes drive icon for a fraction of second
>only). My guess is registry information has been changed. For more information on
>this refer to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/Shell/Functions/SHUpdateImage.asp
>
> I also tried the Autorun.inf as described in this article but it did not work.
>
>Any idea on this would be appreciated.
>
>
>Thanks
>
>Kasturi
>
>
|
All messages in this thread [show all]
 |  | re: Question about 'Customize Drive Icons' (Brian Henderson: Sun, Mar 9, 2003, 2:47 pm) |
| |
| |
| |
Return to the Windows XP Discussion Forum
|
|