I tried running the Vista command via the command prompt in administrator mode which is: bcdedit.exe /set {current} nx AlwaysOff. I get the message that the command is incorrect.
I need to turn DEP off and then back on via command except it won't work. I have one racing game in 2003 that was not updated properly and DEP shuts it down to prevent a buffer overflow. Once i'm done playing the game i'll turn DEP back on.
All right guys what am I doing wrong?![]()
-
did u try disabling DEP via GUI ?
My Computer > Properties > Advanced System settings > Settings > Data Execution Prevention
-
Are you sure you are running cmd.exe as Administrator? I thought I elevated the first time I ran the command, but in fact, wasn't elevated. I received a response similar to what you posted. Closing the cmd window and elevating to Admin did the trick for me.
Maybe your processor doesn't support DEP? Is the dialog vinumsv posted available (not grayed) to you? If it is grayed, either DEP is already off or otherwise not available.
Other than that, I'm afraid I don't have any ideas.
--L. -
The command should really work, but try and get EasyBCD where you can enable it in the options.
-
-
I've never noticed that feature in the program. -
Sorry I can't be of more help!
--L. -
OK I installed EasyBCD and sure enough there it was. OK two questions:
1) What is Opt In/Opt Out and the difference with Always off?
2) Do I still need to run the elevated command as noted above if I temporarily switch DEP off to run my racing game? -
OptOut enables DEP for all processes. You can exempt any applications you do not want using DEP protection.
AlwaysOff is just that: DEP is off.
BTW, when you enable/disable DEP via cmd.exe, you will need to reboot for it to take effect. I suspect you will need to do the same after making the changes in EasyBCD.
--L.
I can't turn off DEP in W7, need command please?
Discussion in 'Windows OS and Software' started by Rodster, Jan 9, 2010.