Windows system can't open 4 solutions for .exe executable file

  

Today, a colleague has a serious problem with the computer. After opening my computer, a dialog box pops up saying "Cannot find C:\\WINDOWS\\system32\ undll32.exe”, then open some installed software programs but pop up one for you. The dialog box for selecting the open mode, the Rising anti-virus software is disabled, the whole machine is like a smash, and no program can be run. In fact, this is a virus or Trojan to modify the way the exe file is opened, resulting in the inability to open any executable file. After research, I finally found a solution.

General friends are expected to reinstall the system when they encounter such problems. Of course, this is the most thorough method. Here are four solutions for not reinstalling the system:

method One:

1Find the C:\\WINDOWS\ egedit.exe file and rename it to regedit.com or regedit.scr

2Start →Run → Enter just renamed Regedit.com or regedit.scr, find HKEY_CLASSES_ROOT\\exefile\\shell\\open\\command in the open registry editor, and change its key value to "%1" %*

3 will just be renamed Regedit.com or regedit.scr can be changed back to regedit.exe, the relevant screenshots are as follows:


Method 2:

Copy the following content, Save it as a registry file with Notepad, such as htmer.reg, double-click the file to import the registry.

regedit4


[hkey_classes_root\\exefile\\shell\\Open\\command]

@=\\%1\\ %*

Method 3: Re-associate exe file

Open my computer →<quo;tool" menu→ folder option → file type → new → enter exe&rarr in “file extension” Click "“Advanced" button → in “ associated file type & rdquo; select “ application & rdquo; can be, the relevant screenshots are as follows:


Method 4 (Only for Windows 2000/XP):

1Find the C:\\WINDOWS\\system32\\cmd.exe file and rename it to cmd.com or cmd.scr

2 → Run → enter cmd, open a command prompt window, enter two commands (enter each time you enter a command): ftype exefile=%1 %* and assoc.exe=exefile

3 Just renamed cmd.com or cmd.scr and then change back to cmd.exe. The relevant screenshots are as follows:

Copyright © Windows knowledge All Rights Reserved