Windows Warning: Bad Image – MSVCP140.dll not designed to run on Windows

This help article is for users who see the ‘Bad Image’ warning message for the MSVCP140.dll

The message reads:

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.

This DLL is required by Scan2CAD and many other software applications to run successfully.

The error suggests that the DLL was already installed on your PC but it was somehow corrupt. 


To resolve, you can simply download and install the package from Microsoft.

  1. Head to this Microsoft download page
  2. Click the Download button
  3. You will be asked which version you wish to download. Choose to download both versions ‘ vc_redist.x86.exe’ and 
  4. Wait for the download to complete and install both packages.
  5. Reinstall Scan2CAD. 

You will now be able to successfully run Scan2CAD without this warning message.