取消edge打开pdf文件的关联

背景:

edge会自动把pdf文件的关联修改回来

 

方法1:

1.运行 -> regedit

2.注册表展开到以下路径:

HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel
\Repository\Packages\Microsoft.MicrosoftEdge_(版本号)\MicrosoftEdge\Capabilities\FileAssociations

3.把右边的.pdf改成.pdf_

4.关闭注册表

 

方法2:

1.先对着pdf文件右键,属性,修改默认打开方式为其它工具

2.运行 -> regedit

3.注册表展开到以下路径:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf

4.对.pdf右键 -> 权限 -> 在“完全控制”项勾选拒绝

5.关闭注册表

 

posted @ 2024-06-08 15:51  Clotho_Lee  阅读(28)  评论(0编辑  收藏  举报