slyfox1186

fix-windows-10-exe-errors.reg

May 14th, 2021 (edited)
2,304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
REG 1.95 KB | None | 0 0
  1. Windows Registry Editor Version 5.00
  2.  
  3. ; This is tested on Windows 10, if you have another version I have no idea what the outcome could be.
  4. ; RUN THIS AT YOUR OWN RISK
  5. ; ALWAYS make BACKUPS of your registry before running any reg files!
  6.  
  7. ; The purpose of this is to reset the registry keys for exe files back to their "fresh install" status.
  8. ; The hope is it fixes issues such as taskbar pin errors not starting files or programs when clicked on.
  9.  
  10. ; Save this using a .reg extension and run the file as an administrator.
  11.  
  12. ; I believe any results should be immediate, however, a reboot never hurts just to make sure.
  13.  
  14. [-HKEY_CLASSES_ROOT\.exe]
  15. [HKEY_CLASSES_ROOT\.exe]
  16. @="exefile"
  17. "Content Type"="application/x-msdownload"
  18.  
  19. [HKEY_CLASSES_ROOT\.exe\PersistentHandler]
  20. @="{098f2470-bae0-11cd-b579-08002b30bfeb}"
  21.  
  22. [-HKEY_CLASSES_ROOT\exefile]
  23. [HKEY_CLASSES_ROOT\exefile]
  24. @="Application"
  25. "EditFlags"=hex:38,07,00,00
  26. "FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
  27.   00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
  28.   32,00,5c,00,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,\
  29.   00,2c,00,2d,00,31,00,30,00,31,00,35,00,36,00,00,00
  30.  
  31. [HKEY_CLASSES_ROOT\exefile\DefaultIcon]
  32. @="%1"
  33.  
  34. [HKEY_CLASSES_ROOT\exefile\shell]
  35.  
  36. [HKEY_CLASSES_ROOT\exefile\shell\Open]
  37. "EditFlags"=hex:00,00,00,00
  38.  
  39. [HKEY_CLASSES_ROOT\exefile\shell\open\command]
  40. @="\"%1\" %*"
  41. "IsolatedCommand"="\"%1\" %*"
  42.  
  43. [HKEY_CLASSES_ROOT\exefile\shell\RunAs]
  44. "HasLUAShield"=""
  45.  
  46. [HKEY_CLASSES_ROOT\exefile\shell\RunAs\command]
  47. @="\"%1\" %*"
  48. "IsolatedCommand"="\"%1\" %*"
  49.  
  50. [HKEY_CLASSES_ROOT\exefile\shell\runasuser]
  51. @="@shell32.dll,-50944"
  52. "Extended"=""
  53. "SuppressionPolicyEx"="{F211AA05-D4DF-4370-A2A0-9F19C09756A7}"
  54.  
  55. [HKEY_CLASSES_ROOT\exefile\shell\runasuser\command]
  56. "DelegateExecute"="{ea72d00e-4960-42fa-ba92-7792a7944c1d}"
  57.  
  58. [-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe]
  59.  
Advertisement
Add Comment
Please, Sign In to add comment