Enable, Disable Data Execution Prevention (DEP) in Windows 10

39 Comments

  1. I followed your command on cmd with ‘open as admin”..But it shows “An error has occurred setting the element data.The value is protected by Secure booy policy and cannot be modified or deleted.”

  2. If you’re using Windows 8 or a UEFI boot instead of BIOS, you have to disable the Secure Boot function before this will work.

  3. Hi, unfortunately when I type in “bcdedit.exe /set {current} nx AlwaysOff” it responds with “The boot configuration data store could not be opened. Access denied.” how do i fix this?

  4. how to fix always enable Dep? i do all the right ways to enable again my DEP by typing this bcdedit.exe /set {current} nx AlwaysOn then restart. after that my DEP still disabled :< Im using windows 7 ultimate

  5. how to fix always enable Dep? i do all the right ways to enable again my
    DEP by typing this bcdedit.exe /set {current} nx AlwaysOn then restart.
    after that i restarted pc and my DEP still disabled :< Im using windows 7 ultimate

  6. i have problem i open cmd on administrator then i copy that bcdedit.exe always on …. but then when i restart pc i go to computer properties advanced , then options and data execution prevention then it says if you want use this options you need to be computer administrator and use bcdedit.exe file and then search for microsoft base in internet help me plz it was on windowns 7

  7. The boot configuration data store could not be opened.
    The system cannot find the file specified.

    Any Suggestions?

  8. You have to run the command prompt as an administrator. Open the start menu, type CMD in the search field, and wait for cmd to pop up. Right click CMD and select “Run as Administrator.”

  9. You have to run the command prompt as an administrator. Open the start
    menu, type CMD in the search field, and wait for cmd to pop up. Right
    click CMD and select “Run as Administrator.” This will solve it.

  10. Data Execution Prevention Options Not Available Or Data Execution Prevention Choosing Options hided…if you want i send the image your mail ID…please reply me…..

  11. So i have DEP enabled i think and i go to Control Panel/System Properties/System/Advanced system settings/ and clik on the advanced tab and then go to performace and click settings. i proceed to go to the Data Execution Prevention section and it wont let me change anything inside of there! i need to add programs to it but it won let me!

  12. Mine says The boot Configuration data store could not be opened Access denied. Help please?

  13. And if that fails (AND your system is based on EFI rather than a more traditional BIOS setup), temporarily flip the switch on Secure Boot, make the changes and restart. Once back up, flip the switch on Secure Boot and you’re done!

    Additionally, if the use of the {current} modifier gives you errors, simply edit it out and try again, like so:

    bcdedit.exe /set nx optin
    bcdedit.exe /set nx AlwaysOff

    That’s what I had to do when I started using the Windows 10 Insider beta as my primary OS. Anyway, hope that helps anyone.

  14. I love u mate. 😀 u help me a lot 🙂 i fight with that almost hour 🙂 God bless u

  15. I wish I had a normal problem to fix so be thankful if you have a solid no or yes from your computer. Mine says it performs the bcedit operation but if I check it didn’t . Reboot its still off. Its like working with a guy that don’t listen. Just shakes their head and says yea yea yea, I got it. Never actually does anything you tell them though.

  16. I get the message ” a problem has caused the program to close”, i dont know what is blocking this particular program from running. I have already added it to DEP and it still dont run correctly..please help

  17. Thank you very much. This method worked fine for me on Dell Latitude E6400 laptop. Spent two days to find correct solution. Thanks again.

  18. I get this error.
    The integer data is not valid as specified.
    Run “bcdedit /?” for command line assistance.
    The parameter is incorrect.

  19. I did the “bcdedit.exe /set {current} nx AlwaysOn” and “operation completed successfully” but DEP radio buttons are still grayed out.
    Help I am using Windows 7 x64 Pro

Leave a Reply

Your email address will not be published. Required fields are marked *


6 + 6 =