Apply a different icon to different drives.
- Using an .inf file
- Using the registry
- XP and the registry…
- Icons for removable media
then rename the file to autorun.inf.
You might put the icon in the root of the drive too, and give both the icon and inf-file the attribute ‘hidden’; less easy to mess up stuff ;).
Underneath this key, create/edit news keys with only the drive letter as their name. Underneath each create another key called “DefaultIcon”, and modify the standard value on the right to point to your icon (full path), add a comma and number when it’s in an .icl file (first inside = 0). Note that if there’s an autorun.inf, as mentioned above, present in the root of the drive, this one will be displayed instead.
Also note this key, in case of trouble. Been reported to work on 2k and XP with sp2. Same rules on creating subfolders and strings:
A workaround, enabling assignment of individual icons to seperate hard/cdrom-drives etc was discovered by deano at the TweakXP forums (stops working after sp1 is installed). You need to have a look at this registry key:
You’ll find a couple of subkeys, probably. Focus on the keys with CLSID values (them numbers – you might find some keys with drive characters and more, ignore). Messy, cause no way of telling which key represents which drive, though some of DefaultLabel keys as set above show up as “_LabelFromReg” strings, so you can tell. Also, there might be some doubles, and your cdrom drives have a “_AutorunStatus” string. Heh, you’re up to some experimenting, but the way to apply a custom icon is simple:
No need to restart, just refresh a window.
Even floppy disks, zip disks and other removable media can have their own icon added this way. But by default “autorun” can only be enabled/disabled for data and music cd’s. To have it enabled for all drives, go into the registry to:
There’s a binary value called “NoDriveTypeAutoRun”, which by default says “95 00 00 00”. Change the first bit to “91” and restart your computer. Note that inserting a new disk won’t refresh the icon until you hit F5, or choose “view/refresh”. Also note that the “floppy seek”, everytime you open My computer, can be very annoying…