Fix “Shellexecuteex failed code 2” Error Message


How To Fix "Shellexecuteex failed code 2" Error Message
Recently, lots of Windows 10 users have reported that they are getting “shellexecuteex failed code 2” while installing .exe files. Since Windows is well-reputed in ruining the user experience, errors like these are now considered ‘Normal’. For Windows users, reinstalling Windows operating system is a common thing, and the cycle of installing and formatting the operating system never seems to end.
After receiving multiple messages from our visitors regarding the ‘shellexecuteex failed code 2’ error message, we have researched and found that the error occurs due to some bugs. The bug is fixed in the latest build of Windows OS, but, the problem is that the users who are using the pirated version of Windows OS won’t get the update.

How To Fix “Shellexecuteex failed code 2” Error Message

So, for those users, we are going to discuss a few best methods that could fix the ‘shellexecuteex failed code 2’ in no-time. Since the main cause of the error message is yet to be found, users need to follow all methods to fix the shellexecuteex failed code 2 error message.

1. Scan your computer with Powerful security tool


Scan Your Computer With Antivirus

Well, this is one of the first things which you need to do while dealing with errors. It’s worth to note that virus, malware, spyware, adware, etc. sometimes plays with the system files which can trigger different errors. So, before you make up your mind to follow the other methods, make sure to scan your computer. Even if the full system scan fails to fix the error message, it will eliminate the security threats. So, make sure to scan your system with security tools to fix the ‘shellexecuteex failed code 2’ error message.

2. Try running in Administrator mode


Try running in Administrator mode

Well, if you are getting the error while installing programs, then you can try running the installer with Administrator privileges. If there’s something wrong with the permissions, then running the installer in Administrator mode will probably eliminate the ‘shellexecuteex failed code 2’ error message. Installing apps in Administrator mode is easy; users need to right-click on the installer and select the option ‘Run as administrator’. Some apps also require administrator privileges to install, so if this is what triggers the error, then it will be fixed.

3. Re-Download The Installer & Install


Re-Download The Installer & Install

If you are getting the ‘shellexecuteex failed code 2’ error message while installing any app or game that you have just downloaded, then we recommend you to redownload the installer. There might be some fault in the installation file which is triggering the ‘shellexecuteex failed code 2’ error message. So, in such a scenario, users need to uninstall the app or traces of it and install it again. Also, make sure to run the installer in ‘Administrator mode’.

4. Revert the System Sounds To the default

Well, some users have reported that reverting the system sounds to the default has fixed the error message. The problem usually occurs when the module you are trying to install or use fails to handle the system sounds properly. So, if that was the issue, then you need to revert the system sounds to the default to fix the error message.
Step 1. First of all, press Windows Key + R to open the RUN dialog box.

Open RUN Dialog box

Step 2. On the RUN dialog box, enter mmsys.cpl and hit enter.

Enter mmsys.cpl and press Enter

Step 3. Next, you need to select the ‘Sounds’ tab and then select ‘Windows default’ under the Sound Scheme.

Head to the ‘Sound’ tab and select ‘Windows default’ under Sound scheme

That’s it! You are done. Now just restart your computer to fix the shellexecuteex failed error message from Windows 10.

5. Run SFC Command

Well, the error message “shellexecuteex failed code 2” also occurs due to corrupted system files. So, if you are getting the error message due to corrupted system files, then you need to use the SFC command. The SFC Command on Windows will most probably fix all corrupted, missing or changed system files. Here’s how to use SFC command to fix shellexecuteex failed code 2 error message.
Step 1. First of all, type in CMD on the search menu and right-click on the command prompt. From the right-click menu, select ‘Command Prompt (Admin)’

Using SFC Command

Step 2. Now on the command prompt window, enter the command ‘sfc /scannnow’ and press enter.

Using SFC Command

Step 3. Now, wait for a few seconds until the scan completes. If you get an error ‘Windows Resource Protection found corrupt files but was unable to fix’, then run the same command in the Safe mode.
That’s it; you are done! This is how you can use the SFC command to fix “shellexecuteex failed code 2” from Windows 10.

6. System Repair

Well, if the SFC command has failed to fix the shellexecuteex failed code 2 error message, then you need to repair your system. However, you need to have a working Windows bootable DVD or USB to perform a system repair. The Windows System repair utility will fix various problems related to System 32 files, restore points, registry, etc.

Using System Repair

Simply insert the Windows installation DVD or USB drive and reboot the computer. During the startup, you will be asked to press any key to boot from DVD or USB. Press any key and on the next page, select ‘Repair’. Now just follow the on-screen instruction to repair your system.
So, these are the best methods to fix ‘shellexecuteex failed code 2′ error message from Windows computer. If you know any other method to fix the error, let us know in the comment box below.’

Comments