IIS:如何在 Windows Server 2008 中禁用数据执行保护?
我一直在尝试在 Windows 2008 开发盒上禁用 DEP,但没有成功。
我试过了: 系统属性->性能选项->数据执行保护->仅为必要的Windows程序和服务启用DEP
(仍然发生)
(仍然发生)系统属性->性能选项->数据执行保护->仅为必要的Windows程序和服务启用DEP 除了我在本例中选择的程序和服务之外的所有程序和服务
,我尝试在 c:\windows\system32\inetsrv\ 文件夹中选择 inetinfo.exe 和 w3wp.exe,选择后,我收到此错误:
“您不能在 64 位可执行文件上设置 DEP 属性”。
我确信某处存在内存泄漏 - 但这是一个单独的问题。 我很高兴在我的开发环境中使用它一段时间(事实上,这就是我需要放开它以便我可以看到它的地方)
任何帮助将不胜感激!
谢谢, 道格
I've been trying to disable DEP on my windows 2008 dev box and have not succeeded.
I've tried:
System Properties->Performance Options->Data Execution Prevention->Turn on DEP for essential Windows programs and services only
(still happens)
System Properties->Performance Options->Data Execution Prevention->Turn on DEP for all programs and services except those I select
in this case, i tried to choose both inetinfo.exe and w3wp.exe in the c:\windows\system32\inetsrv\ folder, and when selected, I receive this error:
"You can not set DEP attributes on 64-bit executables".
I'm sure that there is some memory leak somewhere - but that is a separate problem. I'm happy to live with it for a while in my development environment (in fact that is where I need to let it go so I can see it)
Any help would be appreciated!
Thx,
Doug
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
GUI 不显示 DEP 操作的 4 种模式。
您需要在启动时执行此操作:用于配置 DEP 和 PAE 的启动参数
但是,有关错误消息的详细信息:
The GUI does not show the 4 modes of DEP operation.
You need to do it at boot time:Boot Parameters to Configure DEP and PAE
However, more info on the error message:
在 Windows Vista 及更高版本上,DEP 和 PAE 在启动时启用,并通过使用 BCDEdit /set 命令设置 nx 和 pae 参数的值来配置。
要在 Windows Server 2008 上禁用 DEP,请在提升的命令行上键入以下内容
On Windows Vista and later, DEP and PAE are enabled at boot time and are configured by setting values for the nx and pae parameters using the BCDEdit /set command.
To disable DEP on Windows Server 2008 type the following on an elevated Command Line
您需要编辑 boot.ini 并将包含 /noexecute=optin 的部分更改为 /execute
you would want to edit boot.ini and change a section contaning /noexecute=optin to just /execute
以下是如何在命令提示符处禁用 DEP:
Here is how to disable DEP at the command prompt:
您应该能够在 BIOS 设置之一中关闭 DEP。
You should be able to turn DEP off in one of your BIOS settings.