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

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

環境

仮想:vmware workstation 16player

OS:Windows 10 Enterprise

下記からisoダウンロード

https://info.microsoft.com/ww-landing-windows-10-enterprise.html?lcid=ja

仮想マシン作成注意点

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

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

https://learn.microsoft.com/en-us/samples/microsoft/windows-classic-samples/credential-provider

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をコピーしました