对于正在使用 Windows 11 系统的用户来说肯定会多少有很多不习惯,无论是 Windows UI 还是在功能上和之前的 Windows 操作系统都有很大改变。当然,微软这样做也只是希望能给用户带来更好的用户体验,不过在我们得到一些新功能的时候,微软也悄悄的移除了一些功能。
今天就和大家一起来把 Windows 11 右键菜单中的新建文本文档功能给您找回来。
如何为 Windows 11 右键菜单恢复新建文本文档快捷方式
此方法依然是基于注册表修改的方式,在 Windows 11 系统中成功恢复新建文本文档右键快捷方式。
先在 Windows 11 中搜索记事本并打开,复制以下注册表内容并粘贴保存,在保存的时候注意文档编码更改为 Unicode 编码(这样不会出现右键乱码情况)。
保存后再修改文本 .txt 后缀为 .reg,这样就变成注册表文件,双击导入合并注册表即可。
Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\.txt\ShellNew] [HKEY_CLASSES_ROOT\.txt\ShellNew] "ItemName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\ 6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\ 00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,2c,00,\ 2d,00,34,00,37,00,30,00,00,00 "NullFile"="" [-HKEY_CLASSES_ROOT\.txt] [HKEY_CLASSES_ROOT\.txt] @="txtfile" "Content Type"="text/plain" "PerceivedType"="text" [HKEY_CLASSES_ROOT\.txt\PersistentHandler] @="{5e941d80-bf96-11cd-b579-08002b30bfeb}" [HKEY_CLASSES_ROOT\.txt\ShellNew] "ItemName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\ 6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\ 00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,2c,00,\ 2d,00,34,00,37,00,30,00,00,00 "NullFile"="" [-HKEY_CLASSES_ROOT\SystemFileAssociations\.txt] [HKEY_CLASSES_ROOT\SystemFileAssociations\.txt] "PerceivedType"="document" [-HKEY_CLASSES_ROOT\txtfile] [HKEY_CLASSES_ROOT\txtfile] @="Text Document" "EditFlags"=dword:00210000 "FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\ 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\ 32,00,5c,00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,\ 00,2c,00,2d,00,34,00,36,00,39,00,00,00 [HKEY_CLASSES_ROOT\txtfile\DefaultIcon] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,6d,00,\ 61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,\ 00,30,00,32,00,00,00 [HKEY_CLASSES_ROOT\txtfile\shell\open\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\ 54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\ 00 [HKEY_CLASSES_ROOT\txtfile\shell\print\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\ 54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,2f,00,70,00,20,\ 00,25,00,31,00,00,00 [HKEY_CLASSES_ROOT\txtfile\shell\printto\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6e,00,6f,00,\ 74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,70,00,74,\ 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_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt] [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList] [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithProgids] "txtfile"=hex(0): [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice] "Hash"="hyXk/CpboWw=" "ProgId"="txtfile" [-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Roaming\OpenWith\FileExts\.txt] [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Roaming\OpenWith\FileExts\.txt\UserChoice] "Hash"="FvJcqeZpmOE=" "ProgId"="txtfile"
导入后,您还需要重启任务管理器或者注销(重启计算机也行)当前帐户重新进入系统,您会发现右键菜单中的新建文本文档快捷方式已经回来了。
此方法不仅适用于 Windows 11,其它的 Windows 系统也适用。
如何删除 Windows 11 右键菜单新建文本文档快捷方式
有些人喜欢,有些人觉得多余,对于添加后想要恢复的,您一样可以通过复制以下注册表的方式,新建保存为注册表文件,然后双击导入即可完成。
Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\.txt\ShellNew]
注册表中存储了很多 Windows 操作系统的相关配置,对于不熟悉注册表的用户来说请勿对注册表中的文件进行删除或者新增。当然,如果您喜欢研究 Windows 注册表,那么您也可以查阅相关的教程,这样以后再出现其它问题时,或许您可以通过修改注册表即可解决问题。