サインイン後にWindows Hello for Business資格情報のキャッシュを無効にする
- ポリシー ID
- WHFB_DisablePostLogonCredentialCaching
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows 10 以降
- 出典
- Administrative Templates (.admx) for Windows 11 2024 Update (24H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › Windows Hello for Business
説明
特定のセキュリティ関連アプリケーションが資格情報をユーザー入力なしで使用してユーザー エクスペリエンスを中断しないようにするために、サインイン後に Windows Hello for Business の資格情報がキャッシュされます。これをオフにして、ユーザー入力が明示的に必要になるようにキャッシュを削除する場合は、このポリシーを有効にします。
レジストリ
DisablePostLogonCredentialCaching
REG_DWORDコンピューター- 有効時の値
- 1
- 無効時の値
- 0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork] ; 選択項目 (1 つだけ使用) ; 有効 "DisablePostLogonCredentialCaching"=dword:00000001 ; 無効 "DisablePostLogonCredentialCaching"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork" /v "DisablePostLogonCredentialCaching" /t REG_DWORD /d 1 /f :: 無効 reg add "HKLM\SOFTWARE\Policies\Microsoft\PassportForWork" /v "DisablePostLogonCredentialCaching" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork' -Name 'DisablePostLogonCredentialCaching' -PropertyType DWord -Value 1 -Force | Out-Null # 無効 New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork' -Name 'DisablePostLogonCredentialCaching' -PropertyType DWord -Value 0 -Force | Out-Null