When I was playing around with some settings in Windows Defender, I noticed that there is a setting to turn on/turn off DEP in the Exploit Protection settings section. I've had trouble with DEP on Windows 7 so I ran the following command to disable it completely: bcdedit.exe /set {current} nx AlwaysOff

When I installed Windows 10, I didn't check to make sure that DEP was still disabled in Performance Options. Today I noticed a setting in Windows Defender where DEP was turned on. Naturally, not wanting this feature, I turned off the setting and rebooted. Then I thought about the DEP in Performance Options and was wondering if my turning off the DEP in Windows Defender also disable the DEP in Performance Options, or if they are unrelated and when I upgraded to Windows 10 that it saved my setting to disable DEP from Windows 7. So what exactly is the difference between the two--if any at all?

Click image for larger version. 

Name:	ApplicationFrameHost_2018-06-22_23-21-18.png 
Views:	2 
Size:	200.9 KB 
ID:	193252

Click image for larger version. 

Name:	SystemPropertiesPerformance_2018-06-22_23-21-27.png 
Views:	14 
Size:	17.2 KB 
ID:	193253