Disable Data Execution Prevention (DEP)
Edit the BOOT.INI file in the root of the partition from which the computer boots.
- Right-click on My Computer and select Properties.
- Click on the Advanced tab.
- Click on the third button—settings for system start options.
- Click on the Edit button to edit the boot.ini file.
- Carefully edit the /NoExecute=OptIn string and change it to AlwaysOff. This part at the end of the line should now read: /NoExecute=AlwaysOff
- Save and close the dialog boxes by clicking on OK.
Alternative Method:
- ATTRIB -S -H -R C:\BOOT.INI
- NOTEPAD BOOT.INI
- Carefully edit the /NoExecute=OptIn string and change OptIn to AlwaysOff. This part at the end of the line should now read: /NoExecute=AlwaysOff
- Close the editor and resave the BOOT.INI file back to where it was.
- ATTRIB +S +H +R C:\BOOT.INI
To disable DEP by modifying the Boot.ini file, change the /noexecute policy level to alwaysoff.
/NoExecute=AlwaysOff