Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'd like to exclude a single application's executable from DEP (Data Execution Prevention) on our automated Windows Server 2008 builds. Is there a way to do this either as a registry setting or from the command line?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Try editing the application path below and importing it:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Program Files\\MyApp\\MyApp.exe"="DisableNXShowUI"

Edit: Just checked on a Server 2008 install I have and that is how the Nagios client is handling the DEP issue with their installer.

share|improve this answer
    
Fab!....Did the trick. –  Kev Aug 31 '09 at 18:02

I think that what you need is the Application Compatibility Toolkit. With this you can create a shim that specifies that DEP should be disabled for your application.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.