Fix error 0xc000007b
0xc000007b is STATUS_INVALID_IMAGE_FORMAT. Windows calls it a Bad Image: a file the program loads is not designed to run on Windows or contains an error. In practice a 32-bit app usually picked up a 64-bit DLL, or the reverse. Install both the x86 and x64 Microsoft Visual C++ Redistributable, then reinstall the program.
Checked November 10, 2026 against the manufacturer's own pages.
The short version
What to install and where it comes from. Every link goes to the manufacturer or Microsoft, never to a copy.
Official files only, nothing bundled
Step by step
Install both Visual C++ packages
Open Microsoft's Latest supported Visual C++ Redistributable page and install the X86 package and the X64 package. A 64-bit PC needs both, because 32-bit games still call the x86 runtime. If they are already present, the installer offers Repair; choose it.
Reinstall the program that fails
Go to Settings, Apps, Installed apps, select the three dots next to the program and choose Uninstall. Then install it again from its original source, so the bitness of the app and its bundled DLL files match again.
Remove DLL files you copied by hand
If you ever pasted a DLL such as msvcp140.dll or a DirectX file into the game folder or into System32, delete that copy. A 64-bit file sitting next to a 32-bit program is the classic trigger for STATUS_INVALID_IMAGE_FORMAT.
Check that Windows itself is healthy
Open Terminal as administrator and run DISM /Online /Cleanup-Image /RestoreHealth, wait for it to finish, then run sfc /scannow. Restart when both report done.
Install pending updates
Open Settings, Windows Update, select Check for updates, and also look under Advanced options, Optional updates. Some games also need the DirectX runtime their installer offers, so let that part of the setup run.
Faster option: let a PC tool do the clean-up
The steps above fix this error. Errors like this often come back on a PC full of junk files, broken registry entries and leftovers from removed programs. A maintenance tool clears those in one scan.
Scan and clean up Windows
Finds junk files, invalid registry entries, startup slowdowns and privacy traces, then fixes them in one click.
Auslogics BoostSpeed 14 · Free version · Windows 11, 10, 8, 7 · 30-day refund on Pro
Why 0xc000007b shows up when an app starts
Windows checks every executable and library while it loads a program. When the format of one of those files does not fit the process, the loader stops and reports STATUS_INVALID_IMAGE_FORMAT, shown to you as “The application was unable to start correctly (0xc000007b)”. The program itself never got to run any code, which is why the box appears before any window or splash screen.
The usual story is a mismatch. A game built as 32-bit reaches into a folder and finds a 64-bit copy of a runtime DLL. Older games that ship their own runtimes, tools that bundle a specific .NET or DirectX file, and folders where someone once pasted a “fixed” DLL are typical places for that to happen.
Telling a mismatch apart from damaged files
If only one program fails and everything else opens, the problem lives with that program or the runtimes it uses. Repairing the Visual C++ packages and reinstalling the app is the right path. If several unrelated programs fail with the same code after an update or a disk problem, system files are more likely damaged, and the DISM and SFC repair is the better first move.
A less common cause: an old graphics or overlay hook
Some overlay, capture or tuning utilities inject their own DLL into every game. When such a tool installs a library of the wrong bitness, each game it hooks can fail with 0xc000007b. Close or uninstall recently added overlay tools, then launch the game again. If it now starts, update that utility from its maker before turning it back on.
Questions
What does Bad Image mean in this message?
Microsoft's text for 0xC000007B says the file is either not designed to run on Windows or contains an error. A file built for x64 loaded by an x86 process fits that description, and so does a truncated or damaged file.
Do I need the 32-bit Visual C++ package on 64-bit Windows?
Yes, for 32-bit programs. They load the x86 runtime even on a 64-bit system. Installing only the x64 package leaves those apps without the files they expect.
Should I download the missing DLL from a website?
No. Loose DLL files from download sites are often the wrong build or version, which can cause this exact error. Get runtimes only from Microsoft or the program's own installer.
Is 0xc000007b a hardware problem?
Rarely. It is a file format mismatch raised when the program starts. If system files are damaged by a failing drive, the SFC and DISM step will show that.