Disable DEP for specific applications.
How to Disable DEP for Specific Applications
- Click the Start button on your Windows computer and choose Computer > System Properties > Advanced System Settings.
- From the System Properties dialog, select Settings.
- Select the Data Execution Prevention tab.
- Select Turn on DEP for all programs and services except those I select.
Click Add and use the browse feature to browse to the program executable you want to exclude—for example, excel.exe or word.exe.
Depending on your version of Windows, you may need to access the System Properties dialog box by right-clicking This PC or Computer from Windows Explorer.
- In Windows Explorer, right-click and choose Properties > Advanced System Settings > System Properties.
- Select Advanced > Performance > Data Execution Prevention.
- Select Turn on DEP for all programs and services except those I select.
- Click Add and use the browse feature to browse to the program executable you want to exclude.
Exclude:
C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPOCRDC.EXE
C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPSCAN.EXE
C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPVIEW.EXE
Additional information not part of the answer:
To obtain and install MODI on newest versions of Windows see:
“Microsoft Office Document Imaging – Office 2010 to Office 2016”
References:
“Exclude Programs From DEP (Data Execution Prevention)”
“Microsoft Office Document Scanning error”
MODI is part of (free) “Microsoft SharePoint Designer 2007”.