How To Disable DEP In Windows?

Data Execution Prevention (DEP)

Data Execution Prevention ( DEP ) (born  DEP ) – a safety feature built into the family of operating systems Windows , which does not allow the application to execute code from memory regions marked as “data only”. It will prevent some attacks, which, for example, retain the code in this area with a buffer overflow.

Unfortunately this feature does not work properly and often does not work a normal program, so many it turned off. To do this:

• Windows XP :
– logged in with administrator privileges;
– open any folder, the top menu, choose Tools -> Folder Options -> View -> select “Show hidden files and folders”,
– in the “Files and folders” uncheck “Hide protected operating system files” and click OK;
– open My Computer -> drive C;
– Find hidden system file Boot.ini , click it right mouse button;
– from the shortcut menu, select Edit ;
– Set options noexecute = AlwaysOff

For example, if the operating system you have installed on drive C: \, the approximate contents of the file boot.ini:
[boot loader]
timeout = 30
default = multi (0) disk (0) rdisk (0) partition (1) \ WINDOWS
[operating systems]
multi (0) disk (0) rdisk (0) partition (1) \ WINDOWS = “Microsoft Windows XP Professional RU” / noexecute = AlwaysOff / nopae / fastdetect

– Save your changes and close the file boot.ini.

In Windows Vista, all off a little bit differently.

• Windows Vista:
– Click Start;
– In the Start Search box, type cmd;
– Programme under the heading, right-click on cmd.exe;
– From the context menu, select “Run as administrator”;
– Enter the administrator password when prompted;
– When prompted, enter the command bcdedit.exe / set {current} nx AlwaysOff
– Press Enter;
– The message “The operation completed successfully”;
– Close this window.

Leave a Reply