slyfox1186

fix_windows_10_exe_errors.reg

May 14th, 2021 (edited)
784
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  15.  
  16. [-HKEY_CLASSES_ROOT\.exe]
  17. [HKEY_CLASSES_ROOT\.exe]
  18. @="exefile"
  19. "Content Type"="application/x-msdownload"
  20.  
  21. [HKEY_CLASSES_ROOT\.exe\PersistentHandler]
  22. @="{098f2470-bae0-11cd-b579-08002b30bfeb}"
  23.  
  24. [-HKEY_CLASSES_ROOT\exefile]
  25. [HKEY_CLASSES_ROOT\exefile]
  26. @="Application"
  27. "EditFlags"=hex:38,07,00,00
  28. "FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
  29.   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,\
  30.   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,\
  31.   00,2c,00,2d,00,31,00,30,00,31,00,35,00,36,00,00,00
  32.  
  33. [HKEY_CLASSES_ROOT\exefile\DefaultIcon]
  34. @="%1"
  35.  
  36. [HKEY_CLASSES_ROOT\exefile\shell]
  37.  
  38. [HKEY_CLASSES_ROOT\exefile\shell\Open]
  39. "EditFlags"=hex:00,00,00,00
  40.  
  41. [HKEY_CLASSES_ROOT\exefile\shell\open\command]
  42. @="\"%1\" %*"
  43. "IsolatedCommand"="\"%1\" %*"
  44.  
  45. [HKEY_CLASSES_ROOT\exefile\shell\RunAs]
  46. "HasLUAShield"=""
  47.  
  48. [HKEY_CLASSES_ROOT\exefile\shell\RunAs\command]
  49. @="\"%1\" %*"
  50. "IsolatedCommand"="\"%1\" %*"
  51.  
  52. [HKEY_CLASSES_ROOT\exefile\shell\runasuser]
  53. @="@shell32.dll,-50944"
  54. "Extended"=""
  55. "SuppressionPolicyEx"="{F211AA05-D4DF-4370-A2A0-9F19C09756A7}"
  56.  
  57. [HKEY_CLASSES_ROOT\exefile\shell\runasuser\command]
  58. "DelegateExecute"="{ea72d00e-4960-42fa-ba92-7792a7944c1d}"
  59.  
  60. [-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe]
  61.  
RAW Paste Data