How do I enable or disable DEP for Office applications?

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.
คุณสมบัติ

รหัสบทความ: 971766 - การตรวจสอบครั้งสุดท้าย: 12 ก.ย. 2011 - ฉบับแก้ไข: 1

คำติชม