Can't open EXE files

This article provides a resolution for the issue that you get errors when opening exe files.

Original KB number:   555067

This article was written by Yuval Sinay, Microsoft MVP.

Symptoms

When you try to open EXE files, you may get error messages like: "Access Deny", "Runtime error" and so on.

Cause

Corrupt registry settings or some third-party product (or virus) can change the default configuration for running EXE files. It may lead to failed operation when you try to run EXE files.

Resolution

  1. Click Start, and then select Run.

  2. Type "command.com", and then press Enter. (A DOS window opens.)

  3. Type the following command lines:

    cd\
    
    cd \windows
    

    Press Enter after typing each one.

  4. Type copy "regedit.exe regedit.com" and then press Enter.

  5. Type "start regedit.com" and then press Enter.

  6. Navigate to and select the key:

    HKEY_CLASSES_ROOT\exefile\shell\open\command

  7. In the right pane, double-click the (Default) value.

  8. Delete the current value data, and then type:

    "%1" %*

    Tip: Type the characters: quote-percent-one-quote-space-percent-asterisk.

  9. Close Regedit utility.

    Note

    If you are using Windows XP and you enable "System Restore" , you need to disable "System Restore" in "Safe Mode" before using the instructions above.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for deployment-related issues.

Community Solutions Content Disclaimer

Microsoft corporation and/or its respective suppliers make no representations about the suitability, reliability, or accuracy of the information and related graphics contained herein. All such information and related graphics are provided "as is" without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information and related graphics, including all implied warranties and conditions of merchantability, fitness for a particular purpose, workmanlike effort, title and non-infringement. You specifically agree that in no event shall Microsoft and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages or any damages whatsoever including, without limitation, damages for loss of use, data or profits, arising out of or in any way connected with the use of or inability to use the information and related graphics contained herein, whether based on contract, tort, negligence, strict liability or otherwise, even if Microsoft or any of its suppliers has been advised of the possibility of damages.