如何禁止Win10重復重置默認應用
win10完成自動更新后,操作中心彈出提示已重置應用默認設置,讓不少用戶抱怨系統(tǒng)自作主張更改設置,那么如何禁止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
注意:上述位置中的版本號可靈活掌握,如果你的系統(tǒng)中照片應用版本并非上述版本,可尋找同類格式的內(nèi)容,形式如下:
Microsoft.Windows.Photos_nn.nnn.nnnnn.n_x64__8wekyb3d8bbwe
其中“nnn...”代表版本號中的相應數(shù)字。
3、在右邊窗口找到相應的圖片格式,如 jpg(如上圖),記錄下鍵值AppX43hnxtbyyps62jhe9sqpdzxn1790zetc
4、定位到
HKEY_CURRENT_USER\SOFTWARE\Classes\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc
5、在右邊創(chuàng)建新的字符串,命名為NoOpenWith,數(shù)值數(shù)據(jù)留空,如下圖 ——
如此一來,這一格式的文件不會再受Win10重置默認應用的打擾。但這樣挨個“規(guī)范”也有點過于麻煩,你也可以直接把以下代碼保存為注冊表文件,直接添加即可,已在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重復重置默認應用相關文章: