# Snagit (Windows): Bad Image - opencv_imgproc310.dll is either not designed to run on Windows or it contains an error....

## Problem

After installing Snagit, it works right after installing. However after rebooting the machine, Snagit fails with the following error.

## Solution

This appears to be a false positive with McAfee security solutions. We have contacted McAfee to attempt 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 a copy of your Snagit license key. Then uninstall Snagit through your control panel.
2. Open McAfee.
3. Select the PC Security tab at the top, and then choose Real-Time Scanning on the left.

4. Select Turn Off.

5. In the drop down menu, choose "When I restart my PC" and click Turn Off.

7. Once reinstalled, open McAfee and select the PC Security tab.
8. Select Real-Time Scanning on the left.
9. Click Excluded Files
10. Click Add File. Add 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
11. Reboot your computer and verify that Snagit continues to work. Once the machine has rebooted, the McAfee Real-Time Scanning will be re-enabled.

## If the problem returns, with the error referencing different files....

If the problem does come back with error's that refer to a different set of files, follow these additional steps. It is important to make sure to add the problematic files before reinstalling Snagit.

1. Add the files referenced in the error message to the excluded list in McAfee using the same steps described above.
2. Make sure you have a copy of your Snagit license key. Then uninstall Snagit through your control panel.
3. Reboot your computer.