v2資格情報プロバイダーの実装

Microsoft公式のサンプルの実装記録

環境

仮想:vmware workstation 16player

OS:Windows 10 Enterprise

下記からisoダウンロード

Microsoft
Windows 10 Enterprise is designed to address the needs of large and midsize organizations by providing IT professionals ...

仮想マシン作成注意点

仮想マシン設定で「フロッピー」を削除しておかないとライセンス適用できないエラーで
無限ループする

下記リンクからCredetialProviderサンプルコードを入手

V2 Credential Provider Sample - Code Samples
Demonstrates how to build a v2 credential provider that makes use of the new capabilities in credential provider framewo...

VisualstudioでRelease x64でビルド

SampleV2CredentialProvier.dllをC:\Windows\System32配下に配置

付属register.regにてCredentialProviderをレジストリに登録

以上で動作するはずが動作確認できず、ログオン画面でサインインオプションにサンプルの

資格情報プロバイダーが表示されない。。。

autoadminlogonやDisableAutomaticRestarSignOnのレジストリ設定なども変更してみたが

無駄のよう。。。

場所: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
値名: DisableAutomaticRestartSignOn
値:1

場所: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows NT\CurrentVersion\Winlogon
値名: AutoAdminLogon
値:1

以降調査続く

タイトルとURLをコピーしました