Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How do I enable or disable DEP for Office applications?


View products that this article applies to.

Problem description

This article helps you enable or disable Data Execution Prevention (DEP) for Office applications.

To have us enable or disable DEP for you, go to the "Fix it for me" section. To enable or disable DEP yourself, go to the "Let me fix it myself" section.

↑ Back to the top


Fix it for me

To enable or disable DEP automatically, click the
Fix itbutton or link. Click
Runin the
File Downloaddialog box, and then follow the steps in the Fix it wizard.
Enable DEPDisable DEP
Note this wizard may be in English only; however, the automatic fix also works for other language versions of Windows.

Note if you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.

Next, go to the "Did this fix the problem?" section.

↑ Back to the top


Let me fix it myself

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To enable DEP for Office applications, follow these steps:
  1. Click Start, click Run, type cmd, and then press Enter.
  2. Type the following command at the command prompt and then press Enter:
    sdbinst.exe –q "<path_to_extracted_SDB>\Office – Enable DEP.sdb"

To disable DEP for Office applications, follow these steps:
  1. Click Start, click Run, type cmd, and then press Enter.
  2. Type the following command at the command prompt and then press Enter:
    sdbinst.exe –q -u "<path_to_extracted_SDB>\Office – Enable DEP.sdb"


↑ Back to the top


Did this fix the problem?

Check whether the problem is fixed. If the problem is fixed, you are finished with this article. If the problem is not fixed, you can contact support.

↑ Back to the top


Keywords: kb, kbexpertiseinter, kbexpertisebeginner, kbsurveynew, kbmsifixme, kbfixme

↑ Back to the top

Article Info
Article ID : 971766
Revision : 1
Created on : 1/7/2017
Published on : 9/12/2011
Exists online : False
Views : 204