Wrong Hard Drive Icon

  • Thread starter Thread starter Steevo
  • Start date Start date
S

Steevo

Have just installed a new hard drive into my computer. When viewing drives
in My Computer the icon for the drive is shown as a compact flash card. Is
there any way to revert this to a normal HDD icon?


Many thanks
 
Steevo said:
Have just installed a new hard drive into my computer. When viewing drives
in My Computer the icon for the drive is shown as a compact flash card. Is
there any way to revert this to a normal HDD icon?

You can specify any icon you like for any drive. The following examples
change
the icons for drives C: and D: respectively. The first demonstrates
specifying the
default hard drive icon from shell32.dll (the index is zero based, so index
7 means
the 8th icon). The second example specifies a custom icon.

Note that these keys don't exist by default. Create new keys as appropriate
and
modify the default values only (@ = default value).

[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon]
@="C:\Windows\System\Shell32.dll,5"

[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D\DefaultIcon]
@="D:\Icons\XP-Folders\My Homework XP.ico"

Note that a reboot is not required (hit F5 to refresh explorer) but the
changes
will apply to all users.

Note also that you can create default icons for removable drives, such as
CD-ROM drives, as well. However, these will only take effect when the
drive contains no media, as most CDs specify their own icons in their
AutoRun.ini file.
 
Steevo,

Delete the file named autorun.inf from the drive's root folder, and then
reboot.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Have just installed a new hard drive into my computer. When viewing drives
in My Computer the icon for the drive is shown as a compact flash card. Is
there any way to revert this to a normal HDD icon?


Many thanks
 
Ramesh said:
Steevo,

Delete the file named autorun.inf from the drive's root folder, and then
reboot.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com

Many thanks for the reply. Unfortunately there is no autorun.inf in the root
folder - the drive is in fact brand new and apart from being formatted it is
still in the state that it was purchased in.
 
Micky said:
Steevo said:
Have just installed a new hard drive into my computer. When viewing
drives in My Computer the icon for the drive is shown as a compact flash
card. Is there any way to revert this to a normal HDD icon?

You can specify any icon you like for any drive. The following examples
change
the icons for drives C: and D: respectively. The first demonstrates
specifying the
default hard drive icon from shell32.dll (the index is zero based, so
index 7 means
the 8th icon). The second example specifies a custom icon.

Note that these keys don't exist by default. Create new keys as
appropriate and
modify the default values only (@ = default value).

[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon]
@="C:\Windows\System\Shell32.dll,5"

[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D\DefaultIcon]
@="D:\Icons\XP-Folders\My Homework XP.ico"

Note that a reboot is not required (hit F5 to refresh explorer) but the
changes
will apply to all users.

Note also that you can create default icons for removable drives, such as
CD-ROM drives, as well. However, these will only take effect when the
drive contains no media, as most CDs specify their own icons in their
AutoRun.ini file.

Thanks for the reply - can I find an icon index anywhere which will show me
the number I need to use to get the icon I want? I don't really fancy the
idea of doing it by trial and error.

Many thanks
 
Steevo,

Is this problem seen for a particular drive, or all the drives?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Ramesh said:
Steevo,

Delete the file named autorun.inf from the drive's root folder, and then
reboot.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com

Many thanks for the reply. Unfortunately there is no autorun.inf in the root
folder - the drive is in fact brand new and apart from being formatted it is
still in the state that it was purchased in.
 
Ramesh said:
Steevo,

Is this problem seen for a particular drive, or all the drives?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com

Ramesh,

I have only noticed the problem when installing a new hard drive onto the
system. The icon for C: remains the same, but the F: icon (new drive) shows
up as Compact Flash. That said, if I remove the drive from the computer and
then create a virtual Goback drive, this shows up in My Computer as a
standard drive icon.

Many thanks
 
Steevo,

The drive icons may be coming from the registry. Check both these registry
locations referenced in the following article, to see if a custom icon has
been set:

http://windowsxp.mvps.org/driveicon.htm


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Ramesh said:
Steevo,

Is this problem seen for a particular drive, or all the drives?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com

Ramesh,

I have only noticed the problem when installing a new hard drive onto the
system. The icon for C: remains the same, but the F: icon (new drive) shows
up as Compact Flash. That said, if I remove the drive from the computer and
then create a virtual Goback drive, this shows up in My Computer as a
standard drive icon.

Many thanks
 
Steevo said:
Micky said:
Steevo said:
Have just installed a new hard drive into my computer. When viewing
drives in My Computer the icon for the drive is shown as a compact flash
card. Is there any way to revert this to a normal HDD icon?

You can specify any icon you like for any drive. The following examples
change
the icons for drives C: and D: respectively. The first demonstrates
specifying the
default hard drive icon from shell32.dll (the index is zero based, so
index 7 means
the 8th icon). The second example specifies a custom icon.

Note that these keys don't exist by default. Create new keys as
appropriate and
modify the default values only (@ = default value).

[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon]
@="C:\Windows\System\Shell32.dll,5"

[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D\DefaultIcon]
@="D:\Icons\XP-Folders\My Homework XP.ico"

Note that a reboot is not required (hit F5 to refresh explorer) but the
changes
will apply to all users.

Note also that you can create default icons for removable drives, such as
CD-ROM drives, as well. However, these will only take effect when the
drive contains no media, as most CDs specify their own icons in their
AutoRun.ini file.

Thanks for the reply - can I find an icon index anywhere which will show
me the number I need to use to get the icon I want? I don't really fancy
the idea of doing it by trial and error.

The easy way to determine the index of an icon is to create a shortcut to
the file containing the indexed icon you want, then change the icon (or
modify an existing shortcut but don't apply the change). Count the icons
from top to bottom, left to right, then subtract 1. In other words, index
0 is top left and index 1 is immediately below it.
 
Have just installed a new hard drive into my computer. When viewing drives
in My Computer the icon for the drive is shown as a compact flash card. Is
there any way to revert this to a normal HDD icon?

You can try deleteing this file to rebuild the icon cache.
I had a similar problem with the wrong icons showing up on cd/dvd roms.

\Documents and Settings\username\Local Settings\Application Data\

IconCache.db
 
Back
Top