How to disable DEP on windows 2012R2

Modified on Tue, 23 Aug, 2016 at 7:41 PM

Symptom:

CPM is failed to managed accounts with the following error message:
CACPM243W Failed to read from third party log file. Error: The system cannot find the file specified



Cause:

Data Execution Prevention (DEP) preventing the CPM from running a 3-Party utilities such as PMTerminal, CScript and more.



Solution:

To disable DEP follow these steps:

  1. Login to Windows with a user account that has administrative privileges,
  2. From a DOS command line run the command "> bcdedit.exe",
  3. Confirm the default value for the "nx" parameter. If it is OptIn then DEP is enabled,
  4. Disable DEP by setting the "nx" parameter to "AlwaysOff" using the command "> bcdedit.exe /set nx AlwaysOff",
  5. Rerun the command in step 2 above and verify that the "nx" parameter is set to "AlwaysOff",

Reboot the system to ensure that the "nx" parameter setting takes effect and DEP is disabled.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article