Technology Information: Fix “This file does not have a program associated with it for performing this action” in Vista and 7

Fix “This file does not have a program associated with it for performing this action” in Vista and 7

Few days ago there was a newly signed up user in forum requesting for help. Initially his computer had some error messages that pops up during Windows startup and he tried using some third party software to fix it. However it ended up making his computer unable to run any exe programs at all including the icons on desktop. He was very sure that he only changed the ProgramFilesDir value from C: to D: in registry. From what I know, this only changes the default location of Program Files where software are installed but no matter what, we all tried to help him undo the changes he made. I showed him how to run registry editor but he wasn’t able to as he kept on getting the error message “This file does not have a program associated with it for performing this action".


After spending a few hours trying to help and without any success, then I started thinking maybe this problem is caused by another factor which I’ve encountered before in Windows XP. Somehow a virus managed to corrupt the .exe association in registry causing the user unable to run any programs. I used TeamViewer to remotely connect to his computer and tried running this command “assoc.exe=exefile” in command prompt which should fix the problem but don’t know why this command has been denied. I checked his user account and he is an administrator. I then tried to use DougKnox’s EXE registry fix but that failed too because I wasn’t able to import the .reg file since it requires regedit.exe. I also converted the .reg file into .exe file which can imported into registry without using regedit and that too didn’t work.

After 2 days, I am glad that I finally managed to fix the problem.

work is because the Windows Vista registry location for exe association is different from XP. Obviously using the XP fix cannot work on Vista
!

When you have a corrupted exe association, you definitely cannot use any registry editor to fix it because it is impossible to run it in the first place. So here are a few methods you can try:

1. Run command prompt and type assoc.exe=exefile (If you get access denied error, try step 2)

2. Download this .reg file and run it. Make sure you right click and select Save As. (If you cannot import the .reg file because Windows cannot find the registry editor, then try step 3)

3. Open command prompt and type the following command REG IMPORT vista-7-fixexe.reg. Make sure you’ve already CD to the directory where the .reg file is. (If you have problems getting this to work, try step 4)

4. Download the EXE compiled version of the registry file above and run it. Although it doesn’t make sense to run this exe file since most of the exe files are blocked, but this is the one that fixed the user’s computer. (If this couldn’t fix it, try step 5)

5. Microsoft Fix It has an automated way to fixing the exe association problem. Simply download this MicrosoftFixit50194.msi file and run it.

If done correctly, it should fix the problem instantly and no reboot is required. Now I will always remember that whatever works in XP doesn’t necessarily works on Vista and 7.

0 comments:

Enter your mail address:
Template by - ADMIN | HiTechvnn Template