🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.windows7.general
Article #60

Re: HTML Icon

#60
From: 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
Technical Details
Message-ID: <11edtqv$2b0gj$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11edma1$28vh4$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Paul <nospam@needed.invalid>
Newsgroups: alt.windows7.general
Subject: Re: HTML Icon
Date: Sat, 28 Nov 2026 01:54:22 -0500
Organization: A noiseless patient Spider
Lines: 175
Message-ID: <11edtqv$2b0gj$1@dont-email.me>
References: <11edma1$28vh4$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 28 Nov 2026 06:54:25 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2458131"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18Eji1w6vN96Pz0UqeDx1UQBOZ9ebmP1xo="; posting-host="7807abfff777d55efa5ff7c1eca39f85"
User-Agent: THIS SPACE FOR RENT
Cancel-Lock: sha1:ntbx4rOVAJxpvQ/dFY3IFqngS/k= sha256:DxbrQ5FASjN+CjMagrhrKUNQEiXqIj3j7l3c3wDM7WY=
	sha1:3tvC/7lXyaeL1X3D7DAk0Q2eLiQ= sha256:j+vI4QftEhRA+GBaALcvQCSKYb98SA8yKNiCrn9ISzo=
In-Reply-To: <11edma1$28vh4$1@dont-email.me>
Content-Language: en-US