You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows 11下更改.html扩展名默认应用及该扩展名未显示在默认应用设置中的问题求助

Windows 11下更改.html扩展名默认应用及该扩展名未显示在默认应用设置中的问题求助

各位大佬好,我现在碰到个麻烦事:在Windows 11的「默认应用」设置页面里,*.html这个扩展名居然没显示出来,导致我没法直接在这里修改它的默认打开程序。

【默认应用设置界面的截图如下】

后来我上网搜了相关的解决方案,找到了一款叫FileTypeDiag的工具,运行它之后生成了一个文本文件,但我完全看不懂这个文件里的内容,也不知道该怎么用它来解决我的问题。下面是这个文本文件的内容:

Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\.html\OpenWithProgids]
"htmlfile"=hex(0):

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

[HKEY_CLASSES_ROOT\.html\ShellEx]

[HKEY_CLASSES_ROOT\.html\ShellEx\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\.html\ShellEx\ContextMenuHandlers\HTML File Context Menu]
@="{00021401-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\.html\ShellEx\ContextMenuHandlers\OpenContainingFolderMenu]
@="{37ea3a21-7493-4208-a011-7f9ea79ce9f5}"

[HKEY_CLASSES_ROOT\.html\ShellEx\ContextMenuHandlers\ShellMenu]
@="{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}"

[HKEY_CLASSES_ROOT\.html\ShellEx\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"

[HKEY_CLASSES_ROOT\.html\ShellEx\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\.html\ShellEx\PropertySheetHandlers\HTMLPageProps]
@="{EAB841A0-9550-11cf-8C16-00805F1408F3}"

[HKEY_CLASSES_ROOT\.html\ShellNew]
"NullFile"=""

有没有大佬能帮我看看这个文件里的信息,告诉我该怎么操作才能让.html扩展名出现在默认应用设置里,或者直接修改它的默认打开程序呀?谢谢大家了!

备注:内容来源于stack exchange,提问作者Christian Villanueva

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 08:13:00