How do I change file type of all .exe files?


  1. Posts : 4
    32 bit Windows home premium
       #1

    How do I change file type of all .exe files?


    I was playing around on my computer with regedit.exe, I found file type .exe and clicked it. There were two files (looks like a piece of paper torn in half with red letters "ab" on it), I right clicked the first, went to modify, and changed the value from "exefile" to "C:\Users\Stewy\Pictures\green.ico" just to see what would happen. Then, I logged off and back on, and all my .exe files looked like the default file icon (just a piece of paper), and when I clicked them, nothing happened. I only got on the internet through a shortcut to a website I had previously made. When I right-click the .exe files, and go to properties, then the details tab, it says "Type: C:\Users\Stewy\Pictures\green.ico", how can I change it back to" exefile" if I can't open regedit.exe?

    Thank you,
    Stewy
      My Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #2

    Give this a shot:
    Default File Type Associations - Restore

    Might be good to back up your registry first. Just in case things get worse instead of better. But I've seen posters use this tutorial with success. Shouldn't be a dud. :)
      My Computer


  3. Posts : 16,163
    7 X64
       #3

    LOL - that was good idea stewy.
      My Computers


  4. Posts : 2,468
    Windows 7 Ultimate x64
       #4

    Check if you can enter regedit by command line. If you were able to start a browser by using a shortcut, you could also start cmd.exe in this way, or maybe manage to create a shortcut to regedit directly. Booting into safe mode may help too, or a system restore if you have any recent points saved.

    By the way, to change the icon of all executables, you should go to HKEY_CLASSES_ROOT\exefile\DefaultIcon\(default)
    The value you changed is merely a "pointer" to another registry key. It basically means "for files with a .exe extension, look into the key named ......... (exefile by default) and find the details there". By removing that exefile link, Windows didn't knew what .exe files were giving that error.
      My Computer


  5. Posts : 4
    32 bit Windows home premium
    Thread Starter
       #5

    Thanks miles ahead, but I figured it out, just click on .exe in the table on this page and follow the instructions

    Default File Type Associations - Restore
    Last edited by Brink; 08 Nov 2012 at 13:40. Reason: link for the same
      My Computer


  6. Posts : 5,092
    Windows 7 32 bit
       #6

    stewy33 said:
    Thanks miles ahead, but I figured it out, just click on .exe in the table on this page and follow the instructions

    Default File Type Associations - Restore
    Right. That's the link I provided.

    Is this The Twilight Zone or only Candid Camera? :)
      My Computer


  7. Posts : 4
    32 bit Windows home premium
    Thread Starter
       #7

    Whatever, thank you anyway.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:20.
Find Us