As the title says,You may get the error message when you trying to run any .exe file:”This file does not have a program associated with it for performing this action. Create and association in the Set Associations control panel“.A symptom of this often appears as shortcuts become .LNK files where the .LNK extension shows up and none of them work.The problem is often caused by a virus affecting the registry entry related to the file association for .exe files .
This is all fixed in the registry.
Please Note:Editing the System Registry can have seriously affect your system.Make NO changes to the System Registry without having a complete backup of important files and only after setting a System Restore Point.
1,In Windows XP:Hot to Fix Error Message:This file does not have a program associated with it for performing this action
(1)Try this .com file.It has a .com extension. Save it to your desktop and double click it. Press Start>Run and type cmd in the box and press OK.
If this file doesn’t helped.Please try step (2)
(2)Press Start>Run and type cmd in the box and press OK.
At the command prompt type cd c:\windows and press return.
Type copy regedit.exe regedit.com and press return.
type regedit.cm and press return. You should now be in the registry editor. On the menu bar click file and select export. Save the registry as registry.bak.
If Registry Editor opened successfully, navigate to the following key:
HKEY_CLASSES_ROOT \ exefile \ shell \ open \ command.
Double-click the (Default) value in the right hand pane and delete the current value data, and then type:
“%1” %* exactly as shown including the quotes and asterisk.
Navigate to HKEY_CLASSES_ROOT\.exe
In the right-hand pane, set (default) to exefile
Exit the Registry Editor.
2,In Windows 7/Windows Vista:Hot to Fix Error Message:This file does not have a program associated with it for performing this action
(1). Run command prompt and type assoc.exe=exefile (If you get access denied error, try step (2))
(2). Download [windows-7-vista-fixexe.reg] and run it. Make sure you right click and select Save As. (If you cannot import the .reg file as Windows cannot find the registry editor, then try step (3))
(3). Open command prompt ,CD to the directory where the .reg file is.Then type the following command REG IMPORT windows-7-vista-fixexe.reg. Make sure you’ve already (If you have problems getting this to work, try step (4))
(4). Microsoft Fix It has an automated way to fixing the exe association problem. Simply download this MicrosoftFixit50194.msi file and run it.Although Microsoft Fix It is only a beta version,I have to say it is very helpful.