Because the virus changes the file association
All. EXE programs cannot be executed. At this time, you can enter "command.com" in the Start Operation and "assoc" in the command console.
. EXE = comfile "press enter and". EXE = comfile "will appear.
The exeprogram uses comfilefor explanation, and the icon of the. exe program disappears at this time. Through such adjustment, you can basically open all the programs. But at this time all the programs do not have a diagram.
Marked.
Import a registry file.
Windows Registry Editor Version 5.00
[Hkey_classes_root/exefile]
@ = "Application"
"Editflags" = HEX: 38,07, 00,00
[Hkey_classes_root/exefile/defaulticon]
@ = "% 1"
[Hkey_classes_root/exefile/Shell]
[Hkey_classes_root/exefile/Shell/Open]
"Editflags" = HEX: 00, 00, 00
[Hkey_classes_root/exefile/Shell/Open/command]
@ = "/" % 1/"% *"
[Hkey_classes_root/exefile/Shell/RunAs]
"Extended" = ""
[Hkey_classes_root/exefile/Shell/RunAs/command]
@ = "/" % 1/"% *"
[Hkey_classes_root/exefile/shellex]
[Hkey_classes_root/exefile/shellex/drophandler]
@ = "{86c86720-42a0-1069-a2e8-08002b30309d }"
[Hkey_classes_root/exefile/shellex/propertysheethandlers]
[Hkey_classes_root/exefile/shellex/propertysheethandlers/pifprops]
@ = "{86f19a00-42a0-1069-a2e9-08002b30309d }"
[Hkey_classes_root/exefile/shellex/propertysheethandlers/{B41DB860-8EE4-11D2-9906-E49FADC173CA}]
@ = ""
Import the preceding. reg file into the registry.
Then change the .exe Association to exefile. Enter "Assoc. EXE = exefile" in the command line"
After the restart, the problem can be solved.
I have never tested this. I don't know if it works.
Two Methods: you can modify the Registry to restore the EXE file. Because no EXE file can be opened
Change the recorder "regedit.exe" to "regedit.com", and then run it.
Find hkey_classes_root/exefile/Shell/Open/command, double-click the "" character string, and set
The value can be changed to "" % 1 "%. In addition, you can run "FTYPE" in DOS
The exefile = % 1% * "or" Assoc. EXE = exefile "command can also restore the close link of the EXE file.
(PS: This method has been used. It is valid and does not need to be restarted. It also works after cancellation .)
------------------------------------------------------------------------------
EXE cannot open any executable file solution-
If the EXE open mode is modified by a trojan or virus, no executable file can be opened.
Solution 1:
First, rename regedit.exe to regedit.com or Regedit. scr.
Run regedit.com, find the hkey_classes_root/exefile/Shell/Open/command key value, and change the default value to "% 1" % *
Restart, and then change regedit.comback to regedit.exe.
Solution 2:
Save the following content as exefile. Reg, double-click to import the registry, or Run regedit exefile. Reg in pure DOS to import the registry. (Note: leave an empty row behind regedit4)
Regedit4
[Hkey_classes_root/exefile/Shell/Open/command]
@ = "/" % 1/"% *"
Solution 2 (applicable only to Win2000/XP ):
1. Change cmd.exe to cmd.com or cmd. scr.
2. Run pai.com.
3. Run the following two commands:
FTYPE exefile = "% 1" % *
Assoc. EXE = exefile
4. Change cmd.comto cmd.exe.