Check DEP Status:
wmic os get dataexecutionprevention_supportpolicy
Diasable DEP:
bcdedit.exe /set {current} nx AlwaysOff
Enable DEP:
bcdedit.exe /set {current} nx AlwaysOn
Check DEP Status:
wmic os get dataexecutionprevention_supportpolicy
Diasable DEP:
bcdedit.exe /set {current} nx AlwaysOff
Enable DEP:
bcdedit.exe /set {current} nx AlwaysOn
Here’s How after installation:
Type:
bcdboot c:windows /s c:
You should get a message similar to:
Boot files successfully created.