Annoyances.org
Home » Windows XP Discussion Forum » Message 1005870480 » Entire Thread Search | Help | Home
  
Question about 'Customize Drive Icons'
Showing all messages in thread #1005870480
Windows XP Annoyances Discussion Forum


The following are all of the messages in this thread (19 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
Question about 'Customize Drive Icons'
Thursday, November 15, 2001 at 4:28 pm
Posted by Kasturi (1 messages posted)

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

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Monday, January 14, 2002 at 1:41 pm
Posted by Dik Krider (6 messages posted)

On Win XP this registration entry must be changed to get the autorun.inf to work. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDriveTypeAutoRun REG_DWORD Set the value to 91(hex) You must restart the computer for the autorun to be recognized.


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

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Monday, January 14, 2002 at 2:59 pm
Posted by asterion (1 messages posted)

ok this is great. so what about removable drives in XP?

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Monday, May 27, 2002 at 2:35 pm
Posted by DrEvil (7 messages posted)

I'm having the same problem and have tried all the other stuff!!!  But when i goto 
do the regisrty hack, i find that the 
NoDriveTypeAutoRun 
Has type REG BINARY,
what should i do?
the data is:
5f 00 00 00
I hav winxp pro and really wana fix this little problem!



[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Sunday, August 25, 2002 at 9:15 pm
Posted by Kaarthik (1 messages posted)

Hi, I tried making calls to the SHUpdateImage function, though my shell32.dll reports a higher version, it doesn't seem to export that function. Moreover shlobj.h mentioned in http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/shupdateimage.asp ...does not contain the prototype for this function. If I declare the prototype myself and try linking with the library shell32.lib, I still get a linker error. Any pointers or clues as to how to go about this? Thanks Kaarthik


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

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Sunday, March 9, 2003 at 2:47 pm
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
>
>

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Friday, March 14, 2003 at 10:25 am
Posted by Prasanna (1 messages posted)

RE :On Win XP this registration entry must be changed to get the autorun.inf to work. 
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDriveTypeAutoRun 
REG_DWORD Set the value to 91(hex) You must restart the computer for the autorun 
to be recognized. 

My XP already has the following set however the icon I set in my autorun does not 
show up on WinXp.

Any ideas.

Prasanna


[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Thursday, April 10, 2003 at 4:48 pm
Posted by Anfrey (2 messages posted)

i'm rather confused. i follow you til u make the DefaultIcon and DefaultLabel keys within the DriveIcons key i just created. what now? am i supposed to make more subkeys or make strings? any further explanation would be greatly appreciated. thank you.


On Sunday, March 9, 2003 at 2:47 pm, Brian Henderson wrote:
>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.

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Wednesday, April 23, 2003 at 4:29 am
Posted by Luis Cunha (1 messages posted)

Just put the values you want on the (default) string.


On Thursday, April 10, 2003 at 4:48 pm, Anfrey wrote:
>i'm rather confused. i follow you til u make the DefaultIcon and DefaultLabel keys
>within the DriveIcons key i just created. what now? am i supposed to make more subkeys
>or make strings? any further explanation would be greatly appreciated. thank you.

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Monday, May 5, 2003 at 9:59 pm
Posted by J.J (2 messages posted)

Hi Brian, I do not understand what u mean. Can u please elaborate more on the creating registries part? Preferably ste-by-step instructions. Gee...thanx alot!


On Sunday, March 9, 2003 at 2:47 pm, Brian Henderson wrote:
>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.
>
>
>

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Tuesday, May 6, 2003 at 2:45 pm
Posted by Jason H (1 messages posted)

Try this website for step by step instructions on what Brian is saying:
http://www.virtualplastic.org/html/icn_drv.html
Have fun. Jason


On Monday, May 5, 2003 at 9:59 pm, J.J wrote:
>Hi Brian,
>
>I do not understand what u mean.
>Can u please elaborate more on the creating registries part? Preferably ste-by-step
>instructions.
>
>Gee...thanx alot!
>
>

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Tuesday, May 6, 2003 at 11:53 pm
Posted by J.J (2 messages posted)

Hey jason, thanx alot! :)


On Tuesday, May 6, 2003 at 2:45 pm, Jason H wrote:
>Try this website for step by step instructions on what Brian is saying:
>
>http://www.virtualplastic.org/html/icn_drv.html
>
>Have fun.
>Jason
>
>

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Tuesday, June 17, 2003 at 12:02 pm
Posted by h.a (1 messages posted)

Hi every one ; Did any one try to use an icon index greater than 48? I did , but it wont work for my cdr autorun.inf... ie %SystemFolder%\system32\shell32.dll,48 works but if i use any icon greater than that it dose not work notting that shell32.dll has 238 icons (0-237) any one knows how to fix this problem or go around it?

[Reply or follow-up to this message]

Customize Drive Icons in XP
Wednesday, September 3, 2003 at 11:34 am
Posted by Ben (1 messages posted)

Here are some usefull keys
since I'm still lookin' for the ones to change CD-Rom and CD-RW drives (as well as 
DVD ones), you can at least begin with these ones :

HKCR\Drive\DefaultIcon
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons

-[nu]

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Saturday, December 13, 2003 at 3:06 am
Posted by Jeff H.S. Lin (1 messages posted)

Hi Brian, You said "This worked on all my drives except network mapped drives that were loaded from a login script." Have you ever tried "USB multiple card reader" ? I find this method can not work on "USB multiple card reader". The USB multiple crad reader is declared as multiple LUN ( My card reader is 4 in 1, so, four drive icons suppose to be showed up on Explorer window) Jeff


On Sunday, March 9, 2003 at 2:47 pm, Brian Henderson wrote:
>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.
>
>
>

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Saturday, December 13, 2003 at 10:20 am
Posted by Philippe (1 messages posted)

Hello, Any idea of the way to customize mapped drives icons ? Whatever the icon of the folder on the server is (eg with desktop.ini file) the icon is still the same (system32\SHELL32.dll icon #9) Help greatly appreciated :o) Thanks Phil


On Sunday, March 9, 2003 at 2:47 pm, Brian Henderson wrote:
>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.
>
>
>

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Sunday, October 3, 2004 at 3:20 pm
Posted by Sawn (1 messages posted)

I have WinXP as well. I was sure it was just a simple registry edit, but all the info I could Google didn't work. Finally, I downloaded Icon Packager from http://www.stardock.com/products/iconpackager/ to fix it. It's a 30 day free trial. Install and run it. Click on "Icons and Cursors"..."Drives"..."Individual Drive Mode". Find the drive you want to change, click it and then click "Change". It will open C:\WINDOWS\system32\shell32.dll and you can chose the icon you want there or choose another file with icons in it.





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

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Tuesday, November 23, 2004 at 9:15 pm
Posted by Mike (1 messages posted)

I've found this registry file works on Windows 9.x, 2000 and both XP Home and Pro versions...just ensure the path(s) are correct and merge away. I also used 'regedit' for the run command and not 'regedt32'. I'm not sure of what the difference is. Maybe someone else does? **NOTE** You may not wish to change the drive icon for the CD/DVD drives if you want to see or use any custom icons for the disks.
************snip************
 
REGEDIT4
 
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons] [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\A] [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\A\DefaultIcon] @="D:\\WINDOWS\\CURSORS\\Floppy.ico" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\C] [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\C\DefaultIcon] @="D:\\WINDOWS\\CURSORS\\Marvin.ico" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\D] [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\D\DefaultIcon] @="D:\\WINDOWS\\CURSORS\\Xp.ico" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\E] [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\E\DefaultIcon] @="D:\\WINDOWS\\Cursors\\Zorak.ico" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\F] [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\F\DefaultIcon] @="D:\\WINDOWS\\CURSORS\\Skull.ico" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\G]  
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\G\DefaultIcon] 
@="D:\\WINDOWS\\CURSORS\\Brak.ico"
 
*****************snip*****************



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

[Reply or follow-up to this message]

re: Question about 'Customize Drive Icons'
Thursday, September 22, 2005 at 9:11 am
Posted by Michael Pintoff (1 messages posted)

Messing with the Registry isn't for everyone. I suggest a simpler fix, one used by every CD out there: 1. Create a text file called autorun.inf and put it in the C:\ root directory. 2. line 1: [AUTORUN] 3. line 2: icon=iconname.ico When you do a full reboot (ie power down), Windows will use the icon you named for the drive in Windows Explorer when you turn your computer back on.


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

[Reply or follow-up to this message]

Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
Return to the Windows XP Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.