How to disable Windows DEP?
Question ID: 104678
1
0

We have been told that Windows DEP (data execution prevention) can sometimes interfere with QC and QCP integrations (some activities are percieved as data execution). How can we disable this windows "feature" (and possibly re-enable later)?

Marked as spam
Posted by (Questions: 193, Answers: 14)
Asked on November 5, 2012 4:13 pm
211 views
Answers (2)
1
Private answer

Here are a few ways to accomplish it:
ref: http://support.microsoft.com/kb/875352

Disable Data Execution Prevention (DEP) completely

1. Click Start, and then click Control Panel.
2. Under Pick a category, click Performance and Maintenance.
3. Under or Pick a Control Panel icon, click System.
4. Click the Advanced tab, and in the Startup and Recovery area, click Settings.
5. In the SystemStartup area, click Edit.
6. In Notepad, click Edit and then click Find.
7. In the Find what field, type /noexecute and then click Find Next.
8. In the Find dialog box click Cancel.
9. Replace the policy_level (for example, ''OptIn'' default) with ''AlwaysOff''
(without the quotes).

WARNING: Be sure to enter the text carefully. Your boot.ini file switch should now read:

/noexecute=AlwaysOff

10. In Notepad, click File and then click Save.
11. Click OK to close Startup and Recovery.
12. Click OK to close System Properties and then restart your computer.
This setting does not provide any DEP coverage for any part of the system, regardless of hardware DEP support.

Alternate Method:

1. Open the command line: ''Start'' -> enter ''cmd.exe'' into search field and hit enter.
2. Simply run the following command to disable it:

bcdedit.exe /set {current} nx AlwaysOff

**Reboot to apply it.**

**You can enable it again with:**

bcdedit.exe /set {current} nx AlwaysOn

and then:

bcdedit.exe /set {current}nx OptIn
(must do both commands)

Marked as spam
Posted by (Questions: 4, Answers: 509)
Answered on November 5, 2012 4:29 pm
0
That did it! Thanks
( at November 5, 2012 4:35 pm)
0
Private answer

Verifying DEP is Disabled

1. Click Start, and then click Control Panel.
2. Under Pick a category, click Performance and Maintenance.
3. Under or Pick a Control Panel icon, click System.
4. Click the Advanced tab.
5. In the Performance area, click Settings and then click Data Execution Prevention.
6. Verify that the DEP settings are unavailable and then click OK to close Performance Settings.
7. Click OK to close System Properties then close Performance and Maintenance.

Marked as spam
Posted by (Questions: 4, Answers: 509)
Answered on November 5, 2012 4:29 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top