Custom Credential Provider cannot loaded

hyeyeon@hyundai-autoever.com 106 Reputation points
2021-07-14T04:48:41.623+00:00

I applied the Credential Provider Sample provided by MS(https://github.com/microsoft/Windows-classic-samples) on Windows10 in VMware.

But there is nothing changed.

Below is what I applied.

Please let me know if I missed something or did something wrong.

Thanks in adavance.

  1. I placed the .dll file in the C:/Windows/System32.
  2. I ran the Register.reg below.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers{5fd3d285-0dd9-4362-8855-e0abaacd4af6}]
@="SampleV2CredentialProvider"

[HKEY_CLASSES_ROOT\CLSID{5fd3d285-0dd9-4362-8855-e0abaacd4af6}]
@="SampleV2CredentialProvider"

[HKEY_CLASSES_ROOT\CLSID{5fd3d285-0dd9-4362-8855-e0abaacd4af6}\InprocServer32]
@="SampleV2CredentialProvider.dll"
"ThreadingModel"="Apartment"

  1. To apply my credential provider as the default credential provider, I entered the GUID into 'Assign a default credential provider'.
    114405-sss.png
  2. Nothing changed after reboot.
    114399-ssss.png
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,202 questions
0 comments No comments
{count} votes

Accepted answer
  1. JiayaoZhu 3,911 Reputation points
    2021-07-14T09:16:40.317+00:00

    Hi,

    Thanks for posting on your forum!

    Based on your description, please firstly check if your issue is related with the cause in this article:
    https://learn.microsoft.com/en-us/troubleshoot/windows-client/user-profiles-and-logon/custom-credential-providers-dont-load-first-logon

    Meanwhile, I am trying to scope your issue so that I can transfer the case to our corresponding colleagues. So, if you have any other findings, do not hesitate to give me feedback!

    Thanks for your support and understanding!

    BR,
    Joan


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Ayoub 5 Reputation points
    2023-04-06T19:00:54.88+00:00

    Hi, I'm facing same issue. I've performed following steps:

    I'm starting with https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/CredentialProvider, built it in with Visual Studio 2019 as win32 app. My target machine is Windows 10 version 22H2 (64 bit). I've performed following steps but still not seeing Sample/Custom Credential provider tile on logon screen.

    1. Copied the SampleV2CredentialProvider.dll in the C:/Windows/System32.
    2. Ran the Register.reg
    3. Set sample credential provider as the default credential provider, by adding the GUID into 'Assign a default credential provider'.
    4. Installed Microsoft Visual C++ Redistributable 2015-2022
    5. Also tried adding a new key AutoAdminLogon at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon as this key doesn't already exist.
    6. This doesn't work either https://learn.microsoft.com/en-us/answers/questions/474952/custom-credential-provider-cannot-loaded Windows credential provider not shown in 21H1

    What possibly can be wrong?

    0 comments No comments