在 Windows 7 上禁用 Ctrl+Alt+Del [英] Disable Ctrl+Alt+Del on Windows 7

查看:23
本文介绍了在 Windows 7 上禁用 Ctrl+Alt+Del的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题已经以几种不同的方式被问过几次了.然而,在所有的问题和答案中,没有人能够完全回答我的情况......

I know this question has been asked a few times and in a few different ways. However, across all the questions and answers, no one has been able to answer completely given my situation...

我在医疗设备上工作,它们运行 Windows.该应用程序作为 shell 运行,用户不应该能够支持该应用程序,理想情况下,他们将无法执行任何表明系统正在运行 Windows 的操作.访问全键盘是必要的,因此禁用、损坏或重新映射键不是解决方案.鉴于此,我们需要在特定情况下禁用 SAS/CAD/Ctrl+Alt+Delete;还有其他一些,但使用钩子很容易.

I work on medical devices and they run Windows. The application runs as the shell, users shouldn't be able to get behind the application, and ideally they wouldn't be able to do anything that indicates that the system is running Windows. Access to the full keyboard is necessary so disabling, damaging or remapping keys is not a solution. Given that, we need to disable SAS/CAD/Ctrl+Alt+Delete in specific; some others too, but those are easy with hooks.

直到最近我们一直在使用 Windows XP Embedded 并且可以取代 GINA,但我们即将切换到 Windows 7(技术上是 Windows Embedded Standard 7;但在我们的情况下它们基本上是相同的)并且 GINA 是不再是一种选择.一定有办法做到这一点.

Up until recently we've been using Windows XP Embedded and could replace GINA, but we're about to switch to Windows 7 (technically Windows Embedded Standard 7; but in our case they're essentially the same) and GINA is no longer an option. There must be a way to do this.

因为我在其他问题上看到了关于这个的评论:我相信这属于 Stack Overflow.更换 GINA 是一个编程问题,没有理由假设这也不会.虽然我对非编程解决方案持开放态度,但我怀疑 MS 会在注册表等中提供此类更改.

Since I've seen comments about this on other questions: I do believe this belongs on Stack Overflow. Replacing GINA is a programming question and there's no reason to assume this won't be too. While I'm open to a non-programming solution, I doubt MS would make this kind of change available in the registry, etc.

推荐答案

重新映射/禁用键,不可能阻止 Ctrl + Alt + Delete 在内核级代码之外进行处理.我认为这是 windows NT(以及所有衍生产品)的基本安全设计特性.(推理此处.)

Except for remapping/disabling keys, it is not possible to prevent Ctrl + Alt + Delete handling outside of kernel level code. I think this is fundamental security design feature of windows NT (and all derivatives). (Reasoning here.)

我建议编写自定义键盘过滤器或设备驱动程序(或寻找现有的).不是一件容易的事,但可行.示例资源:

I would suggest writing a custom keyboard filter or device driver (or looking for an existing one perhaps). Not an easy task, but doable. Example resources:

  • Keyboard Filter Driver for Windows Embedded Standard 7 - by Elbacom
  • Interception (source) - A programming interface for intercepting input device communication.
  • Writing a keyboard device driver

指向 Elbacom 博客的第一个链接尤其有用,因为您还针对嵌入式 Windows 7.

That first link to the Elbacom blog, in particular, could be useful since you are also targeting windows 7 embedded.

拦截的第二个链接是新的,也可能非常有用.它提供内核级模块并抽象了一些处理.

The second link, to Interception, is newer and might also be quite useful. It provides the kernel level module and abstracts some of the handling.

作为一种可能的替代方案,请考虑虽然您无法在没有设备驱动程序/过滤器的情况下禁用 Ctrl + Alt + Delete 钩子,但您可以阻止所有可通过该钩子访问的任务每更改注册表或使用组策略编辑器.此答案的先前编辑链接到名为Tweak Ctrl-Alt-Del Options"的实用程序,该实用程序可以非常轻松地禁用可通过 Ctrl-Alt-Del 访问的所有活动.该实用程序不再从原始来源获得,但仍然可以找到,并且还有其他类似的工具.

As a possible alternative, consider that though you can't disable the Ctrl + Alt + Delete hook without a device driver/filter, you can prevent all of the tasks that are accessible via that hook per changes to registry or with group policy editor. A previous edit of this answer linked to a utility called "Tweak Ctrl-Alt-Del Options" that made it very easy to disable all activities accessible via Ctrl-Alt-Del. That utility is no longer available from the original source, but is still find-able and there are others like it.

这篇关于在 Windows 7 上禁用 Ctrl+Alt+Del的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆