2

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?

2 Answers 2

3

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.

1
  • Fab!....Did the trick.
    – Kev
    Aug 31, 2009 at 18:02
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .