AutoUnlock a Windows User Session


  • Dear MSDNers,

    Recently, I have been working on a CredentialProvider in order to unlock automatically (the trigger can be any event, so let’s say the end of a timer) a Windows Vista (or more recent version) user session.

    For that I read some useful articles on the subject, the change between GINA and this new architecture.

    I think, like everyone in the process of creating a custom CredentialProvider, I didn’t start from scratch but from the sample code provided by Microsoft. And then I tried to change the behaviour (things like logging) in the different functions.

    So in the end I can use the custom CredentialProvider, enter the SetUsageScenario methods but still I cannot reach the Set or GetSerialization method. From what I’ve understood in the technical documentation on CredentialProvider (still provided by Microsoft) theses two methods should be called automatically. Is there something I missed ?

    Also, my original idea was to get an authentication package using Kerberos in order to perform an implicit user authentication. I got this idea by seeking information on other SO or MSDN threads like

    Is this approach the good one ?

    Thank you very much for your time answering my questions. Any clarifications are welcomed, even if they don’t directly resolve my problems :-)

    • Edited by Katsuri Thursday, December 06, 2012 7:28 AM
    Thursday, December 06, 2012 7:28 AM