如何以编程方式解锁 Windows
我想利用我的旧镜子(紫罗兰),当您将 rfid 标签放在 rfid 标签阅读器上或从 rfid 标签阅读器上取下时,它可以触发事件。 使用 LibMirror 我可以用 c# 编写事件,非常方便。
我的想法是,当我将 rfid 标签放在镜子上时,锁定和解锁我的站。
由于2,锁定电台非常容易,但解锁似乎更困难。
我必须明确指出,我对任何安全考虑不感兴趣,这更多的是为了这样做。
编辑:来自violet的mirware曾经允许这样做,这就是为什么我相信这是可能的。
任何线索将不胜感激。
I would like to make use of my old mirror (by violet) which allow to trigger events when you put and take a rfid tag on/off a rfid tag reader.
Using LibMirror I can program events in c# which is quite convienent.
My idea is to lock and unlock my station when I take and put the rfid tag on the mirror.
It is quite easy to lock the station thanks to 2, unlocking however seems more difficult.
Several posts 3,4 on SO show that's difficult but I would like to have an definitive answer.
I must precise that I am not interested in any consideration of security, this much more for the sake of doing it.
EDIT : mirware from violet used to allow this, that's why I am convinced this is possible.
Any clue would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,这是不可能的。这对您来说足够明确吗?
无论您是否关心安全,Windows 团队关心并且绝对必须。因此,没有提供 API 来解锁安全桌面。
无论如何,这都没有意义——您必须输入密码才能解锁工作站,函数调用如何输入密码?
UI 自动化或任何巧妙的黑客可能会炮制的东西都不会起作用,因为安全注意序列(Ctrl+Alt+Del)是需要防止人们这样做。
唯一的解决方案是完全替换Windows安全系统。在 Windows XP 上,您可以通过 编写新的 GINA DLL 来实现此目的 来替换标准的
msgina.dll
。在 Windows Vista 中,情况变得稍微复杂一些,其中 GINA 被替换使用新的凭据提供程序。如果您有兴趣追求这样的目标,您可能会发现本文很有用路线。No, this is not possible. Is that definitive enough for you?
Whether you're concerned with security or not, the Windows team is and absolutely must be. Consequently, there is no API provided to unlock a secured desktop.
It wouldn't make sense anyway—you have to enter a password in order to unlock the workstation, and how is a function call going to enter a password?
UI automation or whatever some ingenious hacker might cook up isn't going to work because the secure attention sequence (Ctrl+Alt+Del) is required to prevent people from doing precisely this.
The only solution would be to completely replace the Windows security system. On Windows XP, you'd do that by writing a new GINA DLL to replace the standard
msgina.dll
. Things got slightly more complicated in Windows Vista, where GINA was replaced with the new Credential Providers. You might find this article useful if you're interested in pursuing such a route.