Configure enhanced anti-spoofing
Configurer la détection d’usurpation avancée
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.
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert 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