2024年10月如何阻止Win10重复重置默认应用?(2)

发布时间:

  ⑴、在右边创建新的字符串,命名为NoOpenWith,数值数据留空,如下图 ——

  ⑵如此一来,这一格式的文件不会再受Win重置默认应用的打扰。但这样挨个“规范”也有点过于麻烦,你也可以直接把以下代码保存为注册表文件,直接添加即可,已在Win正式版测试:

  ⑶Windows Registry Editor Version .

  ⑷;Description: Prevents Windows from resetting the file associations

  ⑸;... by setting NoOpenWith registry value for all the modern apps.

  ⑹;Tested in Windows Build

  ⑺;-------------------

  ⑻;Microsoft.DBuilder

  ⑼;-------------------

  ⑽;File Types: .stl, .mf, .obj, .wrl, .ply, .fbx, .ds, .dae, .dxf, .bmp

  ⑾;... .jpg, .png, .tga

  ⑿[HKEY_CURRENT_USERSOFTWAREClassesAppXvhcpvzbxfphhkfqgrkdgjg]

  ⒀“NoOpenWith”=“”

  ⒁;-------------------

  ⒂;Microsoft Edge

  ⒃;-------------------

  ⒄;File Types: .htm, .html

  ⒅[HKEY_CURRENT_USERSOFTWAREClassesAppXhxtadfbkjkkeerkrmzewjfs]

  ⒆“NoOpenWith”=“”

  ⒇;File Types: .pdf

  ⒈[HKEY_CURRENT_USERSOFTWAREClassesAppXdnrzffsrnhftasbjyarcr]

  ⒉“NoOpenWith”=“”

  ⒊;File Types: .svg

  ⒋[HKEY_CURRENT_USERSOFTWAREClassesAppXdebfzwjbzhcvsrxsyjnhhbqcs]

  ⒌“NoOpenWith”=“”

  ⒍;File Types: .xml

  ⒎[HKEY_CURRENT_USERSOFTWAREClassesAppXvyzkbjbskymxrmxfrkbt]

  ⒏“NoOpenWith”=“”

  ⒐;-------------------

  ⒑;Microsoft Photos

  ⒒;-------------------

  ⒓;File Types: .g,.gp, .gp, .gpp, .asf, .avi, .mt, .mts, .mv, .mkv

  ⒔;... .mov, .mp, mpv, .mts, .tif, .tiff, .wmv

  ⒕[HKEY_CURRENT_USERSOFTWAREClassesAppXkgvbgvtbtgybcypgejmt]

  ⒖“NoOpenWith”=“”

  ⒗;File Types: Most Image File Types

  ⒘[HKEY_CURRENT_USERSOFTWAREClassesAppXhnxtbyypsjhesqpdzxnzetc]

  ⒙“NoOpenWith”=“”

  ⒚;File Types: .raw, .rwl, .rw and others

  ⒛[HKEY_CURRENT_USERSOFTWAREClassesAppXrkaqsjzhtyadxghbarth]

  ①“NoOpenWith”=“”

  ②;-------------------

  ③; Zune Music

  ④;-------------------

  ⑤;File Types: .aac, .adt, .adts ,.amr, .flac, .mu, .ma, .mr, .mp, .mpa

  ⑥;.. .wav, .wma, .wpl, .zpl

  ⑦[HKEY_CURRENT_USERSOFTWAREClassesAppXqjqxeaynzdvayzbnqxbyaqcs]

  ⑧“NoOpenWith”=“”

  ⑨;-------------------

  ⑩; Zune Video

  Ⅰ;-------------------

  Ⅱ;File Types: .g,.gp, .gpp, .avi, .divx, .mt, .mts, .mv, .mkv, .mod

  Ⅲ;... .mov, .mp, mpv, .mpe, .mpeg, .mpg, .mpv, .mts, .tod, .ts

  Ⅳ;... .tts, .wm, .wmv, .xvid

  Ⅴ[HKEY_CURRENT_USERSOFTWAREClassesAppXeghsxqqpvwmnbewywdqqh]

  Ⅵ“NoOpenWith”=“”