DEP (Data Execution Prevention)
Welcome, Guest. Please login or register. Did you miss your activation email?


Pages: [1]
  Print  
Author Topic: DEP (Data Execution Prevention)  (Read 465 times)
Zainehs
Newbie
*
Posts: 1


View Profile
« on: September 18, 2011, 06:51:37 PM »

Hello,

I am having problems with DEP. I'm running vista and everytime I go to open my game it closes. After I found out it was DEP I tried making my game an exception for DEP so it would'nt close it. Of course vista comes up with a bullshit pop up stating the problem but not a solution. It said that I cannot disable DEP for that program. So I decided to turn off DEP completely. I opened my CMD and wrote down (bcdedit.exe /set {current} nx AlwaysOff). Normally that would do the trick but the cmd stated I did not have permissions. So when I launched cmd I hit ctrl+shift+enter so account user control popped up. I was then considered administrator and hitting (bcdedit.exe /set {current} nx AlwaysOff) worked. I check DEP and realized it actually DIDN'T work. I tried again a few times without any luck. I'm tearing my hair out trying to figure out what the hell to do. Ideas?
Logged
Britec
Administrator
Hero Member
*****
Posts: 3498



View Profile
« Reply #1 on: September 19, 2011, 03:02:14 AM »

HOWTO: Disabling Windows DEP (Data Execution Prevention)

Disable Data Execution Prevention (DEP) completely

Click Start, and then click Control Panel.
Under Pick a category, click Performance and Maintenance.
Under or Pick a Control Panel icon, click System.
Click the Advanced tab, and in the Startup and Recovery area, click Settings.
In the SystemStartup area, click Edit.
In Notepad, click Edit and then click Find.
In the Find what field, type /noexecute and then click Find Next.
In the Find dialog box click Cancel.
Replace the policy_level (for example, "OptIn" default) with "AlwaysOff" (without the quotes).

WARNING: Be sure to enter the text carefully. Your boot.ini file switch should now read:

/noexecute=AlwaysOff
In Notepad, click File and then click Save.
Click OK to close Startup and Recovery.
Click OK to close System Properties and then restart your computer.
This setting does not provide any DEP coverage for any part of the system, regardless of hardware DEP support.

Verifying DEP is Disabled

Click Start, and then click Control Panel.
Under Pick a category, click Performance and Maintenance.
Under or Pick a Control Panel icon, click System.
Click the Advanced tab.
In the Performance area, click Settings and then click Data Execution Prevention.
Verify that the DEP settings are unavailable and then click OK to close Performance Settings.
Click OK to close System Properties then close Performance and Maintenance.
Logged



Pages: [1]
  Print  
 
Jump to: