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
-
I disabled / enabled DEP on a Windows 7 Home Premium x64 system a couple of days ago. That is the exact command I used. Like you, I referenced it from a Vista page.
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.
-
Well I right clicked on the command prompt and ran it as admin. I thought that should have done the trick. I guess it didn't, lol !
-
So you can turn on/off DEP via EasyBCD ?
I've never noticed that feature in the program. -
Yep -- that should elevate it.
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? -
OptIn only enables DEP for core services. I believe you can enroll individual processes to have DEP enabled for anything other than the core services.
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.
No. The elevated command is only for using cmd.exe to enable/disable DEP. If you are using EasyBCD to enable/disable DEP you won't need to run cmd.exe.
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.