Snagit (Windows): Bad Image - opencv_imgproc310.dll Is Either Not Designed to Run on Windows or It Contains an Error

Problem

After installing Snagit, the program works. However, after restarting the machine, Snagit fails with the following error message:

inline-434519413.png

Solution

There appears to be a false positive within McAfee security solutions. We have contacted McAfee to find a permanent solution, however, the best workaround at this time is to add the problematic files to the excluded list in McAfee.

If you are receiving the same error message but for different files, see here.

  1. Make sure you have your license key before uninstalling Snagit.
  2. Uninstall Snagit. To uninstall, see this article.
  3. Open McAfee.
  4. Select PC Security > Real-Time Scanning.
    1.png
  5. Click Turn Off.
    2.png
  6. Select When I restart my PC in the dropdown and click Turn Off.
    3.png
  7. Reinstall Snagit from the downloads page.
  8. Open McAfee again and select PC Security > Real-Time Scanning.
  9. Click the Excluded Files dropdown.
  10. Click Add File. Add all of the following files:
    • C:\Program Files\TechSmith\Snagit 2018\opencv_core300.dll
    • C:\Program Files\TechSmith\Snagit 2018\opencv_core310.dll
    • C:\Program Files\TechSmith\Snagit 2018\opencv_imgproc300.dll
    • C:\Program Files\TechSmith\Snagit 2018\opencv_imgproc310.dll
    • C:\Program Files\TechSmith\Snagit 2018\opencv_photo310.dll
      SnagWin_AddFileMcAfee.png
  11. Restart computer and verify if Snagit continues to work. Once the machine is rebooted, the McAfee Real-Time Scanning will be re-enabled.

Error Returns Referencing Different Files

If the problem returns with an error refering to a different set of files, follow the additional steps below. It is important to add the problematic files before reinstalling Snagit.

  1. Add the files that were referenced in the error message to the excluded list in McAfee using the same steps described above.
  2. Make sure you have your license key before uninstalling Snagit. Then, Uninstall Snagit. To uninstall, see this article.
  3. Restart the computer.
  4. Reinstall Snagit from the downloads page.