2nd h/drive hijacks icon

  hssutton 19:48 12 Oct 2003

XP-Pro. Installed 2nd hard drive as slave to master. As expected this took over drive letter D and moved all my other drive letters, no problem there. Unfortunately drive D was my Compactflash drive letter with a compactflash icon, so now I have a H/drive with a compactflash icon, I can find no way to delete the icon or move it to my C/flash drive which now occupies drive letter J.
Help in resolving this would be much appreciated.


  Gongoozler 20:11 12 Oct 2003

I don't know if this works for XP, but it certainly cured a similar problem for me in Windows 98se. Some time ago I copied the Windows 98se cd to my second hard drive to install a file from there. Unfortunately the cd had an autorun.inf file that changed the hard drive icon to a cd drive icon and also causewd the drive right-click menu to have cd drive options. The cure was to put an autorun.inf file in the root directory of the drive.

Create a text file called autorun.inf with the following in it:
Type these 2 lines (I have but a blank line after [autorun] to try to preserve the 2 lines):


icon=filename, number

In this text, you will replace "filename" with the name of the .ico file or .dll in which the icon is contained. In Windows 98 the icons are in C:\WINDOWS\SYSTEM\SHELL32.DLL. I found this by right clicking on a folder on my desktop, selecting Properties and clicking on the "Change icon" button.

"Number" indicates which icon file you wish to use. If you are using a .ico file, or if you want to use the first icon in a dll, leave this part blank. But if, for instance, you want to use the fourth icon in the .dll (the fourth one that appeared when you were browsing your dll icons replace "number" with "4" (no quotes.) In my Windows 98se system, this was a little confusing because the numbering sequence is top to bottom then left to right, so I think the hard drive icon would be number 9. If this restores your icon, you should then be able to delete the autorun.inf file.

  Gongoozler 20:14 12 Oct 2003


icon=filename, number

  Gongoozler 20:16 12 Oct 2003

Or this one does it with a registry tweak click here

  hssutton 20:42 12 Oct 2003

Many thank Gongoozler, that was quick.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Samsung Galaxy S9 review

Wacom Cintiq Pro 24 and 32 review – hands-on

When is the next Apple event?

Gmail : comment annuler l’envoi d’un e-mail ?