The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    I can't turn off DEP in W7, need command please?

    Discussion in 'Windows OS and Software' started by Rodster, Jan 9, 2010.

  1. Rodster

    Rodster Merica

    Reputations:
    1,805
    Messages:
    5,043
    Likes Received:
    396
    Trophy Points:
    251
    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? :confused:
     
  2. vinumsv

    vinumsv MobileFreak™

    Reputations:
    502
    Messages:
    1,238
    Likes Received:
    0
    Trophy Points:
    55
    did u try disabling DEP via GUI ?

    My Computer > Properties > Advanced System settings > Settings > Data Execution Prevention

    [​IMG]
     
  3. lbohn

    lbohn Notebook Consultant

    Reputations:
    320
    Messages:
    235
    Likes Received:
    0
    Trophy Points:
    30
    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.
     
  4. Kocane

    Kocane Notebook Deity

    Reputations:
    395
    Messages:
    1,626
    Likes Received:
    15
    Trophy Points:
    56
    The command should really work, but try and get EasyBCD where you can enable it in the options.
     
  5. Rodster

    Rodster Merica

    Reputations:
    1,805
    Messages:
    5,043
    Likes Received:
    396
    Trophy Points:
    251
    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 ! :D
     
  6. Rodster

    Rodster Merica

    Reputations:
    1,805
    Messages:
    5,043
    Likes Received:
    396
    Trophy Points:
    251
    So you can turn on/off DEP via EasyBCD ? :eek:

    I've never noticed that feature in the program.
     
  7. lbohn

    lbohn Notebook Consultant

    Reputations:
    320
    Messages:
    235
    Likes Received:
    0
    Trophy Points:
    30
    Yep -- that should elevate it. :D Sorry I can't be of more help!

    --L.
     
  8. Rodster

    Rodster Merica

    Reputations:
    1,805
    Messages:
    5,043
    Likes Received:
    396
    Trophy Points:
    251
    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? :confused:

    2) Do I still need to run the elevated command as noted above if I temporarily switch DEP off to run my racing game?
     
  9. lbohn

    lbohn Notebook Consultant

    Reputations:
    320
    Messages:
    235
    Likes Received:
    0
    Trophy Points:
    30
    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. :D
    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.