Exe Files Not Opening in Windows 10/11: How to fix it?

User Author

Achilles.H

August 1, 2022

Exe files not opening in Windows 10/11: How to fix it

An executable file (EXE file) is a computer file that allows the system to run all the codes contained in the file directly when the user clicks on the file icon. All executable files have the .exe file extension in Windows. Some users have reported that they sometimes failed to open the executable files in their OS. When trying to open an EXE file, they may receive an error message such as "Access Denied", "Runtime Error", etc. Corrupt registry settings or certain third-party products (or viruses) can lead to this problem. If you are also facing this issue, don't be anxious. Here we will discuss what you can do when you can't run exe files in Windows.

1. Run a malware scan

Step 1: Press Windows+I to open Settings and select Update & Security>Windows Security.

Step 2: Then select Virus & threat protection in the right pane.

select virus and threat protection

Step 3: Click on Scan options.

select scan options

Step 4: Choose Full scan and click on Scan now.

click scan now

2. Tweak the registry value data

Step 1: Press Windows+R and type regedit in the open box. Then click OK to open Registry Editor.

open registry editor

Step 2: Head to HKEY_CLASSES_ROOT.\exe.

Step 3: In the right pane, double click Default and set its Value data to exefile.

set default value data

Step 4: Then navigate to the below directory:

HKEY_CLASSES_ROOT\exefile\shell\open\command

Step 5: Double click the Default key and set its Value data as "%1" %*.

restore value data

3. Restore the location of Program files to default

Step 1: Open Registry editor and navigate to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Step 2: Double-click ProgramFilesDir and change its Value data to C:\Program Files.

restore default file location

Step 3: If you have ProgramFilesDir (x86) in your Windows, make sure to change its Value data to C:\Program Files (x86).

restore x86 file loacation

When finishing all the modifications, restart your system.

4. Turn off Windows Firewall

Windows Defender Firewall helps reduce the risk of network security threats, so it is not recommended to turn this feature off in normal cases. But disabling the firewall for some time may fix the exe file not opening.

Step 1: Search windows defender firewall in the search bar and open it.

open windows defender firewall

Step 2: Select Turn Windows Defender Firewall on or off.

select turn windows firewall on or off

Step 3: Select Turn off Windows Firewall (not recommended) under Private network settings and also Public network settings and click OK.

turn off windows defender firewall

5. Change sound settings and turn off User Account Control

Step 1: Search control panel in the search bar and open it.

open control panel

Step 2: Choose Small icons option next to view by in the right corner and then select Sound.

select sound

Step 3: Select Sounds tab and choose No Sounds from the drop-down menu. Then click Apply and OK.

change sounds settings

Step 4: Search change user account in the search bar and open Change User Account Control settings.

open change user account control settings

Step 5: Roll the slider all the way down to Never notify and click OK.

roll the slider down

Step 6: Restart your PC.

6. Set file association via Command Prompt

Step 1: Search cmd in the search bar and select Run as administrator.

open command prompt

Step 2: Copy and paste assoc .exe=exefile in Command Prompt and press Enter.

run file association command

Step 3: Reboot your device.