Saturday, December 6, 2008

Disable DEP

DEP (Data Execution Prevention) keeps closing services I need and I don't believe it is coming from a virus so I am disabling it.  This is how to do it:

To configure DEP to switch to the AlwaysOn policy by using the Boot.ini file, follow these steps:
  1. Click Start, right-click My Computer, and then click Properties.
  2. Click the Advanced tab, and then click Settings under the Startup and Recovery field.
  3. In the System startup field, click Edit. The Boot.ini file opens in Notepad.
  4. In Notepad, click Find on the Edit menu.
  5. In the Find what box, type /noexecute, and then click Find Next.
  6. In the Find dialog box, click Cancel.
  7. Replace policy_level with AlwaysOff.

    WARNING Make sure that you enter the text accurately. The Boot.ini file switch should now read:
    /noexecute=AlwaysOff
  8. In Notepad, click Save on the File menu.
  9. Click OK two times.
  10. Restart the computer.
The 4 options for /noexecute are: OptIn, OptOut, AlwaysOn, AlwaysOff

No comments: