微軟曾經推送了一個名為KB3135173積累更新補丁,很多用戶更新了該枚補丁之後,Win10系統就會出現很多故障,其中最多見的當屬“已重置應用默認設置”提示了,故障表現為Win10默認應用被重置提示不斷,解決該問題也不難。
Win10默認應用被重置如何阻止?(操作步驟以圖片為例)
1、在任務欄Cortana搜索框輸入regedit後按回車鍵,進入注冊表編輯器;
2、定位到:
HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Packages\Microsoft.Windows.Photos_16.201.11370.0_x64__8wekyb3d8bbwe
注意:上述位置中的版本號可靈活掌握,如果你的系統中照片應用版本並非上述版本,可尋找同類格式的內容,形式如下:
Microsoft.Windows.Photos_nnn.nnn_x64__10
其中“nnn.nn……”代表版本號中的相應數字。
3、在右邊窗口找到相應的圖片格式,如 jpg(如上圖),記錄下鍵值AppX43hnxtbyyps62jhe9sqpdzxn1790zetc
4、定位到HKEY_CURRENT_USER\SOFTWARE\Classes\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc
5、在右邊創建新的字符串,命名為NoOpenWith,數值數據留空,如下圖 ——
如此一來,這一格式的文件不會再受Win10重置默認應用的打擾。但這樣挨個“規范”也有點過於麻煩,你也可以直接把以下代碼保存為注冊表文件,直接添加即可,已在Win10正式版10586測試:
Windows Registry Editor Version 5.00 ;Description: Prevents Windows 10 from resetting the file associations ;... by setting NoOpenWith registry value for all the modern apps. ;Tested in Windows 10 Build 10586 ;------------------- ;Microsoft.3DBuilder ;------------------- ;File Types: .stl, .3mf, .obj, .wrl, .ply, .fbx, .3ds, .dae, .dxf, .bmp ;... .jpg, .png, .tga [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXvhc4p7vz4b485xfp46hhk3fq3grkdgjg] "NoOpenWith"="" ;------------------- ;Microsoft Edge ;------------------- ;File Types: .htm, .html [HKEY_CURRENT_USER\SOFTWARE\Classes\AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9] "NoOpenWith"="" ;File Types: .pdf [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723] "NoOpenWith"="" ;File Types: .svg [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXde74bfzw9j31bzhcvsrxsyjnhhbq66cs] "NoOpenWith"="" ;File Types: .xml [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXcc58vyzkbjbs4ky0mxrmxf8278rk9b3t] "NoOpenWith"="" ;------------------- ;Microsoft Photos ;------------------- ;File Types: .3g2,.3gp, .3gp2, .3gpp, .asf, .avi, .m2t, .m2ts, .m4v, .mkv ;... .mov, .mp4, mp4v, .mts, .tif, .tiff, .wmv [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXk0g4vb8gvt7b93tg50ybcy892pge6jmt] "NoOpenWith"="" ;File Types: Most Image File Types [HKEY_CURRENT_USER\SOFTWARE\Classes\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc] "NoOpenWith"="" ;File Types: .raw, .rwl, .rw2 and others [HKEY_CURRENT_USER\SOFTWARE\Classes\AppX9rkaq77s0jzh1tyccadx9ghba15r6t3h] "NoOpenWith"="" ;------------------- ; Zune Music ;------------------- ;File Types: .aac, .adt, .adts ,.amr, .flac, .m3u, .m4a, .m4r, .mp3, .mpa ;.. .wav, .wma, .wpl, .zpl [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXqj98qxeaynz6dv4459ayz6bnqxbyaqcs] "NoOpenWith"="" ;------------------- ; Zune Video ;------------------- ;File Types: .3g2,.3gp, .3gpp, .avi, .divx, .m2t, .m2ts, .m4v, .mkv, .mod ;... .mov, .mp4, mp4v, .mpe, .mpeg, .mpg, .mpv2, .mts, .tod, .ts ;... .tts, .wm, .wmv, .xvid [HKEY_CURRENT_USER\SOFTWARE\Classes\AppX6eg8h5sxqq90pv53845wmnbewywdqq5h] "NoOpenWith"=""
將上述文本復制到記事本中,然後另存為.reg格式即可,文件名和保存位置任意,如上圖所示。
若要恢復默認設定,按照同樣方法把如下文本保存即可:
Windows Registry Editor Version 5.00 ;Description: UNDO file for the earlier NoOpenWith registry edit ;Tested in Windows 10 Build 10586 ;------------------- ;Microsoft.3DBuilder ;------------------- ;File Types: .stl, .3mf, .obj, .wrl, .ply, .fbx, .3ds, .dae, .dxf, .bmp ;... .jpg, .png, .tga [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXvhc4p7vz4b485xfp46hhk3fq3grkdgjg] "NoOpenWith"=- ;------------------- ;Microsoft Edge ;------------------- ;File Types: .htm, .html [HKEY_CURRENT_USER\SOFTWARE\Classes\AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9] "NoOpenWith"=- ;File Types: .pdf [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723] "NoOpenWith"=- ;File Types: .svg [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXde74bfzw9j31bzhcvsrxsyjnhhbq66cs] "NoOpenWith"=- ;File Types: .xml [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXcc58vyzkbjbs4ky0mxrmxf8278rk9b3t] "NoOpenWith"=- ;------------------- ;Microsoft Photos ;------------------- ;File Types: .3g2,.3gp, .3gp2, .3gpp, .asf, .avi, .m2t, .m2ts, .m4v, .mkv ;... .mov, .mp4, mp4v, .mts, .tif, .tiff, .wmv [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXk0g4vb8gvt7b93tg50ybcy892pge6jmt] "NoOpenWith"=- ;File Types: Most Image File Types [HKEY_CURRENT_USER\SOFTWARE\Classes\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc] "NoOpenWith"=- ;File Types: .raw, .rwl, .rw2 and others [HKEY_CURRENT_USER\SOFTWARE\Classes\AppX9rkaq77s0jzh1tyccadx9ghba15r6t3h] "NoOpenWith"=- ;------------------- ; Zune Music ;------------------- ;File Types: .aac, .adt, .adts ,.amr, .flac, .m3u, .m4a, .m4r, .mp3, .mpa ;.. .wav, .wma, .wpl, .zpl [HKEY_CURRENT_USER\SOFTWARE\Classes\AppXqj98qxeaynz6dv4459ayz6bnqxbyaqcs] "NoOpenWith"=- ;------------------- ; Zune Video ;------------------- ;File Types: .3g2,.3gp, .3gpp, .avi, .divx, .m2t, .m2ts, .m4v, .mkv, .mod ;... .mov, .mp4, mp4v, .mpe, .mpeg, .mpg, .mpv2, .mts, .tod, .ts ;... .tts, .wm, .wmv, .xvid [HKEY_CURRENT_USER\SOFTWARE\Classes\AppX6eg8h5sxqq90pv53845wmnbewywdqq5h] "NoOpenWith"=-以上便是關於Win10默認應用被重置的解決方法,微軟只是推送新補丁來替代舊有的問題補丁,但Win10中默認應用被重置問題並沒有給出確切的解決方法,若有用戶遇到同樣情況時可參考下上述這個方法。