Custom credential ptovider is not showing when trying to connect using remote desktop/ RDP

Priti Shah 21 Reputation points
2021-10-25T05:29:36.7+00:00

I have developed custom credential provider to work with Windows 10 platform. This provider is working fine with normal windows login, but custom credential provider option is not shown when I am trying to connect using remote desktop.
I have tried implementing ICredentialProviderFilter to filter out all other options except custom provider. I have also tried different remote desktop policies also but nothing worked. I am trying to implement this solution in c#.
Please let me know if anyone has any solution for getting custom credential provider option in RDP session.

Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
453 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 39,296 Reputation points
    2021-10-27T19:50:12.423+00:00

    Hi @Priti Shah ,

    When you have your own custom credential provider (CP) for multifactor authentication (such as Biometric, password, Smartcard).

    You do remote desktop connection (RDC) to connect to a client Vista machine where the client machine has installed this custom CP. The issue is that you have to login twice for a Remote session.

    You can get to know more about this from here
    RDC and Custom Credential Providers
    https://learn.microsoft.com/en-us/archive/blogs/winsdk/rdc-and-custom-credential-providers

    I have also found a Similar thread that might be helpful for you https://learn.microsoft.com/en-us/answers/questions/383802/windows-custom-credential-provider-unable-to-displ.html
    ---------
    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Priti Shah 21 Reputation points
    2021-11-10T04:36:37.5+00:00

    @Limitless Technology
    Thank you for your reply. With lots of try outs, I am able to get custom CP tile in second time during login via RDP.
    When I initiate login via RDP, first login needs to be done via default login and for second login custom CP is available.
    I am able to login successfully with first step but with second step which I am trying to login with custom CP, login is failing with below error code:

    0xC000006D STATUS_LOGON_FAILURE The attempted logon is invalid. This is either due to a bad username or authentication information

    Same code works fine when I am login directly on windows using custom CP.

    Can you please help me identifying or solving this issue? I am suspecting some windows policies are causing issue when I am trying to create user session via custom CP during RDP login.

    Looking forward for your suggestions.

    0 comments No comments