How do I enable or disable DEP for Office applications?

Article translations Article translations
Article ID: 971766 - View products that this article applies to.
Expand all | Collapse all

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 it button or link. Click Run in the File Download dialog box, and then follow the steps in the Fix it wizard.
Collapse this tableExpand this table
Enable DEPDisable DEP
Fix this problem
Microsoft Fix it 50283
Fix this problem
Microsoft Fix it 50284
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.

Properties

Article ID: 971766 - Last Review: September 12, 2011 - Revision: 2.0
APPLIES TO
  • 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
Keywords: 
kbexpertiseinter kbexpertisebeginner kbsurveynew kbmsifixme kbfixme KB971766

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com