Windows 7 Forums


Windows 7: File Extension Icon - Change Default Icon

22 Jan 2010  
Brink

 
File Extension Icon - Change Default Icon

How to Change the Default Icon of a File Extension in Windows 7






Last edited by Brink; 30 Apr 2013 at 01:22 PM..
My System SpecsSystem Spec

05 Aug 2012  
Brink

 

Quote   Quote: Originally Posted by PatD View Post
I tried the regedit procedure to change the HTML icon to d:\pic... but it did not work.

What I really hate about HTML icon soltuions is it only works for a little. I've even used "File Types Manager" it works for a while then reverts to a blank page. What's up with that?!
Hello Pat,

Did you use HKEY_CLASSES_ROOT\htmlfile at step 5 in OPTION TWO for this?

In addition, what are you using for your custom icon?

Last edited by Brink; 06 Aug 2012 at 03:38 PM.. Reason: added quote
My System SpecsSystem Spec

06 Aug 2012  
PatD

 

Quote   Quote: Originally Posted by Brink View Post
Hello Pat,

Did you use HKEY_CLASSES_ROOT\htmlfile at step 5 in OPTION TWO for this?

In addition, what are you using for your custom icon?
I have changed the Firefox icon using both the FileTypesMan and editing the icon in the registry. It works for a while. I wouldn't be surprised if Firefox icon reappeared but it's a blank icon. I convert a 256x256 gif to ico format: http://www.manotick.net/DisplayGold-256.ico

I also changed the icon for CSS and discovered later that it shared an icon with TXT so had to change it back since I had no idea how to separate them.


Last edited by PatD; 06 Aug 2012 at 03:25 PM.. Reason: Add more information
My System SpecsSystem Spec
06 Aug 2012  
Brink

 

Pat,

Since it works for a while, my guess is that it may be from Firefox reinstalling when it updates itself causing the Firefox icon to be reapplied.

Did you change the icon for the htmlfile key though?
My System SpecsSystem Spec
06 Aug 2012  
PatD

 

Quote   Quote: Originally Posted by Brink View Post
Pat,
Since it works for a while, my guess is that it may be from Firefox reinstalling when it updates itself causing the Firefox icon to be reapplied.
Did you change the icon for the htmlfile key though?
The blank icon looks nothing like the Firefox (orange) icon.

Just to try again, I used FileTypeMan to change the icon for both HTML/HTM - worked fine. In regedit searched for key: htmlfile and the default icon is "%1". I searched again for the icon filename and found it in 4 other places:

HKEY_CLASSES_ROOT\FirefoxHTML\DefaultIcon
HKEY_CURRENT_USER\Software\Classes\FirefoxHTML\DefaultIcon
HKEY_USERS\S-1-5-21-51582075-1664964830-3029346245-1001\Software\Classes\FirefoxHTML\DefaultIcon
HKEY_USERS\S-1-5-21-51582075-1664964830-3029346245-1001_Classes\FirefoxHTML\DefaultIcon
My System SpecsSystem Spec
.


06 Aug 2012  
Brink

 

That's great news Pat. I'm happy to hear that you got it sorted. Hopefully it'll stick.
My System SpecsSystem Spec
14 Mar 2013  
OvenMaster

 

I'm getting really annoyed here.
I'm trying to change the file icon for .mp3 files to the old Win95 blue speaker icon that is still available in Windows 7's C:\Windows\System32\quartz.dll
When I use FileTypesManager to edit the icon, I find it also changes the .wav icon to the same one as .mp3.
I want to use the old XP .wav icon from XP's WMP10 wmplayer.exe executable, saved to my Windows 7's Program Files folder.
For some reason, FileTypesManager changes the icon to be the same for both mp3s and wavs. I can only have the same icon for both different file types at the same time. Any ideas on how to fix this? It makes audio file copying, converting and editing a real PITA.

Last edited by OvenMaster; 14 Mar 2013 at 12:59 PM..
My System SpecsSystem Spec
14 Mar 2013  
Brink

 

Hello Tom,

If you're still using WMP as the default program for .mp3 files, then you might see if using OPTION TWO instead may work better to change the icon. Luckily, it uses .mp3 as the example to make it easy for what you want.

Hope this helps,
Shawn
My System SpecsSystem Spec
14 Mar 2013  
OvenMaster

 

Thanks, Shawn. I'll give that a shot and report back.
Update: I admit that I'm not the brightest bulb in the lamp so I got confused with Option 2.

I opened FileTypeManager again and I noticed that for some reason, Nero Wave Editor was the default program to open these files. That's wrong... I want Winamp to open them.
I opened Winamp, reset my file associations to make sure that .wavs and .mp3s are opened with it, then went back to FileTypeManager and tried again.
Presto... Win95 quartz.dll blue speaker for .mp3, Play arrow and four colors from WMP10 for .wavs. Done!

Last edited by OvenMaster; 14 Mar 2013 at 09:43 PM..
My System SpecsSystem Spec
15 Mar 2013  
Brink

 

That's great news OvenMaster. I'm glad you got it sorted.
My System SpecsSystem Spec
4 Weeks Ago  
MourningStar

 

Help, I have tried all options and methods listed here to change for pdf file - no joy. The icon remains as some windows generic icon :
Attached Thumbnails
File Extension Icon - Change Default Icon-pdf.jpg  
My System SpecsSystem Spec
Comment

 File Extension Icon - Change Default Icon problems?



Tutorial Tools



Similar help and support threads for: File Extension Icon - Change Default Icon
Windows 7 Tutorial Category
Libraries Icon - Change Default Icon Tutorials
Folder Icon - Change Default Icon Tutorials
Solved Change default icon on file type Customization
Solved How do I change pinned .txt file icon to default. General Discussion
New Library Icon - Change Default Icon Tutorials


All times are GMT -5. The time now is 03:15 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd