Hi! If your custom DLL based on SampleV2CredentialProvider the it will work in Windows 10 but not Windows 11. (stricter security and architectural changes)
Things to check for Windows11
- Ensure correct registry configuration
- It should be registered under
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Providers\
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\Credential Provider Filters\
- Each with the correct CLSID pointing to your DLL.
- It should be registered under
- Target the correct platform
- Ensure you're building the provider for x64 (not Any CPU). Windows 11 is usually x64 and won’t load mismatched architecture DLLs at logon.
- Confirm location of DLL
- it should be in System32
- Enable Secure boot compatibility
- Use a valid Authenticode certificate to sign your DLL.
- Use ETW logs to trace credential provider loading issues