Determine if DEP has been activated:
wmic OS Get DataExecutionPrevention_SupportPolicy
Statuses of DEP:
Value, Policy Level, Description
2, OptIn (default configuration), Only Windows system components and services have DEP applied
3, OptOut, DEP is enabled for all processes except for a list manually created by Administrator
1, AlwaysOn, DEP is enabled for all processes
0, AlwaysOff, DEP is not enabled for any processes
Enable DEP for all processes:
Execute the command below before restarting the PC:
bcdedit.exe /set nx AlwaysOn
Disable DEP:
Run the following command before restarting the PC:
bcdedit.exe /set nx AlwaysOff
No comments:
Post a Comment