🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.windows7.general
16 messages
16 total messages Started by David E. Ross Sat, 28 Nov 2026 04:45
HTML Icon
#57
Author: David E. Ross
Date: Sat, 28 Nov 2026 04:45
22 lines
1943 bytes
Windows 7
SeaMonkey 2.53.24

For some reason, HTML files now appear as blank pages with the
upper-right corner folded over.  I tried editing my Windows registry to
have all instances of .HTML point to the correct icon, but that has not
worked; when I check, my edits are still indeed there.  I suspect that I
am missing a registry entry that needs to be edited.

Can anyone help me fix this?

-- 

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.
Re: HTML Icon
#58
Author: VanguardLH
Date: Sat, 28 Nov 2026 05:37
16 lines
1489 bytes
"David E. Ross" <nobody@nowhere.invalid> wrote:

> Windows 7
> SeaMonkey 2.53.24
> 
> For some reason, HTML files now appear as blank pages with the
> upper-right corner folded over.  I tried editing my Windows registry to
> have all instances of .HTML point to the correct icon, but that has not
> worked; when I check, my edits are still indeed there.  I suspect that I
> am missing a registry entry that needs to be edited.
> 
> Can anyone help me fix this?

Had something akin happen like that before.  Eventually I shut down
Windows, and restarted.  Not go into hibernate or sleep, but a full
shutdown of Windows.  On restart, the icons were okay.
Re: HTML Icon
#59
Author: David E. Ross
Date: Sat, 28 Nov 2026 05:53
32 lines
2387 bytes
On 11/27/2026 9:37 PM, VanguardLH wrote:
> "David E. Ross" <nobody@nowhere.invalid> wrote:
> 
>> Windows 7
>> SeaMonkey 2.53.24
>>
>> For some reason, HTML files now appear as blank pages with the
>> upper-right corner folded over.  I tried editing my Windows registry to
>> have all instances of .HTML point to the correct icon, but that has not
>> worked; when I check, my edits are still indeed there.  I suspect that I
>> am missing a registry entry that needs to be edited.
>>
>> Can anyone help me fix this?
> 
> Had something akin happen like that before.  Eventually I shut down
> Windows, and restarted.  Not go into hibernate or sleep, but a full
> shutdown of Windows.  On restart, the icons were okay.
> 

I tried that without 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.
Re: HTML Icon
#60
Author: Paul
Date: Sat, 28 Nov 2026 06:54
175 lines
8248 bytes
On Fri, 11/27/2026 11:45 PM, David E. Ross wrote:
> Windows 7
> SeaMonkey 2.53.24
> 
> For some reason, HTML files now appear as blank pages with the
> upper-right corner folded over.  I tried editing my Windows registry to
> have all instances of .HTML point to the correct icon, but that has not
> worked; when I check, my edits are still indeed there.  I suspect that I
> am missing a registry entry that needs to be edited.
> 
> Can anyone help me fix this?
> 

It's getting hard to search for this stuff now.
I have to use Bing to find stuff I know exists, then
I have to use Archive.org to get around the bought-off sites
that need a login to get the file. These used to be distributed
freely, but Bink no longer owns the site.

As for the content, I haven't a clue what it does :-)

Not all of Binks files are "from a clean OS". Some of them were
extracted from an OS that had been running for a while, and there
was a bit of pollution in them. Still, this is as good a place
to start, to figuring out *where* to look. Rather than the recorded
values always being cruft-free. The double-byte ones below are
file paths recorded in wide characters where every second byte is 0x00
and you can convert those non-zero hex values using an ASCII manual page.

   # Here, I am displaying the [HKEY_CLASSES_ROOT\htmlfile\DefaultIcon] value
   # In the real OS, "SPACE" is replace by 0x20 (ASCII space) of course and one wide-character wide.

   gawk -f regstrtrans_2.awk
   Enter one line of text, comma separated, two digits hex for each character

   25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,25,00,5c,00,49,00,6e,00,74,00,65,00,72,00,6e,00,65,00,74,00,20,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,5c,00,69,00,65,00,78,00,70,00,6c,00,6f,00,72,00,65,00,2e,00,65,00,78,00,65,00,2c,00,2d,00,31,00,37,00,00,00

   %ProgramFiles%\InternetSPACEExplorer\iexplore.exe,-17

The file should end up as "Default_HTML.reg", you can right click it and
select "Merge" from the context menu. I see a spurious "&" below so don't
be in a rush to merge this without more research work (I checked my Win7 and
that "&" is there). And the "SPACE" in the string, must be some .reg trick,
as the actual registry has a " " in its place.

  # This page is not in archive.org . To load a link here, requires a login.

  https://www.sevenforums.com/threads/default-file-type-associations-restore.19449/

  # The *links* on that page are in archive.org . The first link is a protected one.
  # I used the second link to download the file for .html

     http://www.sevenforums.com/attachments/tutorials/168972d1312706455-default-file-type-associations-restore-default_html.reg

         https://web.archive.org/web/20161128075414if_/http://www.sevenforums.com:80/attachments/tutorials/168972d1312706455-default-file-type-associations-restore-default_html.reg

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.html]

[HKEY_CLASSES_ROOT\.html]
"PerceivedType"="text"
@="htmlfile"
"Content Type"="text/html"

[HKEY_CLASSES_ROOT\.html\PersistentHandler]
@="{eec97550-47a9-11cf-b952-00aa0051fe20}"

[HKEY_CLASSES_ROOT\htmlfile]
"AppUserModelID"="Microsoft.InternetExplorer.Default"
@="HTML Document"
"FriendlyTypeName"="@C:\\Windows\\System32\\ieframe.dll,-912"

[HKEY_CLASSES_ROOT\htmlfile\CLSID]
@="{25336920-03F9-11cf-8FD0-00AA00686F13}"

[HKEY_CLASSES_ROOT\htmlfile\DefaultIcon]
@=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,\
  00,73,00,25,00,5c,00,49,00,6e,00,74,00,65,00,72,00,6e,00,65,00,74,00,20,00,\
  45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,5c,00,69,00,65,00,78,00,70,\
  00,6c,00,6f,00,72,00,65,00,2e,00,65,00,78,00,65,00,2c,00,2d,00,31,00,37,00,\
  00,00

[HKEY_CLASSES_ROOT\htmlfile\ScriptHostEncode]
@="{0CF774D0-F077-11D1-B1BC-00C04F86C324}"

[HKEY_CLASSES_ROOT\htmlfile\shell]
@="opennew"

[HKEY_CLASSES_ROOT\htmlfile\shell\open]
@="Open in S&ame Window"
"MUIVerb"="@C:\\Windows\\System32\\ieframe.dll,-5732"

[HKEY_CLASSES_ROOT\htmlfile\shell\open\command]
@="\"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe\" -nohome"

[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec]
@="\"file://%1\",,-1,,,,,"
"NoActivateHandler"=""

[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Application]
@="IExplore"

[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Topic]
@="WWW_OpenURL"

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew]
@="&Open"
"MUIVerb"="@C:\\Windows\\System32\\ieframe.dll,-5731"

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\command]
@="\"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe\" %1"

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec]
@="\"%1\",,-1,0,,,,"
"NoActivateHandler"=""

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\Application]
@="IExplore"

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\IfExec]
@="*"

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\Topic]
@="WWW_OpenURLNewWindow"

[HKEY_CLASSES_ROOT\htmlfile\shell\print]

[HKEY_CLASSES_ROOT\htmlfile\shell\print\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
  00,20,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,\
  73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,68,00,74,00,6d,00,6c,\
  00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00,6e,00,74,00,48,00,54,00,\
  4d,00,4c,00,20,00,22,00,25,00,31,00,22,00,00,00

[HKEY_CLASSES_ROOT\htmlfile\shell\printto]

[HKEY_CLASSES_ROOT\htmlfile\shell\printto\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
  00,20,00,25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,\
  73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,68,00,74,00,6d,00,6c,\
  00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00,6e,00,74,00,48,00,54,00,\
  4d,00,4c,00,20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,20,\
  00,22,00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00

[-HKEY_CLASSES_ROOT\htmlfile_FullWindowEmbed]

[HKEY_CLASSES_ROOT\htmlfile_FullWindowEmbed]
@="HTML Plugin Document"
"AppUserModelID"="Microsoft.InternetExplorer.Default"

[HKEY_CLASSES_ROOT\htmlfile_FullWindowEmbed\CLSID]
@="{25336921-03F9-11CF-8FD0-00AA00686F13}"

[-HKEY_CLASSES_ROOT\SystemFileAssociations\.html]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.html]
"PerceivedType"="document"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.html\ShellEx]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.html\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{f8b8412b-dea3-4130-b36c-5e8be73106ac}"

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\OpenWithProgids]
"htmlfile"=hex(0):

Meanwhile, I'm off to handle three corrupt partitions on my NAS SSDs.
Now we know how good SSDs behave :-/

   Paul
Re: HTML Icon
#61
Author: Brian Schrimpp
Date: Sat, 28 Nov 2026 07:04
48 lines
2367 bytes
David E. Ross wrote:

> Windows 7
> SeaMonkey 2.53.24
> 
> For some reason, HTML files now appear as blank pages with the
> upper-right corner folded over.  I tried editing my Windows registry to
> have all instances of .HTML point to the correct icon, but that has not
> worked; when I check, my edits are still indeed there.  I suspect that I
> am missing a registry entry that needs to be edited.
> 
> Can anyone help me fix this?


Normally, there are two parts to the HTML file icon setting in the 
Windows 7 registry.


1. FIRST PART

Both of the two keys
   [HKEY_CLASSES_ROOT\.htm]
   [HKEY_CLASSES_ROOT\.html]
should each have their (Default) set to "SeaMonkeyHTML".

These are set, not by editing the Windows registry, but by going to
   Control Panel / Default Programs / Associate a file type with a program
and setting SeaMonkey as the default both for .htm files and for .html 
files.


2. SECOND PART

The key
   [HKEY_CLASSES_ROOT\SeaMonkeyHTML\DefaultIcon]
should have its (Default) set to something similar to
   C:\Program Files\SeaMonkey\chrome\icons\default\html-file.ico,0
but this must be the actual path to the icon on your computer followed 
by a ',' comma and a '0' digit zero.

This is set, not by editing the Windows registry, but by the SeaMonkey 
installer.





Re: HTML Icon
#62
Author: David E. Ross
Date: Sat, 28 Nov 2026 18:02
58 lines
3238 bytes
On 11/27/2026 11:04 PM, Brian Schrimpp wrote:
> David E. Ross wrote:
> 
>> Windows 7
>> SeaMonkey 2.53.24
>>
>> For some reason, HTML files now appear as blank pages with the
>> upper-right corner folded over.  I tried editing my Windows registry to
>> have all instances of .HTML point to the correct icon, but that has not
>> worked; when I check, my edits are still indeed there.  I suspect that I
>> am missing a registry entry that needs to be edited.
>>
>> Can anyone help me fix this?
> 
> 
> Normally, there are two parts to the HTML file icon setting in the 
> Windows 7 registry.
> 
> 
> 1. FIRST PART
> 
> Both of the two keys
>    [HKEY_CLASSES_ROOT\.htm]
>    [HKEY_CLASSES_ROOT\.html]
> should each have their (Default) set to "SeaMonkeyHTML".
> 
> These are set, not by editing the Windows registry, but by going to
>    Control Panel / Default Programs / Associate a file type with a program
> and setting SeaMonkey as the default both for .htm files and for .html 
> files.
> 
> 
> 2. SECOND PART
> 
> The key
>    [HKEY_CLASSES_ROOT\SeaMonkeyHTML\DefaultIcon]
> should have its (Default) set to something similar to
>    C:\Program Files\SeaMonkey\chrome\icons\default\html-file.ico,0
> but this must be the actual path to the icon on your computer followed 
> by a ',' comma and a '0' digit zero.
> 
> This is set, not by editing the Windows registry, but by the SeaMonkey 
> installer.

I just now checked.  Both your parts 1 and 2 were already on my PC as
you specify.

-- 

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.
Re: HTML Icon
#63
Author: Paul in Houston TX
Date: Sat, 28 Nov 2026 18:39
16 lines
1814 bytes
David E. Ross wrote:
> Windows 7
> SeaMonkey 2.53.24
> 
> For some reason, HTML files now appear as blank pages with the
> upper-right corner folded over.  I tried editing my Windows registry to
> have all instances of .HTML point to the correct icon, but that has not
> worked; when I check, my edits are still indeed there.  I suspect that I
> am missing a registry entry that needs to be edited.
> 
> Can anyone help me fix this?

Maybe try creating a file "words.txt" (with a few words in it) then save 
as words.html).
Then use windows "open with" "choose default program".
Re: HTML Icon
#64
Author: David E. Ross
Date: Sat, 28 Nov 2026 21:16
31 lines
2325 bytes
On 11/28/2026 10:39 AM, Paul in Houston TX wrote:
> David E. Ross wrote:
>> Windows 7
>> SeaMonkey 2.53.24
>>
>> For some reason, HTML files now appear as blank pages with the
>> upper-right corner folded over.  I tried editing my Windows registry to
>> have all instances of .HTML point to the correct icon, but that has not
>> worked; when I check, my edits are still indeed there.  I suspect that I
>> am missing a registry entry that needs to be edited.
>>
>> Can anyone help me fix this?
> 
> Maybe try creating a file "words.txt" (with a few words in it) then save 
> as words.html).
> Then use windows "open with" "choose default program".
> 

I just now tried that.  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.
Re: HTML Icon
#65
Author: VanguardLH
Date: Sun, 29 Nov 2026 03:30
33 lines
2241 bytes
"David E. Ross" <nobody@nowhere.invalid> wrote:

> VanguardLH wrote:
>
>> "David E. Ross" <nobody@nowhere.invalid> wrote:
>> 
>>> Windows 7
>>> SeaMonkey 2.53.24
>>>
>>> For some reason, HTML files now appear as blank pages with the
>>> upper-right corner folded over.  I tried editing my Windows registry to
>>> have all instances of .HTML point to the correct icon, but that has not
>>> worked; when I check, my edits are still indeed there.  I suspect that I
>>> am missing a registry entry that needs to be edited.
>>>
>>> Can anyone help me fix this?
>> 
>> Had something akin happen like that before.  Eventually I shut down
>> Windows, and restarted.  Not go into hibernate or sleep, but a full
>> shutdown of Windows.  On restart, the icons were okay.
> 
> I tried that without success.

Weren't desktop icons mismatching part of the problem with the
ShellIconCache?  You cleared the icon cache to get it repopulated on
Explorer load.

In Windows 10, you deleted the IconCache.db file, or maybe all the
iconcache*.* files, and rebooted (just signing out and back into your
Windows account, or just killing and restarting explorer.exe might be
sufficient).  There are oodles of online articles how to clear the
cache.  Some tweakers have an option to clear the cache; e.g., WinAero
Tweaker (search for "icon cache").
Re: HTML Icon
#66
Author: JJ
Date: Sun, 29 Nov 2026 05:02
18 lines
1830 bytes
On Fri, 27 Nov 2026 21:53:05 -0800, David E. Ross wrote:
> 
> I tried that without success.

Shell's icon cache behaviour is a bit weird. It doesn't update when it's
supposed to.

To force clear/reset the shell icon cache, run below command line.

ie4uinit -ClearIconCache

That's applicable on Windows NT4 up to Windows 8.1.

On Windows 10+, it's changed to:

ie4uinit -show

IIRC, effective immediately. Doesn't require a restart/relogin.
Re: HTML Icon
#67
Author: David E. Ross
Date: Sun, 29 Nov 2026 05:36
39 lines
2337 bytes
On 11/28/2026 9:02 PM, JJ wrote:
> On Fri, 27 Nov 2026 21:53:05 -0800, David E. Ross wrote:
>>
>> I tried that without success.
> 
> Shell's icon cache behaviour is a bit weird. It doesn't update when it's
> supposed to.
> 
> To force clear/reset the shell icon cache, run below command line.
> 
> ie4uinit -ClearIconCache
> 
> That's applicable on Windows NT4 up to Windows 8.1.
> 
> On Windows 10+, it's changed to:
> 
> ie4uinit -show
> 
> IIRC, effective immediately. Doesn't require a restart/relogin.

I tried both
	ie4uinit -ClearIconCache
and
	ie4uinit -Clear IconCache
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.
Re: HTML Icon
#68
Author: Paul
Date: Sun, 29 Nov 2026 08:33
168 lines
5359 bytes
On Sun, 11/29/2026 12:36 AM, David E. Ross wrote:
> On 11/28/2026 9:02 PM, JJ wrote:
>> On Fri, 27 Nov 2026 21:53:05 -0800, David E. Ross wrote:
>>>
>>> I tried that without success.
>>
>> Shell's icon cache behaviour is a bit weird. It doesn't update when it's
>> supposed to.
>>
>> To force clear/reset the shell icon cache, run below command line.
>>
>> ie4uinit -ClearIconCache
>>
>> That's applicable on Windows NT4 up to Windows 8.1.
>>
>> On Windows 10+, it's changed to:
>>
>> ie4uinit -show
>>
>> IIRC, effective immediately. Doesn't require a restart/relogin.
> 
> I tried both
> 	ie4uinit -ClearIconCache
> and
> 	ie4uinit -Clear IconCache
> No success.

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
Re: HTML Icon
#69
Author: David E. Ross
Date: Sun, 29 Nov 2026 21:06
164 lines
5795 bytes
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.
Re: HTML Icon
#70
Author: VanguardLH
Date: Mon, 30 Nov 2026 03:14
174 lines
6492 bytes
"David E. Ross" <nobody@nowhere.invalid> wrote:

> 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.  );

I'd use a tool that showed the resources with an .exe or .dll for a
program.  Icons are a resources, and why you see an index number in
registry entries pointing to them as enumerated resources.  One way to
see them (without extracting them, like using Nirsoft's extraction tool)
is to right-click on a file, Properties, Change Icon, and see what icons
are listed.  Maybe you see a text doc icon because that is the what the
Seamonkey exe or dll has for the default icon resource (which could mean
the file has been corrupted, or altered perhaps by something untoward).

Can you download the latest full installer for Seamonkey, and do an
install that steps on the current install?  Looks like 2.53.24 is the
latest version available at https://www.seamonkey-project.org/releases/.
I've never bothered with Seamonkey, but like Firefox there may an
earlier release that is the maximum version which supports Windows 7.
According to https://www.seamonkey-project.org/doc/system-requirements,
you need to have "Windows 7 SP1 with KB4474419 SHA-2 code signing
support added".  However, it also mentions 2.53.21 was the last version
that support 32-bit Windows. Don't know what bit-width of Win7 you have.
Re: HTML Icon
#71
Author: JJ
Date: Mon, 30 Nov 2026 06:22
17 lines
2323 bytes
On Sun, 29 Nov 2026 13:06:14 -0800, David E. Ross wrote:
> 
> 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.  );

Perhaps the simplest (but tedious) method is to search the registry of all
`firefox.exe` value data which is stored in the `(Default)` value name,
where that value is contained directly within `DefaultIcon` subkey.

Check whether the path is correct or not, and correct it if it's wrong; then
relogin, and then clear the icon cache.

FYI, the value data format is: {file-path},{icon-number}
Re: HTML Icon
#72
Author: Paul
Date: Mon, 30 Nov 2026 07:48
197 lines
7374 bytes
On Sun, 11/29/2026 4:06 PM, David E. Ross wrote:
> 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.  );
> 

I followed the LLM-AI train of thought, and I ended up (via UserChoice override) at:

    HKCR\FirefoxHTML-30804680AF4A39CB
       DefaultIcon  REG_SZ   C:\Program Files\Mozilla Firefox\firefox.exe,1

Using 7ZIP on Firefox.exe (Firefox Setup 115.10.0esr--x86.exe), shows

   .rsrc
     ICON
       1.ico       Plain firefox logo with mask for background to leak through
       4
       8
      12           These are a purple sheet with bent upper-right corner
                   and Plain firefox logo laid on top

And it would seem File Explorer is displaying 8 right now.

On my Win7 then, the UserChoice name is FirefoxHTML-30804680AF4A39CB .

Whereas on Windows 11, with some old copy of Firefox, the
document icon is Plain firefox logo with mask for background to leak through.
And File Explorer displays this as a white sheet with a bent upper-right corner
and the Plain firefox icon on top of it.

So while the resource path would tend to suggest 1.ico be used,
in practice multiple icon sizes are in the ICON folder and by
some means the software picks the one with the right dimensions
(like 64x64 icon instead of 16x16 kind of thing).

The same thing can happen with cache implementations in Windows.
There can be a db for each size, and the size File Explorer is
looking for is the one it will use. Presumably all of the
sizes are consulted during installation or so. One version of
Windows, put them all in one file, later on the database files
were split out, according to size (large icon, extra large icon).
You can change the File Explorer icon choice in the view options
and try out the various sizes. The ones I get in my Windows 7 VM
from small icons to extra large icons are consistent, purple sheet
with the orange logo in the center.

   Paul
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads