Windows 7以编程方式登录 [英] Windows 7 Logon Programmatically
问题描述
我正在为我的项目进行研发.我的项目是使用接近传感器检测人类并将真假返回给我的系统.如果为true,则Windows机器应自动登录.如果为假,则不会发生任何操作.
我可以根据用户验证获得正确或错误的状态.但是现在我只想自动登录Windows 7计算机.
我只想了解如何以编程方式进行Windows 7登录的过程.
可以编写任何服务来实现这一目标.或任何建议如何进行此操作..?
Vista之前的版本,您将使用GINA.请参见自定义GINA,第1部分和创建自定义Windows Vista凭据提供者的登录体验.
I am doing a R&D of my project. My project is about detecting a human using proximity sensor and return true or false to my system. If true my windows machine should logon automatically. If false no action should occur.
I can able to get true or false status based on user verification. But now i just want to logon Windows 7 machine automatically..,
I just want to know the procedure of how to do Windows 7 logon programmatically..
Any services can be written to achieve this..? or any suggestion how to proceed this..?
Pre-Vista you would use GINA. See Customizing GINA, Part 1 and Customizing GINA, Part 2. Post-Vista (therefore including Windows 7) you must use custom credential providers, see Create Custom Login Experiences With Credential Providers For Windows Vista.
这篇关于Windows 7以编程方式登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!