如何禁用CTRL + ALT + DEL键 [英] How to Disable CTRL+ALT+DEL Key

查看:146
本文介绍了如何禁用CTRL + ALT + DEL键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我目前正在开发一个项目,要求禁用CTRL + ALT + DEL键。任何人都可以给我一个如何在VB.NET中解决这个问题的线索?我将不胜感激任何适用于Windows XP,Vista和Window 7的解决方案。



谢谢!

Hello everyone,

I'm presently working on a project that requires that the CTRL+ALT+DEL key is disabled. Can anyone please give me a clue on how to solve this problem in VB.NET? I'll appreciate any solution that will work with Windows XP, Vista and Window 7.

Thanks!

推荐答案

要为Walt添加更多答案:肯定是不可能的。当您拦截任何键盘事件时,它们将被分派到您的应用程序窗口或系统挂钩所有类似但不是Ctrl + Alt + Del。这是系统工作的原因,原因很明显。



现在,该怎么办?

您需要自助服务终端模式。在这里阅读:

使用C#以Kiosk模式运行网站 [ ^ ],

c#program ctrl-alt-del screen windows 7 [ ^ ]。



-SA
To add more to the answer by Walt: it is certainly impossible. When you intercept any keyboard events, they are dispatched to your application window or system hook everything similar but not Ctrl+Alt+Del. This is how system work, for obvious reasons.

Now, what to do?
You need kiosk mode. Read about it here:
Running a Web Site in Kiosk Mode with C#[^],
c# program ctrl-alt-del screen windows 7[^].

—SA


CTRL + ALT + DEL是一个低级Windows功能,所以我不知道有什么好的方法可以禁用它,除了更换部分Windows系统。



为什么你需要改变Windows的工作方式吗?
CTRL+ALT+DEL is a low level Windows function, so I don't know of any good way to disable it, other than replacing part of the Windows system.

Why do you need to change the way Windows works?


你不能从你的应用程序代码中禁用Ctrl-Alt-Del,即使是低级别的键盘钩子也是如此。原因是因为CAD是Windows安全系统的一部分,而不是任何用户模式应用程序的一部分。



有办法实现,但是,像Walt所说,您必须替换某些Windows库才能执行此操作。这不是任何用户模式代码都可以做到的。



不,我会告诉你如何做到这一点,因为从来没有禁用组合键的一个很好的理由。
You cannot disable Ctrl-Alt-Del from your application code, not even with a low-level keyboard hook. The reason is because C-A-D is part of Windows security system, NOT part of any user-mode application.

There are ways of doing it, but, like Walt said, you have to replace certain Windows libraries to do it. This is not something any user-mode code is going to be able to do.

No, I'm going to tell you how to do it because there is never a good reason to disable the key combination.


这篇关于如何禁用CTRL + ALT + DEL键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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