View Single Post
Old 04-07-2007   #6 (permalink)
Ronnie Vernon MVP


 
 

Re: Change hard drive icon

Hi Keith,

I have used this registry trick before to do this. The problem I always have
is determining the number for the icon in the dll? Is there an easy way to
do this?

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"Keith Miller MVP" <k.miller79@no.spam.verizon.net> wrote in message
news:ONryAhSeHHA.1240@TK2MSFTNGP04.phx.gbl...
> That icon is here:
>
> %SystemRoot%\system32\imageres.dll,-112
>
> autorun.inf doesn't seem to like that format, but the registry doesn't
> mind:
>
> -------------------------
> Windows Registry Editor Version 5.00
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\DriveIcons\D\DefaultIcon]
> @="%SystemRoot%\\system32\\imageres.dll,-112"
>
> --------------------------
>
> Copy the text between the lines & save as a .reg file, them merge into the
> registry. You'll need admin privledges to modify HKLM.
>
>
> --
> Good Luck,
>
> Keith
> Microsoft MVP [Windows XP Shell/User]
>
> "Scott" <Scott@discussions.microsoft.com> wrote in message
> news:AC4AA2D0-CB2B-4D83-908A-A18CC37D666C@microsoft.com...
>> the picture here: http://img366.imageshack.us/img366/3231/foldermk3.jpg
>> shows the typical "Documenten" folder.
>> --
>> Thank you
>>
>>
>> "Ronnie Vernon MVP" wrote:
>>
>>> Scott
>>>
>>> You need to perform the following.
>>>
>>> 1. In the root of the drive where you want the icon to appear, rihgt
>>> click
>>> and select New/Folder. Name the folder Autorun.
>>>
>>> 2. Open Notepad and enter the following text.
>>>
>>> [autorun]
>>> ICON=AUTORUN\xxxx.ICO
>>>
>>> Save this file with the name Autorun.INF and place it in the root
>>> of
>>> the drive.
>>>
>>> The xxxx is trhe name of the Icon file you wish to use.
>>>
>>> 3. Place this icon in the Autorun Folder that you created.
>>>
>>> The problem is finding the icon you wish to use. There are a lot of
>>> different "document" icons in Vista. You may need to use an icon
>>> extraction
>>> utility to get a copy of this icon. What program is this icon associated
>>> with?
>>>
>>> There are many websites that have many, many icons that are free of
>>> charge.
>>> Just make sure that it is in the Windows .ICO format.
>>>
>>> Use Google to search for "free icons"
>>>
>>> --
>>>
>>> Ronnie Vernon
>>> Microsoft MVP
>>> Windows Shell/User
>>>
>>>
>>> "Scott" <Scott@discussions.microsoft.com> wrote in message
>>> news:1E0B3DAF-DDD0-4136-8C4E-7D787588CD22@microsoft.com...
>>> >I use a seperate drive for all of my documents
>>> > I want to use the Vista documents icon for that drive. Where can I -
>>> > 1) find the document icon
>>> > 2) change the hard drive icon to that one
>>> >
>>> > --
>>> > Thank you
>>>

>


My System SpecsSystem Spec