如何在不重新启动的情况下关闭DEP

如何在不重新启动的情况下关闭DEP

本文介绍了如何在不重新启动的情况下关闭DEP(数据执行保护)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个测试网页,该网页调用DLL文件中的函数.但是每次我使用IE或FF打开它之前,我都必须禁用DEP(数据执行保护),否则脚本将无法执行.当前禁用DEP的方法需要重新启动,但我不想重新启动.

I'm writing a test webpage which calls into a function in a DLL file. But every time before i use IE or FF to open it i have to disable DEP(Data Execution Prevention) or the script can't be executed. Current method of disabling DEP requires reboot but i don't want to reboot.

基本上,我正在寻找一种无需重新启动即可关闭DEP(数据执行保护)的方法.

Basically, i'm looking for a way to how to turn off DEP (Data Execution Prevention) without required reboot.

谢谢

推荐答案

启用后,您将无法为给定进程禁用它,但是 SetProcessDEPPolicy 可能有帮助.

You can't disable it for a given process after it's enabled, but SetProcessDEPPolicy might help.

如果需要在引导过程中将其禁用,则必须将nx引导项设置为BCDEdit /set.

If you need to disable it for during boot, you'd have to set the nx boot entry with BCDEdit /set.

这篇关于如何在不重新启动的情况下关闭DEP(数据执行保护)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 06:12