Open in the explorer

Turn on security key sign-in

Activer la connexion par clé de sécurité

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Logon FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Ouverture de session
Supported on
At least Windows 10 FR: Au minimum Windows 10
ADMX file
CredentialProviders.admx
Internal name
CredentialProviders/AllowSecurityKeySignIn

Explanation

This policy setting allows you to control whether users can sign in using external security keys.

If you enable this policy setting, users can sign in with external security keys.

If you disable or don't configure this policy setting, users can't sign in with external security keys.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de contrôler si les utilisateurs peuvent se connecter à l’aide de clés de sécurité externes.

Si vous activez ce paramètre de stratégie, les utilisateurs peuvent se connecter avec des clés de sécurité externes.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les utilisateurs ne peuvent pas se connecter avec des clés de sécurité externes.

Use cases

Allows Windows sign-in with a FIDO2 security key. It is the option Microsoft cites for users who sign in to many devices (support technicians) or beyond the limit of 10 Windows Hello enrolments per device.

The setting must be enabled for keys to work at sign-in: without it they are not accepted.

Microsoft source: Common questions about Windows Hello for Business

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FIDO
Value name
EnableFIDODeviceLogon
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: CredentialProviders/AllowSecurityKeySignIn
$k = 'HKLM:\Software\Policies\Microsoft\FIDO'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableFIDODeviceLogon' -Value 1 -Type DWord

Disable

# Disable: CredentialProviders/AllowSecurityKeySignIn
$k = 'HKLM:\Software\Policies\Microsoft\FIDO'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableFIDODeviceLogon' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": CredentialProviders/AllowSecurityKeySignIn
$k = 'HKLM:\Software\Policies\Microsoft\FIDO'
Remove-ItemProperty -Path $k -Name 'EnableFIDODeviceLogon' -ErrorAction SilentlyContinue

Availability

Windows 10

✓ 22H2✓ 21H2✓ 21H1✓ 20H2✓ 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server