How do I enable or disable DEP for Office applications?

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

Support for Windows Server 2003 ended on July 14, 2015

Microsoft ended support for Windows Server 2003 on July 14, 2015. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

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.
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.

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"


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.
fixit fix it enable disable DEP office
Properties

Article ID: 971766 - Last Review: 09/12/2011 19:30:00 - Revision: 2.0

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise, Windows Server 2008 Standard, Windows Vista Business, Windows Vista Enterprise, Windows Vista Home Basic, Windows Vista Home Premium, Windows Vista Ultimate, Microsoft Windows Server 2003 Service Pack 2, Microsoft Windows Server 2003 Service Pack 1, Microsoft Windows XP Service Pack 2, Microsoft Windows XP Service Pack 3

  • kbexpertiseinter kbexpertisebeginner kbsurveynew kbmsifixme kbfixme KB971766
Feedback