Disable Data Execution Prevention

I have already seen several people complaining that their game / program crashes with Exception Code c0000005 when trying to start. The exception code c0000005 stands for an access violation in memory. When running Server 2008 you have a high probability that DEP has blocked an instruction, and that’s the reason your executable stops execution. By default DEP is in Windows Server 2008 enabled for all programs and services.

In this tutorial we will leave Data Execution Prevention only enabled for essential Windows programs and services. All programs and games you install won’t use DEP anymore. As an example I show you how I fixed Dungeon Siege II, but this works for applications and other games too!

Example of crashing game “Dungeon Siege II” before disabling DEP

1. Open the Start menu, right click at Computer and select Properties in the context menu.

2. On the left below Tasks click Advanced system settings. In the Performance section click Settings. After that the window Performance Options shows up, go to the tab Data Execution Prevention, select Turn on DEP for essential Windows programs and services only and click OK.Click OK when you are notified that you need to restart your computer.

3. Restart your computer and probably you can now play your favourite game or run the program that didn’t work before!

Game is now working! As you see I only didn’t insert the game disk.

27 thoughts on “Disable Data Execution Prevention”

  • Problem signature:
    Problem Event Name: BEX
    Application Name: t3.exe
    Application Version: 1.0.0.1
    Application Timestamp: 00000000
    Fault Module Name: t3.exe
    Fault Module Version: 1.0.0.1
    Fault Module Timestamp: 00000000
    Exception Offset: 000000f0
    Exception Code: c0000005
    Exception Data: 00000008
    OS Version: 6.0.6001.2.1.0.274.10
    Locale ID: 1033
    Additional Information 1: e2dd
    Additional Information 2: 9df55f18d4845d20cce90c5cda48b369
    Additional Information 3: 1c95
    Additional Information 4: 3299c37920f148371860524f8a82451e

    I have allready tried to disable DEP actually on windows 7 it comes that way, any ideas im very very frustrated… XD (not really)

  • ayuda¡¡
    cuando voy a abrir halo 2 se pone este problema pr favor ayudenme

    Firma del problema:
    Nombre de evento problema: APPCRASH
    Nombre de la aplicación: halo2.exe
    Versión de la aplicación: 1.0.0.11081
    Aplicación TIMESTAMP: 46368037
    Nombre del módulo de fallas: halo2.exe
    Versión del módulo de fallas: 1.0.0.11081
    Módulo TIMESTAMP de fallas: 46368037
    Código de excepción: c0000005
    Desplazamiento de excepción: 0006230e
    OS versión: 6.0.6001.2.1.0.272.7
    ID regional: 1033
    Información adicional de 1: 1acd
    Información adicional de 2: a9c80722b816b7308cbea4599bc30825
    Información adicional 3: 153f
    Información adicional 4: ad6ec9a9bfa34da5215dd4b5bb1fcd09

  • ayuda con el problema

    Firma con problemas:
    Nombre del evento de problema: AppHangB1
    Nombre de aplicación: halo2.exe
    Versión de la aplicación: 1.0.0.11081
    Marca de tiempo de la aplicación: 46368037
    Firma de bloqueo: b236
    Tipo de bloqueo: 0
    Versión del sistema operativo: 6.0.6001.2.1.0.768.2
    Id. de configuración regional: 2058
    Firma adicional de bloqueo 1: a8bbe6eb5a493c8419070c29cd6542e0
    Firma adicional de bloqueo 2: ce3f
    Firma adicional de bloqueo 3: f4d7716f7c8bb8da858dbd391ebda9df
    Firma adicional de bloqueo 4: b236
    Firma adicional de bloqueo 5: a8bbe6eb5a493c8419070c29cd6542e0
    Firma adicional de bloqueo 6: ce3f
    Firma adicional de bloqueo 7: f4d7716f7c8bb8da858dbd391ebda9df

  • i have problems with lineage 2, details:
    Problem Event Name: APPCRASH
    Application Name: L2.exe
    Application Version: 0.0.0.0
    Application Timestamp: 45b9c660
    Fault Module Name: kernel32.dll
    Fault Module Version: 6.0.6002.18005
    Fault Module Timestamp: 49e038c0
    Exception Code: 40010006
    Exception Offset: 0001e124
    OS Version: 6.0.6002.2.2.0.274.10
    Locale ID: 1033
    Additional Information 1: f3a3
    Additional Information 2: 28423de22a8c95b1c805a54f5c446830
    Additional Information 3: acc0
    Additional Information 4: a1bcc9a464cf6706bcbdec358284151d

  • Yuhong Bao says:

    Or even better, add the crashing program to the DEP exception list underneath the radio buttons, this ensures that DEP is still enabled for all other programs.

  • Casey060492 says:

    I’m having the same problem with Halo 2 on Windows Server 2008, it is a brand new install I’ve tried everything from disabling DEP to installing everything all over again. I would really like it to work as soon as possible. I’m running Windows Server 2008 Standard 64-bit on a Macbook Pro.

    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: halo2.exe
    Application Version: 1.0.0.11081
    Application Timestamp: 46368037
    Fault Module Name: halo2.exe
    Fault Module Version: 1.0.0.11081
    Fault Module Timestamp: 46368037
    Exception Code: c0000005
    Exception Offset: 0006230e
    OS Version: 6.0.6001.2.1.0.272.7
    Locale ID: 1033
    Additional Information 1: 1acd
    Additional Information 2: a9c80722b816b7308cbea4599bc30825
    Additional Information 3: 153f
    Additional Information 4: ad6ec9a9bfa34da5215dd4b5bb1fcd09

    Arris: Maybe this topic at the forum can help you.

  • myelement says:

    Problemereignisname: APPCRASH
    Anwendungsname: AssassinsCreed_Dx10.exe
    Anwendungsversion: 1.0.0.1
    Anwendungszeitstempel: 47cf0000
    Fehlermodulname: AssassinsCreed_Dx10.exe
    Fehlermodulversion: 1.0.0.1
    Fehlermodulzeitstempel: 47cf0000
    Ausnahmecode: c0000005
    Ausnahmeoffset: 00589c6b
    Betriebsystemversion: 6.0.6001.2.1.0.400.8
    Gebietsschema-ID: 3079
    Zusatzinformation 1: fd00
    Zusatzinformation 2: ea6f5fe8924aaa756324d57f87834160
    Zusatzinformation 3: fd00
    Zusatzinformation 4: ea6f5fe8924aaa756324d57f87834160

    I’ve tried all in the description but i always get the same error.
    With/without Compatibility Mode, Gameux.dll installed, DEP disabled but it wont work.

    Any ideas?

  • I just want to thank you for taking the time and helping others with the server 2008. If not for your instructions on your website, I wouldn’t have tried it.
    So far I can’t get any virus program to work, and I can’t get sound. I’ll keep tweeking…
    Thanks again.
    V

    Arris: I am glad you enjoy the manual! A list of working Antivirus applications can be found here!

  • Uuuuh maybe I’m missing the cool-kid school bus here, but why are you running Server 08 if you want to play games?

  • I haven’t before, but now I’ve tried and there showed me another error:

    Product
    Bioshock.exe

    Problem
    Program Compatibility

    Date
    6/7/2008 15:51

    Status
    Not Reported

    Problem signature
    Problem Event Name: PCA2
    Problem Signature 01: Bioshock.exe
    Problem Signature 02: 1.0.0.0
    Problem Signature 03: unknown
    Problem Signature 04: ቈ̮
    Problem Signature 05: ༉̮
    Problem Signature 06: 200
    Problem Signature 07: -1
    OS Version: 6.0.6001.2.1.0.274.10
    Locale ID: 1033

    Files that help describe the problem
    appcompat.txt
    Tab7D0C.tmp

    ———————

    Here’s appcompat.txt:

    Arris: That’s a strange problem signature. Try to post your problem in the Games Compatibility forum.

  • Product
    Bioshock.exe

    Problem
    Stopped responding and was closed

    Date
    6/6/2008 19:24

    Status
    Report Sent

    Description
    A problem caused this program to stop interacting with Windows.

    Problem signature
    Problem Event Name: AppHangB1
    Application Name: Bioshock.exe
    Application Version: 1.0.0.0
    Application Timestamp: 474f12d3
    Hang Signature: 669a
    Hang Type: 2048
    OS Version: 6.0.6001.2.1.0.274.10
    Locale ID: 1033
    Additional Hang Signature 1: f30d28fa7ca2adac3e7547322e7f3b5b
    Additional Hang Signature 2: cfd4
    Additional Hang Signature 3: 7af41f59f7be7a0cc0691040e53212d0
    Additional Hang Signature 4: 669a
    Additional Hang Signature 5: f30d28fa7ca2adac3e7547322e7f3b5b
    Additional Hang Signature 6: cfd4
    Additional Hang Signature 7: 7af41f59f7be7a0cc0691040e53212d0

    Extra information about the problem
    Bucket ID: 255468101

    ——————————

    Product
    Bioshock.exe

    Problem
    Stopped working

    Date
    6/6/2008 19:42

    Status
    Report Sent

    Problem signature
    Problem Event Name: APPCRASH
    Application Name: Bioshock.exe
    Application Version: 1.0.0.0
    Application Timestamp: 474f12d3
    Fault Module Name: Bioshock.exe
    Fault Module Version: 1.0.0.0
    Fault Module Timestamp: 474f12d3
    Exception Code: c0000005
    Exception Offset: 003d683d
    OS Version: 6.0.6001.2.1.0.274.10
    Locale ID: 1033
    Additional Information 1: e17d
    Additional Information 2: 3be9f8a50bddd4313bd572f57066c49b
    Additional Information 3: 81dc
    Additional Information 4: aa162d78020c3d2d8202ca7dabeada06

    Extra information about the problem
    Bucket ID: 584356439

    ———————-

    Both in Bioshock 1.1. I’ve already disabled DEP, but it doesn’t work.

    Arris: Do you run Bioshock in Windows XP SP2 Compatibility Mode as mentioned in the Games Compatibility list?

  • Problem signature:
    Problem Event Name: BEX
    Application Name: t3.exe
    Application Version: 1.0.0.1
    Application Timestamp: 00000000
    Fault Module Name: t3.exe
    Fault Module Version: 1.0.0.1
    Fault Module Timestamp: 00000000
    Exception Offset: 000000f0
    Exception Code: c0000005
    Exception Data: 00000008
    OS Version: 6.0.6001.2.1.0.274.10
    Locale ID: 1033
    Additional Information 1: e2dd
    Additional Information 2: 9df55f18d4845d20cce90c5cda48b369
    Additional Information 3: 1c95
    Additional Information 4: 3299c37920f148371860524f8a82451e

    problem with thief 3 deadly shadows , i don’t understand wht is the problem

    how to make thief 3 a work , i duno

    Arris: Because you get exception code c0000005 I suggest you to follow the disable DEP tutorial. If that doesn’t work, fully turn off DEP by executing bcdedit /set nx AlwaysOff in the Command Prompt (Start -> Run -> cmd.exe).

  • drakekhan says:

    try disable dep by using cmd.exe
    Run command prompt(right click choose run as administrator)

    type
    bcdedit /set nx alwaysoff

    reboot then try run the program again

  • Call of Duty 4 – Singleplayer v1.5

    Got an application crash too… In my case it looks like an bad graphics driver…

    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: iw3sp.exe
    Application Version: 0.0.0.0
    Application Timestamp: 473cceb0
    Fault Module Name: atiumdag.dll
    Fault Module Version: 7.14.10.567
    Fault Module Timestamp: 47edbffa
    Exception Code: c0000096
    Exception Offset: 0018365d
    OS Version: 6.0.6001.2.1.0.274.10
    Locale ID: 1031
    Additional Information 1: fd00
    Additional Information 2: ea6f5fe8924aaa756324d57f87834160
    Additional Information 3: fd00
    Additional Information 4: ea6f5fe8924aaa756324d57f87834160

  • Hi Guys…

    I want to play Call of Duty 4 (Multiplayer)! I made the DEP and rebooted.

    I have the still following problem….

    Problemsignatur:
    Problemereignisname: APPCRASH
    Anwendungsname: iw3mp.exe
    Anwendungsversion: 0.0.0.0
    Anwendungszeitstempel: 4797d45e
    Fehlermodulname: iw3mp.exe
    Fehlermodulversion: 0.0.0.0
    Fehlermodulzeitstempel: 4797d45e
    Ausnahmecode: c0000005
    Ausnahmeoffset: 002764f3
    Betriebsystemversion: 6.0.6001.2.1.0.274.10
    Gebietsschema-ID: 1033
    Zusatzinformation 1: fd00
    Zusatzinformation 2: ea6f5fe8924aaa756324d57f87834160
    Zusatzinformation 3: fd00
    Zusatzinformation 4: ea6f5fe8924aaa756324d57f87834160

    Can anybody help me??

    Thanks for your support…

    Felix

    Arris: Looks like more people have this exact problem: Google – iw3mp.exe c0000005 002764f3. Maybe they got solutions too?

  • Whoops – I just thought for the heck of it I’d try manually selecting DEP for HALO2.exe – says I can’t turn it off for HALO2 – sounds like I need a registry hack.

  • I have the same issue with HALO2 on 2008. I have an 8800GT with the latest drivers – I have a vanilla install – haven’t even installed antivirus yet.

    I have made the changed to DEP and rebooted

    Opening HALO2 I get within a few seconds of starting doesn’t even load the game fully –

    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: halo2.exe
    Application Version: 1.0.0.11081
    Application Timestamp: 46368037
    Fault Module Name: halo2.exe
    Fault Module Version: 1.0.0.11081
    Fault Module Timestamp: 46368037
    Exception Code: c0000005
    Exception Offset: 0006230e
    OS Version: 6.0.6001.2.1.0.272.7
    Locale ID: 1033
    Additional Information 1: 1acd
    Additional Information 2: a9c80722b816b7308cbea4599bc30825
    Additional Information 3: 153f
    Additional Information 4: ad6ec9a9bfa34da5215dd4b5bb1fcd09

    Read our privacy statement:
    http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

  • I’m not sure what this is about and how it concerns the opperation of anything arbitrary as I have expirenced with gaming of late and a simular problem with Diablo 11. If a company is causing this then a stop should be instituted asap!!

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>