Click here to Skip to main content
15,894,284 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to turn-On DEP(Data Execution Prevention) in in Windows-Xp and Windows-7 Programatically(c#/VB .net).

Is Possible means give me a sample code.

Thanks In Advance.....!

Posted

1 solution

There is no way to do this. You can GET the System DEP policy, but you cannot SET it as this would be a huge security risk.

You can only SET the DEP policy on your own process, but once turned on, it cannot be turned off without quitting and restarting your own process.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900