Windows ShellExecuteEx Failed; code 2 Error. Cannot open .exe

Jamie barnes 0 Reputation points
2025-07-19T14:46:09.37+00:00

I tried to install a .exe file and received the "ShellExecuteEx Failed; code 2". Then noticed it seems to be all .exe files. When trying to run as administrator I get "Windows cannot find '_______'. Make sure you typed the name correctly, and then try again"

I also cannot:

open task manager

open regedit

run command prompt as administrator

open system restore

open device manager

  • I can't to start the computer in safe mode....
  • I cannot delete a folder called IObit

This is Windows 10 64bit

I have tried:

  • Virus & Malware scans (nothing found)
  • Registry fixes via CCleaner

Any help would be majorly appreciated! Been trying to solve this for hours now.

Windows for home | Windows 10 | Performance and system failures
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Ramesh Srinivasan 173.7K Reputation points Volunteer Moderator
    2025-07-20T08:46:19.8233333+00:00

    Please share your Farbar scan logs for analysis.

    1] Download Farbar Recovery Scan Tool 64-bit (FRST64.exe)

    https://www.bleepingcomputer.com/download/farbar-recovery-scan-tool/

    2] If the OS language is not English, rename FRST64.exe to FRST64English.exe.

    3] Run the program. Don't check or uncheck any options. Click "Scan".

    4] Add the two logs, FRST.txt and Addition.txt, to a Zip archive, share them on OneDrive or GoFile.io, and post the link here.


    Note:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.