Credential Provider V2: Sample Does not start/load on windows 10 22H2

Ayoub 5 Reputation points
2023-04-06T19:04:57.4266667+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?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,038 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.