无法加载自定义凭据提供程序

Custom Credential Provider cannot loaded

我在 VMware 中的 Windows10 上应用了 MS(https://github.com/microsoft/Windows-classic-samples) 提供的凭据提供程序示例。

但是没有任何改变。

下面是我申请的。

如果我遗漏了什么或做错了什么,请告诉我。

提前致谢。

  1. 我把.dll文件放在了C:/Windows/System32.
  2. 我运行下面的Register.reg。
[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. 为了将我的凭据提供程序应用为默认凭据提供程序,我将 GUID 输入 'Assign a default credential provider'。

  2. 重启后没有任何变化。

我通过将位于 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinlogonAutoAdminLogon 的值更改为 1 来解决它。