On 11/29/2026 12:33 AM, Paul wrote:
[snipped]
> In the sample VM I dug up, I could see copious usage of FirefoxHTML-nnnnnnn
> type construct once Firefox 115ESR was installed. The nnnnnnn might have
> some relationship to a progID but it was being used in this case as a
> decoration. I figured it was time to give this a whirl.
>
> ******* CoPilot Question *******
>
> Windows 7 - what registry area sets the DefaultIcon on a
> data file, once Firefox is made the Default Browser ?
>
> Where should I look, if attempting to correct a "blank" icon
> for an html ot htm file in my Downloads folder ?
>
> ******* CoPilot Answer *******
>
> On Windows 7, once Firefox becomes the default browser, the icon shown for
> .htm and .html files is usually determined through the file association chain:
>
> .html --> htmlfile (or FirefoxHTML)
> |
> +--> DefaultIcon
>
> The registry locations worth checking are:
>
> 1. Extension association
>
> HKEY_CLASSES_ROOT\.html
> HKEY_CLASSES_ROOT\.htm
>
> The default value typically points to a ProgID such as:
>
> htmlfile
> or
> FirefoxHTML
>
> You can also check the per-user override:
>
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\UserChoice
>
> The Progid value there often takes precedence.
>
> 2. The ProgID's DefaultIcon key
>
> If the ProgID is FirefoxHTML, inspect:
>
> HKEY_CLASSES_ROOT\FirefoxHTML\DefaultIcon
>
> Typical value:
>
> "C:\Program Files\Mozilla Firefox\firefox.exe",1
>
> (or similar)
>
> If the ProgID is htmlfile, inspect:
>
> HKEY_CLASSES_ROOT\htmlfile\DefaultIcon
>
> Typical Windows value:
>
> %SystemRoot%\System32\ieframe.dll,-190
>
> 3. Firefox application registration
>
> Firefox also registers under:
>
> HKEY_CLASSES_ROOT\Applications\firefox.exe
>
> and sometimes:
>
> HKEY_CLASSES_ROOT\FirefoxHTML
>
> Look for:
>
> FirefoxHTML\DefaultIcon
>
> and:
>
> FirefoxHTML\shell\open\command
>
> If DefaultIcon is missing or references a nonexistent file, Explorer may display a blank icon.
>
> 4. Verify the icon resource actually exists
>
> A common failure mode is that the registry points to:
>
> "C:\Program Files\Mozilla Firefox\firefox.exe",1
>
> but:
>
> Firefox was moved
> Firefox was uninstalled/reinstalled
> the icon index is invalid
> a 32-bit/64-bit path mismatch exists
>
> In that case Explorer frequently falls back to a blank document icon.
>
> 5. Icon cache corruption
>
> If the registry entries look correct, the next suspect is the icon cache.
>
> Windows 7 stores icon cache files under:
>
> %LOCALAPPDATA%
>
> typically:
>
> C:\Users\<username>\AppData\Local\IconCache.db
>
> Deleting the icon cache and restarting Explorer (or rebooting) often
> fixes a blank icon when the registry data is already correct.
>
> Quick diagnostic
>
> Open a command prompt and run:
>
> assoc .html
> assoc .htm
>
> Example:
>
> .html=FirefoxHTML
> .htm=FirefoxHTML
>
> Then run:
>
> ftype FirefoxHTML
>
> to verify which ProgID is actually being used.
>
> Finally inspect:
>
> HKEY_CLASSES_ROOT\FirefoxHTML\DefaultIcon
>
> That registry key is usually the first place I would look for a
> blank icon on .htm and .html files in a Downloads folder
> after Firefox has been set as the default browser.
>
> ******* End: CoPilot Answer *******
>
> Paul
>
Using RegEdit, I searched for all instances of FirefoxHTML and also
SeaMonkeyHTML, maing sure that DefaultIcon pointed to my desired icon.
A few instance required changing the value of DefaultIcon. I then
deleted IconCache.db from my C:\Users\David\AppData\Local.
After terminating Windows and doing a cold boot, no success. );
--
David E. Ross
<http://www.rossde.com>
NO, not everyone has a smart phone. My wife and I have
"dumb cell phones" and a land-line. Neither of us can
handle QR codes, reply to text messages, or have any
kind of phone-based Internet connections. We have no APS
on any phone. We can send and receive photos only
through our desktop PCs.