If you are trying to open a program or a game but you suddenly see a dialog box with a message stating that the application was unable to start correctly along with the Error Code 0xC000007B , STATUS INVALID IMAGE FORMAT then this indicates that the application is not compatible with the architecture of your Windows 10 computer or is missing dependencies.
Although error code 0xC000007B can also occur with other various programs, the STATUS_INVALID_IMAGE_FORMAT error code also means that when you try to run an application that’s designed to run on a 64-bit system and hence gets into a termination state. In addition, if you are also pointed to the NTStatus.h file then it means that the error might be caused by some file corruption. Here’s the full context of the error message:
“0xC000007B | STATUS_INVALID_IMAGE_FORMAT | {Bad Image} %hs is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.”
When you see this error message, the first thing you can do is to click on OK to close the application and then try installing the media again to see if it fixes the issue. If not, then you can check out the suggestions given below.
Option 1 – Try installing the application with admin privileges
The first thing you can do to fix the error is to restart your Windows 10 computer and then try installing the application again and this time with admin privileges. Just right-click on the application and select the “Run as Administrator” option. And if your account is a regular one, you need to make sure to ask an admin to help you in installing the application by entering the password when you are prompted to do so.
Option 2 – Install and update Dependencies
There are times when programs and applications need to have drivers and supporting software installed for them to properly work. Although the installation usually takes care of it, it’s time for you to do some manual checks especially if you are getting this issue of abnormal program termination.
1. Install some qualified drivers
A number of high-end games and applications need to have correct and valid drivers for them to work. They just don’t work with general drivers though. Microsoft has this Windows Hardware Quality Labs testing also known as WHQL testing which makes sure that drivers meet the correct experience and pass through the proper testing before certification. Thus, when installing drivers, you need to ensure that they are qualified drivers for your Windows 10 PC.
2. Download and install or update DirectX
As you know, Microsoft DirectX is a suite of technologies developed by Microsoft to provide hardware acceleration for heavy multimedia applications like HD videos and 3D games. Since you are using Windows 10, you have the DirectX 12 version while the earlier Windows versions use the DirectX 11 version.
3. Install the Microsoft DirectX End-user runtime
The Microsoft DirectX end-user runtime gives updates to version 9.0c as well as previous versions of DirectX. To install it, click on this
link and download it.
4. Update or install the .NET framework
The .NET framework is used by games and applications during development which means that without the runtime files that are installed in your computer, it definitely won’t work. Thus, you need to install or update this framework. You can also use the .NET setup verification tool to verify it.
Option 3 – Try running the System File Checker Scan
The SFC or System File Checker scan could detect and automatically repair damaged system files that could be causing the Error Code 0xC000007B , STATUS INVALID IMAGE FORMAT error. SFC is a built-in command utility that helps in restoring corrupted files as well as missing files. It replaces bad and corrupted system files with good system files. To run the SFC command, follow the steps given below.
- Tap Win + R to launch Run.
- Type in cmd in the field and tap Enter.
- After opening Command Prompt, type in sfc /scannow
The command will start a system scan which will take a few whiles before it finishes. Once it’s done, you could get the following results:
- Windows Resource Protection did not find any integrity violations.
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection found corrupt files but was unable to fix some of them.