在登入後停用Windows Hello 企業版認證快取

此原則不在25H2中。最後發佈: 24H2

移除日期: 2025-09-29 · 最後確認的版本: 24H2 · 已移除的原則清單

原則 ID
WHFB_DisablePostLogonCredentialCaching
適用範圍
電腦設定
支援的作業系統
至少需要 Windows 10
來源
Administrative Templates (.admx) for Windows 11 2024 Update (24H2) (版本 1.0)
類別
Windows 元件 › Windows Hello 企業版

說明

登入後會快取 Windows Hello 企業版認證,以允許特定安全性相關應用程式以無訊息方式使用認證,以不中斷使用者體驗。若要啟用此原則以關閉此功能,請移除快取,以便明確指示使用者輸入。

登錄

DisablePostLogonCredentialCaching

REG_DWORD電腦
啟用時的值
1
停用時的值
0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork]

; 選項 (只使用其中一個)
; 已啟用
"DisablePostLogonCredentialCaching"=dword:00000001
; 已停用
"DisablePostLogonCredentialCaching"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 已啟用
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

# 選項 (只使用其中一個)
# 已啟用
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