Windows 7 Logon Programmatically

2019-08-31 00:02发布

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..?

1条回答
Deceive 欺骗
2楼-- · 2019-08-31 00:34

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.

查看更多
登录 后发表回答