How to add DEP exclusion through registry in Win Server 2003 x64
-
29-10-2019 - |
Question
Is there a way to add an exclusion in DEP in Windows 2003 using registry?
I tried adding through registry:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlag\Layers
DisableNXShowUI=<path>
After adding manually through registry, I can see the entry coming in DEP tab but the program crashes when I launch.
Solution
I found a solution to this problem.
rundll32 sysdm.cpl, NoExecuteAddFileOptOutList "FullPathToExecutable
Use the above command. It worked for a 32-bit executable in Windows Server 2003 64-bit environment.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow