none
Data Exceution Prevention settings greyed out

    Question

  •  

    Running Windows Vista Business x86 and x64, this occurs on both platforms.

     

    When I go to the "Data Execution Prevention" tab in system properties - performance options, all the
    settings that can be changed are all grayed out. It then indorms me: To use these settings, you must be a computer administrator and you must use the bcdedit.exe file.

     

    Screenshot:

    http://img452.imageshack.us/img452/7967/depproblemcx4cg1.jpg

     

    I am the administrator (using the built in admin account), now I know how to toggle DEP on and foff via the command line but is there any commands to toggle the status of DEP for specific applications, or better still any ideas on how I can retrieve the settings functionality back? Its really annoying as I have to now turn DEP off completley otherise many applicatiosn simply do not work.

    Saturday, May 19, 2007 7:00 PM

Answers

  • Ive managed to fix it, I found another command to use which none of the sites seem to tell you when telling you how to enable/disable via the command line.

       When enabling:

                bcdedit.exe /set {current} nx AlwaysOn 
                  bcdedit.exe /set {current} nx optin

       When disabling:

                bcdedit.exe /set {current} nx AlwaysOff

    Then restart!

    This has worked for x64 and x86, thanks for the members who viewed the thread though.

    Sunday, May 20, 2007 7:53 PM

All replies

  • Ive managed to fix it, I found another command to use which none of the sites seem to tell you when telling you how to enable/disable via the command line.

       When enabling:

                bcdedit.exe /set {current} nx AlwaysOn 
                  bcdedit.exe /set {current} nx optin

       When disabling:

                bcdedit.exe /set {current} nx AlwaysOff

    Then restart!

    This has worked for x64 and x86, thanks for the members who viewed the thread though.

    Sunday, May 20, 2007 7:53 PM
  • Excellent piece of information. Not available anywhere in the web. Great service. Thanks.

     

    Friday, November 30, 2007 4:35 PM
  • Never considered DEP being the problem. After some failed searches this turned out to be my problem.

    When I did a P2V the VM was able to actually USE DEP on the new system and my java.exe was being forced to be checked and crashing out my tomcat services. Thank you for the update and fix!

    Saturday, October 26, 2013 7:41 PM
  • sir

    tried many a times but no effect

    Sunday, February 11, 2018 4:21 AM
  • It worked i tried bcdedit.exe /set {current} nx Always On never worked after i tried It worked i tried bcdedit.exe /set {current} nx Always on then bcdedit.exe /set{current} nx optin it worked
    Monday, July 9, 2018 5:33 AM
  • method 1:

    1) press windows button on keyboard and type in "cmd.exe" then right click it and run as administrator first

    2) type (without the quotes) into the command prompt: "bcdedit /set {current} nx alwayson" OR instead of "alwayson" you may put in either "optin", "optout" or "alwaysoff" which are explained at the bottom of this post

    3) reboot

    method 2: if that doesnt work or if there is no administrator privileges

    1) hold down windows button on keyboard and press R

    2) type cmd.exe

    3) type "net user administrator /active:yes" into the command prompt

    4) hold down windows button on keyboard and press L

    5) select "administrator" instead of your normal profile and then try method 1 again.

    6) instead of "bcdedit /set {current} nx alwayson" you are going to replace the "{current}" with "{default}" so it will look like this: ""bcdedit /set {default} nx alwayson"

    7) reboot

    Optin
    Enables DEP only for operating system components, including the Windows kernel and drivers. Administrators can enable DEP on selected executable files by using the Application Compatibility Toolkit (ACT).

    Optout
    Enables DEP for the operating system and all processes, including the Windows kernel and drivers. However, administrators can disable DEP on selected executable files by using System in Control Panel.

    AlwaysOn
    Enables DEP for the operating system and all processes, including the Windows kernel and drivers. All attempts to disable DEP are ignored.

    AlwaysOff
    Disables DEP. Attempts to enable DEP selectively are ignored.

    On Windows Vista, this parameter also disables Physical Address Extension (PAE). This parameter does not disable PAE on Windows Server 2008.









    • Proposed as answer by kendezx Friday, May 3, 2019 3:57 AM
    • Edited by kendezx Friday, May 3, 2019 4:04 AM
    Friday, May 3, 2019 3:46 AM