Error can not run file * .exe, * .bat … and how to fix it

NOTE: Welcome to the Knowledge Sharing Blog! If you encounter any errors during use, such as error in download link, slow blog loading, or unable to access a certain page on the blog … please notify me. via Contact page. Thanks!

In the process of using Windows, if not careful to infect with viruses máy tính You will encounter some very annoying errors such as you cannot run executable files like * .exe, * .bat, * .lnk ..

If you are inexperienced or too inhibited in this case, you will immediately think of ghost or reinstall the computer, right?

This will take a lot of time for you to reinstall and reset the system, while the way to fix it is very simple and not worth it.

I. How to fix can not run .exe file

repair-do-not-run-file-exe
Fix error of executable .exe file

Method 1: Scan for system viruses

Error of executing executable files .exe, .bat… is due to a virus infection and this is because you have been subjectively not using anti-virus software for your computer.

If you already have a bootable usb, go to mini windows and use the virus scanning tool in it to scan the system for viruses. If you do not have a bootable usb, you can refer to how to create this bootable usb.

Method 2: Download the file to fix the error that cannot run the .exe file (recommended)

A simple and effective way is to download the fix file that cannot open * .exe, * .bat, * .lnk … files here. Next you unzip the file and right-click on the extracted file and select “Install” to reinstall.

See more:  [Tuts] How to use black interface for File / Folder on Win 10

OK! This way not only helps you to successfully fix the error that you cannot run executable files, but it also fixes all errors when shutting down Regedit, Task Mananger, Folder Options …

Method 3. Create .inf file to restore regedit

Please note that if your computer cannot run * .EXE file, you can not open the NotePad editor normally, so now you need to go to another computer or go to mini windows to do it. this way.


You guys the following code and paste in NotePad then select => Save as.. to save as blogchiasekienthuc.inf

Show code

[Version]

Signature = “$ Windows NT $”
Provider = BlogChiaSeKienThuc
[DefaultInstall]
DelReg = FixLoiDel
AddReg = FixLoiAdd
[FixLoiDel]
HKCU, Software Classes .exe
HKCU, Software Classes secfile
HKCR, secfile
HKCR, .exe shell open command
[FixLoiAdd]
HKCR, exefile shell open command ,,, “” “% 1 ″”% * “
HKCR, .exe ,,, “exefile”
HKCR, .exe, “Content Type” ,, “application / x-msdownload”
HKLM, Software CLASSES batfile shell open command ,,, “” “% 1 ″”% * “
HKLM, Software CLASSES comfile shell open command ,,, “” “% 1 ″”% * “
HKLM, Software CLASSES exefile shell open command ,,, “” “% 1 ″”% * “
HKLM, Software CLASSES piffile shell open command ,,, “” “% 1 ″”% * “
HKLM, Software CLASSES regfile shell open command ,,, “regedit.exe” “% 1 ″” “
HKLM, Software CLASSES scrfile shell open command ,,, “” “% 1 ″”% * “
HKCU, Software Microsoft Windows CurrentVersion Policies System, DisableRegistryTools, 0x10001,0
HKCU, Software Policies Microsoft Windows System, DisableCMD, 0x10001,0
HKLM, Software Microsoft Windows NT CurrentVersion SystemRestore, DisableSR, 0x10001,1
HKCU, Software Microsoft Windows CurrentVersion Explorer Advanced, HideFileExt, 0x10001,0
HKCU, Software Microsoft Windows CurrentVersion Explorer Advanced, Hidden, 0x10001,1
HKCU, Software Microsoft Windows CurrentVersion Explorer Advanced, ShowSuperHidden, 0x10001,1
HKCU, Software Microsoft Windows CurrentVersion Policies System, DisableTaskMgr, 0x10001,0
HKCU, Software Microsoft Windows CurrentVersion Policies Explorer, NoFolderOptions, 0x10001,0
HKCU, Software Policies Microsoft Internet Explorer Restrictions, NoBrowserOptions, 0x10001,0
HKCU, Software Microsoft Windows CurrentVersion Policies Explorer, NoRun, 0x10001,0
HKLM, Software Microsoft Windows NT CurrentVersion IniFileMapping Autorun.inf ,,, ”@ SYS: KhongKhongThay”
HKLM, Software Microsoft Windows CurrentVersion Policies Explorer, NoDriveTypeAutoRun, 0x10001,255
HKLM, Software Microsoft Windows CurrentVersion Explorer AutoplayHandlers CancelAutoplay Files, *. *, 0x0
HKLM, System CurrentControlSet Services ShellHWDetection, Start, 0x10001,4

See more:  How to create a USB install Win 10/8/7 quickly and professionally!

Copy or save the file you just created to Desktop => then right-click on that file and select Install => Reset the computer to see the results.

Method 4. Open by “Open Whith”

In case you can’t Install If the file has been downloaded above, please right-click on any one file => select Open Whith => select Browse.. => navigate to the executable * .exe, * .bat … that you want to open.

Method 5. Edit Regedit

This way should scan the virus before performing offline, you perform Step 1 first.

Performed directly on Windows

+ Step 1: You enter Start => select Run. Or press a combination of keys Windows + R => enter regedit => press Enter to open the run dialog box.

If still not running regedit.exe then open the Run dialog box again and enter it command.exe => at the prompt you type next copy regedit.exe regedit.com regedit.com

+ Step 2: In the left pane, navigate to the following path:

HKEY_CLASSES_ROOT exefile shell open command

+ Step 3: In the right pane, double-click on the value Default => delete existing value and re-enter this value:

“%1″ %* (quotes – percent – number 1 – double quotes – space – percent – asterisk).

+ Step 4: Next, find the key:

HKEY_CLASSES_ROOT .exe

+ Step 5: Double click the value Default and assign it a value of exefile.

OK! Now restart your computer and run it to see if it is okay, in case you cannot do this on Windows, please access the Safemode mode to do it.

Implementation on Safemode

+ Step 1: Access to Safemode mode as instructions: Instructions to enter Safe Mode on Windows XP / 7/8 / 10 ..

See more:  Fix the error of not entering Safe mode of Windows

+ Step 2: Open the dialog box RUN (Windows + R) and enter command.com => press Enter.

+ Step 3: Import cd Press Enter.

+ Step 4: Enter next cdwindows => press Enter.

+ Step 5: Input regedit.exeregedit.exe => và nhấn Enter => appears a bulletin board of your choice Yes to agree.

+ Step 6: Enter next start regedit => press Enter => OK, now you can enter regedit

+ Step 7: Now go to the following address:

HKEY_CURRENT_USER Software Microsoft Windows Curre ntVersion Explorer FileExts [exe]

+ Step 8: Here you delete the item UserChoice Come on, then fix the keys Default value is as follows "%1" %0"

+ Step 9: Done => now try to restart your computer and try to run the file *.exe Let’s see.

II. Epilogue

Above are the 5 most effective ways to help you successfully fix the error that cannot run the exe file. Hopefully the above tips will help you fix this very annoying error and not have to reinstall the computer.

Good luck !

Kien Nguyen – techtipsnreview

Note: Was this article helpful to you? Don’t forget to rate, like and share with your friends and relatives!

Source: Error can not run file * .exe, * .bat … and how to fix it
– TechtipsnReview

Leave a Reply

Your email address will not be published. Required fields are marked *