win10 设置打开方式后不生效或者二次依然需要重新打开方式

2019-10-08  本文已影响0人  LAMYMAY

[Win10疑难方] 系统无法更改文件默认打开方式

0.041<time datetime="2018-10-29T01:23:29.000Z" style="box-sizing: border-box; margin-right: 8px;">2018.10.29 09:23:29</time>字数 309阅读 18168

<article class="_2rhmJa" style="box-sizing: border-box; display: block; font-weight: 400; line-height: 1.8; margin-bottom: 20px; color: rgb(64, 64, 64); font-family: -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">

起因

近期win10自动更新之后,存在文件默认打开方式无法设置的情况,各大网站搜寻鲜有记录。甚至连Windows客服都是在瞎指挥!

症状

病理

  1. 目前win10自动更新的补丁中存在bug(是的,微软开始给你更新bug了)

处方

  1. 文件夹 [图片上传失败...(image-460da1-1570672923876)]

    控制面板 [图片上传失败...(image-d07268-1570672923876)]

    程序和功能 [图片上传失败...(image-36506-1570672923876)]

    查看已安装的更新 [图片上传失败...(image-adf9ac-1570672923876)]

    找到 KB4462919 [图片上传失败...(image-d74105-1570672923876)]

    KB4462919 [图片上传失败...(image-bf5f7-1570672923876)]

    右键 [图片上传失败...(image-4381eb-1570672923876)]

    卸载更新 [图片上传失败...(image-f33fe0-1570672923876)]

    重启

  2. [2018-11-1更新] KB4462933补丁也会导致此问题,卸载补丁即可

  3. [2018-12-03 官方修复更新] : Windows Update安装KB4467682补丁即可。感谢16楼 @Hanns,已测有效

PS:默认的Win10界面的卸载程序不一定能直接操作更新卸载,Win7是Windows操作系统,Win10是Wall操作系统!

参考

感谢@high-light 在这个页面上给出了正确的方法。

</article>

11人点赞

程序猿日记

微软在 2018 年 11 月 27 日 - KB4467682 补丁中终于修复了这个问题。更新方法是:“设置” > “更新和安全” > “Windows 更新” > “检查更新”,等待下载安装完成后重启即可。
详见:https://support.microsoft.com/zh-cn/help/4467682/windows-10-update-kb4467682


win10解决设置默认打开方式不生效问题(双击每次都要选择默认打开程序)

<article class="baidu_pl" style="box-sizing: inherit; outline: 0px; display: block; color: rgb(51, 51, 51); font-family: "SF Pro Display", Roboto, Noto, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(245, 246, 247); text-decoration-style: initial; text-decoration-color: initial;">

How to change the default programs in Windows 10.

系统:

windows 10 1803 专业版 (windows 10 professional)

现象:

1.例如有文件 a.shp文件,需要以后双击默认使用notepad++打开。但是每次双击,都要弹出选择框选择打开方式里面的Notepad++。不能直接打开,很烦很烦有木有。类似这样:

image

2.右键a.shp文件,打开方式更改选择,选择notepad,勾上以后默认使用该程序打开。但是,没效果!

3.没办法,打开设置找到应用-默认程序-根据文件类型指定默认应用。但是,找不到.shp后缀名啊!

4.假设找到了.shp后缀名,点击右边+号,但是,只弹出uwp应用有木有啊,不能选择我们自己安装的notepad++应用啊。尼玛微软的设计师脑残啊。

解决方案:

1.通过修改注册表的方式,关联后缀名。直接关联上后缀名的默认应用。

2.自己写的。

gitee地址:https://gitee.com/nothix/ChangeDefaultProgramsInWin10

github地址:https://github.com/shan165310175/ChangeDefaultProgramsInWin10

3.使用方式,先下载。

image
1.进入dist目录,右键以管理员方式运行ChangeDefaultProgramsInWin10.exe

2.例如要修改后缀名.aaa的文件关联notepad.exe文件。(以后双击.aaa文件,就使用notepad打开,则如下设置,点击修改即可)

avatar

�0�2

�0�2

PS: 抱歉,有些朋友可能出现问题,这里大家可以手动处理,修改注册表,这里我拿.shp后缀名文件示例:

1. 按Win+R键,输入regedit打开注册表编辑器

image

2.打开HKEY_CLASS_ROOT项

image

右键 - 新建 -项,名称为.shp

image

(如果已经存在,则删除原来的)

双击右边默认项,填写值为: shp_auto_file�0�2 �0�2 �0�2 �0�2 �0�2 �0�2(格式:后缀名_auto_file)

image

之后再右键HKEY_CLASSES_ROOT新建项,名称为shp_auto_file

建立如下结构:

image

3.进入HKEY_CURRENT_USER/Software/classes,创建了步骤2一样的.shp, shp_auto_file项。

image

4.大功告成!文件已经关联了。(貌似1,2步骤做完后,文件就关联上了,呵呵o( ̄) ̄)o)

</article>

本文链接:https://blog.csdn.net/shan165310175/article/details/83450187
https://blog.csdn.net/shan165310175/article/category/1870807

上一篇下一篇

猜你喜欢

热点阅读