question

PritiShah-4855 avatar image
0 Votes"
PritiShah-4855 asked PritiShah-4855 commented

How to load custom credential provider tile only for given users

I have requirement to create custom credential provide on Windows 10 IoT. This credential provider should be enabled only for 2 specific windows users and for rest of the user it should be windows default cred provider. I have also requirement where both users should be displayed on login screen when user reboots the machine.

As a first approach, I have tried solution with single credential provider and with single tile (by implementing ICredentialProviderCredential2). I have tried binding both windows users (using user SID) with single view/tile but didn't work. It was showing custom tile only for one user. I have referred https://github.com/phaetto/windows-credentials-provider on github to create this PoC.

Second approach I tried by having two pair of credential provider and its corresponding view. One pair represents one user. This approach worked. I am able to see both users on windows login screen but on selection of second user, it does not show custom credential tile as default, instead it shows default login screen. User need to select signing option to see custom credential tile.

I am not sure how to load custom credential provider tile always for given users. Can anyone help here?

windows-10-application-compatibility
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered PritiShah-4855 commented

Hello @PritiShah-4855,

Thank you for your question.

Please follow these steps, it will help you.

Windows Vista offers developers many new opportunities for integrating with the platform. The new Credential Provider model represents one of the most dramatic changes, making it much easier to implement new user authentication scenarios that are supported by the OS. This has replaced the GINA (Graphical Identification and Authentication) model-a model that, put bluntly, is known for being difficult for developers to understand and implement as well as being expensive for Microsoft to support.

For more information please go through this link:
https://docs.microsoft.com/en-us/archive/msdn-magazine/2007/january/custom-login-experiences-credential-providers-in-windows-vista

If the reply was helpful, please don't forget to upvote or accept as answer.

Thanks,

Bharti B

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Bharti,

Thanks for your reference. Me and my team have looked on link you have shared already at beginning of development itself. Problem with my case, I have two windows users for which I want tenable custom credential tile available by default. Current observation with our solution do not bring custom credential option as default option for one of the user. This behavior is seen only first time when I have installed credential provider and not logged-in with custom credential option.
Please let me know if you are aware of solution for this issue.

Thank you again.

0 Votes 0 ·