Disable DEP

For security reasons, Windows Server 2012 by default has enabled Data Execution Prevention (DEP) for all applications and services. This can lead to problems when running games and applications. In case you encounter applications crashing with exception code 0xC0000005 (EXCEPTION_ACCESS_VIOLATION), use the steps below and the Disable SEHOP page to disable these security features.

1. Open the Start screen, right click the Computer tile and click Properties in the bar below.
Open System Settings via the Start screen

2. In the System Settings, click Advanced system settings in the left pane, go to the Advanced tab and click Settings in the Performance section. Next in the Performance Options window, go to the Data Execution Prevention tab and select Turn on DEP for essential Windows programs and services only.
Turn on DEP for essential Windows programs and services only

3. Finally click OK in both windows to save the configuration change and restart your computer to apply it.


Continue to also disable Structured Exception Handling Overwrite Protection (SEHOP)…

You may also like...

11 Responses

  1. Mohammmed Asiry says:

    Apply this on Command Prompt:
    bcdedit /set {current} nx AlwaysOff

  2. Andrew Bustraan says:

    I found that the excluding of applications doesn’t allow for 64-bit applications.

  3. Angela says:

    So now you can listen to any music from any where non-stop and cost free.

    Helix Server Basic Free streaming media server software which can
    distribute live and on-demand video and other media. Closed at heels, all the interruptions of RJs too can
    be kept aside, thanks to odysseystreaming.

  4. keskejesuis says:

    bcdedit /set nx alwaysoff

  5. Joe G says:

    A quick way to get there is hit “windows key + R” to get the run window. Type sysdm.cpl – that will get you to the system properties window. Enjoy!

    • smbit says:

      Hi, Joe! Once I saw the way to jump directly to the specific tab in the “System properties” by launching something like this in the run >>> sysdm.cpl 3 <<< or something like this. But I forgot the syntax completely… may be you can suggest me how to jump to a specific tab?

  6. Megg G says:

    In the previous step, you show us the fastest way to get to the performance options screen, by searching for “performance” using the start button.

    In this step you tell us to right click computer, go to system properties, advanced, performance, advanced, DEP. Instead of just searching for it.

    It was informational to provide another method, but I find it redundant.

  7. Jim says:

    You can assign that DEP be exempt for programs you wish to. It’s best to leave DEP at it’s maximum setting and assign programs in the exemption list only as needed.

  8. Lotusisrael says:

    So, it seems that DEP on Windows, by default, it is enabled for ”essential Windows programs and services only”, but on Windows Server 2012, it is enabled for ”all programs and features”

Leave a Reply

Select Language »