在C#中的网吧监控系统中干预Ctrl + Alt + Del的想法 [英] Idea to intervene ctrl + alt + del in net cafe monitoring system in c#

查看:74
本文介绍了在C#中的网吧监控系统中干预Ctrl + Alt + Del的想法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我想问我如何干预命令/键CTRL + ALT + DEL ...的任何意见……我正在创建我的咖啡厅监控系统,并且我阅读了许多有关如何钩住Ctrl +的论坛. alt + del ..他们说您应该创建自己的自定义gina.dll,但是gina是用c ++或其他东西制成的,而且在该语言中效果不是很好,所以我尝试了另一种方法,而不是使用我知道的全局钩子,说如果您不打算创建自己的gina.dll,这是完全不可能的,我尝试禁用任务管理器,但我注意到只有拥有管理员权限或以管理员身份登录时,才能禁用任务管理器.但是我想要的是这个...
1.)我有一台服务器和一台工作站...
2.)工作站正在从数据库中检索数据(该数据库位于不同的机器,服务器中)
3.)我创建了一个线程,用于不时检查工作站的状态(检查是在工作站中完成的,而不是在服务器中完成的)
4.)当服务器中的模块状态为锁定时,运行工作站中的模块以锁定键盘和ctrl + alt + del键...

所以我在这里的工作站之一中尝试了它,似乎工作站无法禁用任务管理器,因为它没有任何管理员权限或没有以管理员身份登录...

问题:

1.)是否可以在不以管理员身份登录的情况下禁用任务管理器?或以普通用户身份禁用任务管理器?
2.)如果不可能,那么我可以采取什么不同的方法来禁用任务管理器或ctrl + alt + del,而不创建任何gina.dll文件?

希望您能帮助我解决我的问题,在此先感谢...

解决方案

哦,是的,因为拧入了刚铸造的GINA.DLL,煎炸OS的乐趣.如果您不知道自己在做什么,我不建议您编写GINA dll.我还不到十年前就相信了我,虽然这并不困难,但是如果拧紧了,机器就被锁住了.期间,您将无法登录.

除了GINA仅适用于Windows XP和更早版本,我认为这些机器对于Vista和更高版本也有所不同.同样,我已经十多年没有在这个领域见过面了.

如果您想远足,请参阅 http://technet.microsoft.com/en-us/library/bb742447.aspx [ ^ ]

适用于远景和其他 http://msdn.microsoft.com/zh-cn/magazine/cc163489.aspx [ ^ ]

由于明显的原因,这实际上是不可能的.此键组合由操作系统以特殊方式处理,无法被截获.

但是,还有别的东西.可能正是您真正需要的:信息亭模式.
请参阅本文:使用C#以Kiosk模式运行网站 [ c#程序ctrl-alt-del屏幕窗口7 [ ^ ].

—SA


由于您的所有限制,这是不可能的.

建议:进入工作站,以管理员身份登录(您有权,不要:-))并禁用任务管理器.


Hi everyone i would like to ask any opinion on how can i intervene the command/key CTRL + ALT + DEL... well im creating my cafe monitoring system and i read many forums regarding on how to hook the key ctrl+alt+del.. they say you should create your own customized gina.dll but gina is made out of c++ or something and im not really good in that language so i tried a different approach instead of using a global hook which i know and they say its quite impossible if your not going to create your own gina.dll, i tried on disabling the task manager but i noticed that you can only disable the task manager when you have an administrator right or you are log in as administrator... but what i want is this...
1.) I have a server and a workstation...
2.) the workstation is retrieving data from the database (the database is located in different machine, the server)
3.) i created a thread to check every now and then the status of the workstation (checking is done in workstation and not in server)
4.) run the module in the workstation to lock the keyboard and ctrl+alt+del key when its status in the server is lock...

so i tried it in one of the workstation here and it seems that the workstation cant disable the task manager since it doesnt have any administrator right or was not log in as administrator...

Question:

1.) Is there a way to disable the task manager without logging in as administrator? or disable the task manager as a normal user?
2.) If its not possible then what different approach can i do to disable the task manager or the ctrl+alt + del without creating any gina.dll file?

Hope you can help me with my problem guys thanks in advance...

解决方案

Oh yea the joy of frying OS because of screwing freshly minted GINA.DLL. If you don''t know what you doing, I won''t suggest you write GINA dll. I did not more than a decade ago and trust me, while it is not terribly hard, but if you screw up, the machine is locked. you won''t be able to login, period.

Besides GINA is only for windows XP and earlier, I think the machines is a bit different for Vista and newer. Again I have not seen in this area for 10+ years.

If you want to take the hike see http://technet.microsoft.com/en-us/library/bb742447.aspx[^]

for vista and beyond http://msdn.microsoft.com/en-us/magazine/cc163489.aspx[^]


This is really not possible, by apparent reason. This key combination is processed by OS in a special way, cannot be intercepted.

However, there is something else; and probably this is what you really need: the Kiosk Mode.
See this article: Running a Web Site in Kiosk Mode with C#[^].

See also this discussion: c# program ctrl-alt-del screen windows 7[^].

—SA


With all your restriction... It is NOT possible.

Suggestion: Go to the workstation, log on as an Administrator (you have the right, don''t you :-)) and disable the Task Manager.


这篇关于在C#中的网吧监控系统中干预Ctrl + Alt + Del的想法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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