Create a custom credential provider for Windows 7

After looking at the code to create custom credential providers for Windows 7, I was able to display my own tile on the login screen and log in as the desired user. However, I am trying to implement a system in which an event (a Bluetooth device in range) triggers a login / unlock, without the need to click on a fragment.

I can configure it to automatically fill in the password (maybe I will use pulling the password from the device), but in any case, I must first click on the tile. If it’s locked, I also need to click “Other credentials”.

What should I do with introducing a login credential provider without displaying a tile on the login screen? It would be nice if I could focus the existing password parameter and bypass it at the moment when the device is in range.

EDIT . I have made some progress, but I still think I need to do this without tiles. If I set the parameter *pbAutoLogonto trueand before that I remember the username and password, the following behavior will occur:

  • If the default account is selected (lock / unlock), then I need to click "other credentials". If I log out, both credentials are displayed by default.

  • If both credentials are shown, and after that my provider is activated, authorization is automatic.

  • If my provider is turned on first, then "other credentials" are selected, I still need to click on my provider, after which automatic login

+5
source share
1 answer

You need to change your credential settings for automatic login, and then your provider needs to tell LoginUI that the credentials have changed.

One example of the credential providers provided by Microsoft works this way.

+2
source

All Articles