How to check the Status of "Data Execution Prevention" on CPM Server.

How to check the Status of "Data Execution Prevention" on CPM Server.

91
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 12:59 PM


Objective


The article is about how to check and verify if DEP "Data Execution Prevention" is enabled or disabled on CPM machine via command line?


Environment


9.10;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)

Procedure


Open CMD with an elevated user and run the command below:
wmic OS Get DataExecutionPrevention_SupportPolicy
 
The command will return a value as described below:
 
0 – DEP is disabled for all processes.
1 – DEP is enabled for all processes.
2 – DEP is enabled for only Windows system components and services. (Default)
3 – DEP is enabled for all processes.
 
In order to disable DEP on CPM machine run follow the instructions below:
1. Open CPD with elevate user
2. Run the command "bcdedit /set nx AlwaysOff"
3. Reboot the CPM Server.


Additional Information


Details

Q:
How to check  and verify if DEP "Data Execution Prevention" is enabled or disabled on CPM machine via command line.
 
A:
Open CMD with elevated user.
 
Run the command below:
 
wmic OS Get DataExecutionPrevention_SupportPolicy
 
The command will return a value as describe below:
 
0 – DEP is disabled for all processes.
1 – DEP is enabled for all processes.
2 – DEP is enabled for only Windows system components and services. (Default)
3 – DEP is enabled for all processes.
 
In order to disable DEP on CPM machine run follow instructions below:
 
1. Open CPD with elevate user
2. Run the command "bcdedit /set nx AlwaysOff"
3. Reboot the CPM Server.
 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001UVWCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail