The other day Smart Scan suggested enabling “Data Execution Prevention” and since then my computer is unable to open certain programs unless I run them as administrator.

I’ve already tried running the following command to set my nx setting back to default, but I’m still running into issues:

“bcdedit.exe /set {current} nx OptIn”.

Does anyone know exactly what Avast changed, and how can I revert it?

You can set DEP back to protect essential programs only.

  • First, press the Win+R hotkey to open the Run dialog box and enter sysdm.cpl in it to launch System Properties.
  • Now, move to the Advanced tab inside the System Properties window and tap on Settings under Performance.
  • After that, navigate to the Data Execution Prevention tab and select the Turn on DEP option that suits your requirement.
  • Next, press the Apply > OK button to save changes.