- Can’t open EXE files
- Symptoms
- Cause
- Resolution
- How to fix .exe files not opening in Windows 10
- How can I fix .exe files that won’t open in Windows 10?
- 1. Change your registry
- 2. Use Malwarebytes
- Malwarebytes
- 3. Change the location of the Program Files folder to default
- 4. Download registry fix and add it to your registry
- Run a System Scan to discover potential errors
- 5. Turn off Windows Firewall
- 6. Change your sound scheme and turn off User Account Control
- 7. Create a new user account
- 8. Fix file association problem with Command Prompt
Can’t open EXE files
This article provides a resolution for the issue that you get errors when opening exe files.
Original product version: В Windows Server 2012 R2, Windows 10 — all editions
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
Click Start, and then select Run.
Type «command.com» , and then press Enter. (A DOS window opens.)
Type the following command lines:
Press Enter after typing each one.
Type copy «regedit.exe regedit.com» and then press Enter.
Type «start regedit.com» and then press Enter.
Navigate to and select the key:
In the right pane, double-click the (Default) value.
Delete the current value data, and then type:
Tip: Type the characters: quote-percent-one-quote-space-percent-asterisk.
Close Regedit utility.
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.
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.
How to fix .exe files not opening in Windows 10
- The .exe file extension is probably the most common extension known by pretty much all Windows users, as they represent executable programs.
- If you cannot launch a certain executable file, then it means you cannot benefit from that program, service, or game’s functionality, and you must troubleshoot the problem immediately.
- This article is just one of many entries in our section dedicated to fixing EXE files, so bookmark it since you never know when you may need it.
- Visit our Windows 10 Errors Hub too for more Windows 10-related troubleshooting articles.
- Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
- Click Start Scan to find Windows issues that could be causing PC problems.
- Click Repair All to fix issues affecting your computer’s security and performance
- Restoro has been downloaded by 0 readers this month.
Computer problems are relatively common, and while some problems are relatively simple and easy to fix, some might be more problematic.
Windows 10 users reported that .exe files are not opening on their computer, so let’s see how to fix that strange problem.
But first, here are some more examples of similar computer file issues:
- WinRAR not working
- WinRAR crashes
- 7-Zip not working
- 7-Zip crashes
- Setup.exe not running in Windows 10
How can I fix .exe files that won’t open in Windows 10?
1. Change your registry
- Press Windows Key + X to open the Win + X menu and select Command Prompt (Admin) from the menu.
- When Command Prompt starts, simply enter regedit and press Enter.
- Registry Editor will now open.
- In the left pane go to HKEY_CLASSES_ROOT.exe.
- In the right pane, double click (Default) key and set Data value to .exefile.
- Now go to the HKEY_CLASSES_ROOTexefileshellopencommand key in the left pane.
- In the right pane select (Default), double click it, and set its Value data to “%1” %*.
- After doing that, restart your computer and check if the problem is resolved.
Not being able to open .exe files can be a big problem, but you should be able to fix it simply by changing your registry. For some unknown reason, the values in your registry can be changed from the default and that can prevent .exe files from opening.
Some users reported that this solution only works if you apply it in Safe Mode, and to enter Safe Mode you need to do the following:
- Hold the Shift key on your keyboard and click the Restart button. Alternatively, you can restart your PC a few times during the boot to start Automatic Repair.
- Select Troubleshoot > Advanced options > Startup settings and click on the Restart button.
- When your computer restarts, a list of options will appear. Select any version of Safe Mode by pressing the appropriate key.
- When Safe Mode starts, repeat the steps from above.
2. Use Malwarebytes
According to users, sometimes certain malware can cause this type of problem to appear, and one way to fix it is to download and use Malwarebytes.
To do that, download Malwarebytes and install it, right-click the application shortcut, and choose Run as administrator from the menu. Let Malwarebytes scan your PC and remove all infected files.
After removing the infected files, the issue should be permanently fixed. Keep in mind that you might have to perform this solution from Safe Mode.
Malwarebytes
3. Change the location of the Program Files folder to default
- Start Registry Editor.
- You can do that by pressing Windows Key + R and entering regedit.
- Press Enter or click OK.
- When Registry Editor opens, go to the following key in the left pane:
- HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersion
- In the right pane, you’ll see several entries.
- Click on ProgramFilesDir and change its Value data to C: Program Files.
- If you have ProgramFilesDir (x86) entry available, make sure to change its Value data to C: Program Files (x86).
- After you’re done, close Registry Editor and restart your PC.
Program Files is a default installation directory for all third-party applications, and by default, it’s located on your System drive along with Windows 10 installation.
In order to save space, some users change the location of this folder.
This can sometimes cause problems and prevent .exe files from opening, but you should be able to fix this by changing the location of the Program Files folder in Registry Editor.
Don’t waste time with these technicalities and choose a more user-friendly registry editor from this handy list.
4. Download registry fix and add it to your registry
Run a System Scan to discover potential errors
If you have problems with opening .exe files in Windows 10, you should be able to fix this problem easily by downloading and applying a quick registry fix.
Simply download the registry fix, extract the .reg file , and double click it to add it to your registry. After doing that, the problem with .exe files should be completely fixed.
5. Turn off Windows Firewall
- Press Windows Key + S and enter windows firewall.
- Select Windows Firewall from the list of results.
- In the menu on the left select Turn Windows Firewall on or off.
- Select Turn off Windows Firewall (not recommended) for both Private network settings and Public network settings.
- Click OK to save changes.
Few users claim that they fixed this problem simply by disabling Windows Firewall. After turning the Windows Firewall off, check if the problem is resolved.
Disabling your firewall usually isn’t recommended because the firewall is designed to protect you from malicious applications that are trying to access the Internet, but in some cases disabling the firewall can fix the problem with .exe files.
6. Change your sound scheme and turn off User Account Control
- Press Windows Key + S and enter sound.
- Select Sound from the list of results.
- Go to the Sounds tab and set the Sound Scheme to No Sounds.
- Click Apply and OK to save changes.
- Press Windows Key + S and enter user accounts.
- Select User Accounts from the menu.
- Click the Change User Account Control settings option.
- Lower the slider all the way down to the Never notify.
- Click OK to save changes.
- Go back to the Sound section > Sounds tab and set the Sound Scheme to Windows Default.
- Click Apply and OK to save changes.
- After saving changes check if the issue is resolved.
Users reported that you can fix this problem by changing your sound scheme and turning off User Account Control.
This is an unusual solution, but few users reported that it works for them, so you might want to try it out.
7. Create a new user account
- Open the Settings app by pressing Windows Key + I shortcut.
- Go to the Accounts section and select the Family & other users tab.
- Click Add someone else to this PC button in the Other users section.
- Click on I don’t have this person’s sign-in information.
- Now click on Add a user without a Microsoft account.
- Enter the user name for the new user and click Next to add it.
According to users, you should be able to fix this problem simply by creating a new user account. After creating a new user account, switch to it and check if the problem is resolved.
If everything works without problems, you’ll have to copy all your personal files from your original account to the new one and continue using the new account.
8. Fix file association problem with Command Prompt
To fix this problem, you need to start Command Prompt and enter a single command.
If you can’t start Command Prompt normally, you might have to go to the WindowsSystem32 folder, right-click cmd.exe file, and choose Run as administrator from the menu.
When Command Prompt opens, just enter assoc .exe=exefile and press Enter to run it. After doing that, restart your PC, download Malwarebytes, and perform a full scan of your PC to remove any malicious files.
Not being able to open .exe files in Windows 10 can be a big problem and prevent you from running all applications normally, but as you can see, this problem can be easily solved by using one of our solutions.