Open in the explorer

Configure enhanced anti-spoofing

Configurer la détection d’usurpation avancée

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Biometrics › Facial Features FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Biométrie › Traits du visage
Supported on
At least Windows Server 2016 or Windows 10 FR: Au moins Windows Server 2016 ou Windows 10
ADMX file
Biometrics.admx
Internal name
Biometrics/Face_EnhancedAntiSpoofing

Explanation

This policy setting determines whether enhanced anti-spoofing is required for Windows Hello face authentication.

If you enable this setting, Windows requires all users on managed devices to use enhanced anti-spoofing for Windows Hello face authentication. This disables Windows Hello face authentication on devices that do not support enhanced anti-spoofing.

If you disable or don't configure this setting, Windows doesn't require enhanced anti-spoofing for Windows Hello face authentication.

Note that enhanced anti-spoofing for Windows Hello face authentication is not required on unmanaged devices.

French text from Windows 11 26H2

Ce paramètre de stratégie détermine si la détection d’usurpation d’identité avancée est requise pour la reconnaissance des visages Windows Hello.

Si vous activez ou ne configurez pas ce paramètre, Windows demande à tous les utilisateurs d’appareils gérés d’utiliser la détection d’usurpation d’identité avancée pour l’authentification de la reconnaissance des visages Windows Hello. Cela désactive l’authentification de la reconnaissance des visages Windows Hello sur les appareils ne prenant pas en charge la détection d’usurpation d’identité avancée.

Si vous désactivez ou ne configurez pas ce paramètre, Windows n’exige pas la détection d’usurpation d’identité avancée pour l’authentification de la reconnaissance des visages Windows Hello.

Notez que la détection d’usurpation d’identité avancée pour l’authentification de la reconnaissance des visages Windows Hello n’est pas requise sur les appareils non gérés.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Biometrics\FacialFeatures
Value name
EnhancedAntiSpoofing
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: Biometrics/Face_EnhancedAntiSpoofing
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Biometrics\FacialFeatures'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnhancedAntiSpoofing' -Value 1 -Type DWord

Disable

# Disable: Biometrics/Face_EnhancedAntiSpoofing
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Biometrics\FacialFeatures'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnhancedAntiSpoofing' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Biometrics/Face_EnhancedAntiSpoofing
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Biometrics\FacialFeatures'
Remove-ItemProperty -Path $k -Name 'EnhancedAntiSpoofing' -ErrorAction SilentlyContinue

Availability