Sunday, October 31, 2010

Solved This file does not have a program associated with it for performing this action. Create an association in the Folder Options control panel

Problem: When double click on any application, there’s an message display “This file does not have a program associated with it for performing this action. Create an association in the Folder Options control panel”
This problem because of some kind of viruses  change the default value in the registry to  prevent any programs be executed.  So all program that ended with .exe extension, it will not able to run.
Solution:
1- When viruses change the default value for exefile, you can not open regedit.exe to fix it. So you need to use additional Boot CD such as ERD Commander, Avast Bart CD, Bart PE, Hirent’s live CD… to load the registry file while your system is currently dead.
Then go to the following location:
HKEY_CLASSES_ROOTexefileshellopencommand
at default value chage it to :  “%1″%*
2-Please create new text file then copy& paste the following text:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTexefileshellopencommand]
@=””%1” %*”
Then save it with extension .reg > double click on it > Yes
3-Or create a new text file, then copy & paste the following script:
[Version]
Signature="$Chicago$"
Provider=Symantec

[DefaultInstall]
AddReg=UnhookRegKey

[UnhookRegKey]
HKLM, SoftwareCLASSESbatfileshellopencommand,,,"""%1"" %*"
HKLM, SoftwareCLASSEScomfileshellopencommand,,,"""%1"" %*"
HKLM, SoftwareCLASSESexefileshellopencommand,,,"""%1"" %*"
HKLM, SoftwareCLASSESpiffileshellopencommand,,,"""%1"" %*"
HKLM, SoftwareCLASSESregfileshellopencommand,,,"regedit.exe ""%1"""
HKLM, SoftwareCLASSESscrfileshellopencommand,,,"""%1"" %*"
HKCU, SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem,DisableRegistryTools,0x00000020,0
Then save it with name ” UnHookExec.inf ” Then right click on it and choose “Install”
Note : This script will enable all exe file, com file, bat file, msc file, scr file and pif file. And also enable your registry editing tool if viruses disable it.

No comments:

Post a Comment