热门装机教程
装机教程
您现在的位置: 首页 > 装机教程

修复exe文件关联的注册表制作

来源:    发布时间:2020-04-26 08:57:31
有些客户打开电脑全部exe程序都变成浏览器,可以尝试使用一下这个方法。也许不需要重装系统了。

代码如下:
Windows Registry Editor Version 5.00 
[HKEY_CLASSES_ROOT\exefile] 
@="应用程序" 
"EditFlags"=hex:38,07,00,00 
"TileInfo"="prop:FileDescription;Company;FileVersion" 
"InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size" 
[HKEY_CLASSES_ROOT\exefile\DefaultIcon] 
@="%1" 
[HKEY_CLASSES_ROOT\exefile\shell] 
[HKEY_CLASSES_ROOT\exefile\shell\open] 
"EditFlags"=hex:00,00,00,00 
[HKEY_CLASSES_ROOT\exefile\shell\open\command] 
@="\"%1\" %*" 
[HKEY_CLASSES_ROOT\exefile\shell\runas] 
[HKEY_CLASSES_ROOT\exefile\shell\runas\command] 
@="\"%1\" %*" 
[HKEY_CLASSES_ROOT\exefile\shellex] 
[HKEY_CLASSES_ROOT\exefile\shellex\DropHandler] 
@="{86C86720-42A0-1069-A2E8-08002B30309D}" 
[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers] 
[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps] 
@="{86F19A00-42A0-1069-A2E9-08002B30309D}" 
[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\ShimLayer Property Page] 
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}" 
[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}] 
@="" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.exe] 
@="exefile" 
"Content Type"="application/x-msdownload" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.exe\PersistentHandler] 
@="{098f2470-bae0-11cd-b579-08002b30bfeb}" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile] 
@="应用程序" 
"EditFlags"=hex:38,07,00,00 
"TileInfo"="prop:FileDescription;Company;FileVersion" 
"InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\DefaultIcon] 
@="%1" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell] 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\open] 
"EditFlags"=hex:00,00,00,00 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\open\command] 
@="\"%1\" %*" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\runas] 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\runas\command] 
@="\"%1\" %*" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shellex] 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shellex\DropHandler] 
@="{86C86720-42A0-1069-A2E8-08002B30309D}" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shellex\PropertySheetHandlers] 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shellex\PropertySheetHandlers\PifProps] 
@="{86F19A00-42A0-1069-A2E9-08002B30309D}" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shellex\PropertySheetHandlers\ShimLayer Property Page] 
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}" 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shellex\PropertySheetHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}] 
@="" 

将以上文本复制到TXT文档中,然后保存并重命名将后序TXT改成REG保存即可。然后双击直接点击该reg即可运行。如果遇到这样问题的小伙伴,记得尝试一下哦!