我想禁用CTRL + ALT + DEL在Wi​​ndows XP在我的ANSI-C code? [英] I want to disable CTRL+ALT+DEL in Windows XP in my ANSI-C code?

查看:206
本文介绍了我想禁用CTRL + ALT + DEL在Wi​​ndows XP在我的ANSI-C code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想禁用CTRL + ALT + DEL在Wi​​ndows XP在我的ANSI-C code。是否有可能呢?

I want to disable CTRL+ALT+DEL in Windows XP in my ANSI-C code. Is it possible to do it?

推荐答案

首先,捕获按Ctrl-Alt-Del组合(安全注意序列),并禁用它是两回事。尽管有许多的误解,可以禁用SAS。

First of all, Trapping Ctrl-Alt-Del (Secure Attention Sequence) and disabling it are two different things. Despite misconceptions of many it is possible to disable SAS.

下面3种方式做到这一点:

Here are 3 ways to do it:


  1. 设置HKCU /软件/微软/视窗/ CURRENTVERSION /策略/系统/ DisableTaskMgr = 1

  1. Set HKCU/Software/Microsoft/Windows/CurrentVersion/Policies/System/DisableTaskMgr = 1

换成你自己的msgina.dll或写一个键盘驱动程序。

Replace msgina.dll with your own or write a keyboard driver.

进入开始菜单,选择运行,输入gpedit.msc,运行组策略编辑器。看在用户配置|管理模板|系统,你会发现一个叫按Ctrl + Alt + Del选项部分 - 删除任务管理器

Go to the Start menu, select Run, and type "gpedit.msc" to run the Group Policy editor. Look in User Configuration | Administrative Templates | System and you'll find a section called Ctrl+Alt+Del Options - "Remove Task Manager"

为了捕获SAS,你可以写一个GINA存根,创建一个键盘驱动程序或更换的TaskMgr.exe

In order to trap SAS, you could write a GINA stub, create a keyboard driver or replace TaskMgr.exe

这些要求主要发生于嵌入式系统,你必须在WinXP的图像是如何制造的控制。

These requirements arise mainly for embedded systems and you have control over how the WinXP image is made.

参考: MSDN马格2002年9月

这篇关于我想禁用CTRL + ALT + DEL在Wi​​ndows XP在我的ANSI-C code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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