IIS:如何在 Windows Server 2008 中禁用数据执行保护?

发布于 2024-07-29 22:31:41 字数 471 浏览 16 评论 0原文

我一直在尝试在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

深府石板幽径 2024-08-05 22:31:41

GUI 不显示 DEP 操​​作的 4 种模式。

您需要在启动时执行此操作:用于配置 DEP 和 PAE 的启动参数

但是,有关错误消息的详细信息:

系统 DEP 配置设置
仅适用于 32 位应用程序并且
在 32 位上运行时的进程或
64 位版本的 Windows。 在 64 位上
Windows 版本,如果
硬件强制 DEP 可用
始终应用于 64 位进程
和内核内存空间,并且有
没有系统配置设置
禁用它。

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:

System DEP configuration settings
apply only for 32-bit applications and
processes when running on 32-bit or
64-bit versions of Windows. On 64-bit
versions of Windows, if
hardware-enforced DEP is available it
is always applied to 64-bit processes
and kernel memory spaces and there are
no system configuration settings to
disable it.

糖粟与秋泊 2024-08-05 22:31:41

在 Windows Vista 及更高版本上,DEP 和 PAE 在启动时启用,并通过使用 BCDEdit /set 命令设置 nx 和 pae 参数的值来配置。

要在 Windows Server 2008 上禁用 DEP,请在提升的命令行上键入以下内容

bcdedit /set nx AlwaysOff

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

bcdedit /set nx AlwaysOff
娜些时光,永不杰束 2024-08-05 22:31:41

您需要编辑 boot.ini 并将包含 /noexecute=optin 的部分更改为 /execute

you would want to edit boot.ini and change a section contaning /noexecute=optin to just /execute

窝囊感情。 2024-08-05 22:31:41

以下是如何在命令提示符处禁用 DEP:

BCDEDIT /set {current} nx AlwaysOff

Here is how to disable DEP at the command prompt:

BCDEDIT /set {current} nx AlwaysOff
暮色兮凉城 2024-08-05 22:31:41

您应该能够在 BIOS 设置之一中关闭 DEP。

You should be able to turn DEP off in one of your BIOS settings.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文