This help tutorial is for users who receive the “Bad Image – MSVCP140.dll not designed to run on Windows” warning message for the MSVCP140.dll.
The message says:
C:\WINDOWS\SYSTEM32\MSVCP140.dll 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 support. Error status 0xc000012f.
We are receiving the following error when trying to launch Scan2CAD or many other software applications. The error suggests that the MSVCP140.dll was already installed on your computer but it was somehow corrupt.
You may also like: How To Fix MSVCP140.DLL Is Missing Error On Windows 10/8/7
Thankfully, I was able to find a way within a few minutes, here are the steps:
How To Fix Bad Image – Error Status 0xc000012f in Windows 10/8/7
To resolve this problem, you can download and install the package from Microsoft.
Step 1. Uninstall Microsoft Visual C++ Redistributable Redistributable (x86 and x64)
1. Open Control Panel and select Programs and Features.
2. In the search field at the top right, type in “c++ redist” (without quotations).
3. Find and uninstall everything that shows “Microsoft Visual C++ Redistributable Redistributable”
Step 2. Download and install the latest supported Visual C++
1. Go to this Microsoft download page and click the Download button.
Download the latest supported Visual C++
2. Click the Download button.
3. You will be asked which version you wish to download. Choose vc_redist.x86.exe and vc_redist.x64.exe.
4. Wait for the download to complete and install the package.
5. Restart your computer.
After restarting your Windows PC, issue will no longer happen.
In this video, we will show you how to fix C:\WINDOWS\SYSTEM32\MSVCP140.dll is either not designed to run on windows (0xc000012f)
Hope something helps you.