How to Configure Enhanced Anti-Spoofing for Windows Hello Face Authentication

How to Configure Enhanced Anti-Spoofing for Windows Hello Face Authentication

This tutorial demonstrates how to configure enhanced anti-spoofing for Windows Hello for Windows 10 and Windows 11 devices. Enabling enhanced anti-spoofing adds additional protection to biometric login on your PC, helping to protect your device and data.

Understanding Enhanced Anti-Spoofing for Windows Hello

Windows Hello is a feature of Windows 10 and Windows 11 that lets you log in using a PIN, fingerprint, or face scan rather than entering your password. Which methods are available depends on the hardware support for your specific device (i.e., a face scan requires a supported web camera, and fingerprint login requires a fingerprint reader).

Forgoing password authentication increases security as it means you can use a stronger password for your PC and your Microsoft Account as you won’t need to type it each time you start or unlock your device. It also reduces the chance that your password can be captured by a keylogger or seen by an observer.

In enterprise environments using a Windows Domain and Active Directory, Windows Hello is preferable as it means that user credentials don’t need to be transmitted for each login — once the user has logged in once, Windows Hello stores a token that can be used instead, further securing user authentication in sensitive business environments. While more secure than traditional usernames and passwords, Windows Hello is not infallible, and there have been demonstrated cases of facial recognition being beaten by presenting the camera with images of the user (known as ‘spoofing’).

Enhanced Anti-Spoofing helps protect against this by requiring that devices that use facial recognition to log in have additional hardware features like infrared cameras that aren’t fooled by common spoofing tactics.

How to enable/disable Enhanced Anti-Spoofing for Windows Hello in Windows 10 and Windows 11

The below instructions for using the Local Group Policy Editor and Registry Editor to configure Enhanced Anti-Spoofing for Windows Hello apply to both Windows 10 and Windows 11. Note that all methods require that you be logged in as an administrator.

Before making changes, you should back up your PC (or at the very least, back up your Local Group Policy or Windows Registry, depending on which method you use). You should also make sure you know the password to the local user account or Microsoft Account you use to log in to your Windows device as if you are already using Windows Hello to log in you may need to re-authenticate after making changes.

Using the Windows Registry (Windows 10/11 Home & all other editions)

Enabling or disabling Enhanced Anti-Spoofing for Windows Hello can be done using the Windows Registry on all versions of Windows 10 and Windows 11.

  • Right-click on the Start button and select Run
  • Enter the command regedit and press OK to open the Windows Registry Editor
  • Navigate to the registry key Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft
  • If the Biometrics sub-key doesn’t exist at this location, create it by selecting Edit > New > Key from the toolbar
  • Within the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Biometrics sub-key, create a FacialFeatures sub-key if it doesn’t already exist

Registry Editor window showing the path to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft, with the Biometrics and FacialFeatures sub-keys.

You can then enable or disable Enhanced Anti-Spoofing by adding or removing a registry value:

  • To enable Enhanced Anti-Spoofing for Windows Hello, navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Biometrics\FacialFeatures in the Registry Editor, then select Edit > New > DWORD (32-Bit) Value
  • Name the new DWORD value EnhancedAntiSpoofing and set its value to 1
  • To disable Enhanced Anti-Spoofing, delete the EnhancedAntiSpoofing DWORD value
  • You may need to reboot your device for the changes to take effect.

Note that the registry key shown above is for PCs that aren’t connected to a Domain or using Windows Hello for Business (in which case, Group Policy is the best way to deploy configuration).

Using the Local Group Policy Editor (Windows 10/11 Pro & Enterprise)

You can also use the Windows Local Group Policy Editor to make changes on the current device or deploy a Group Policy to an Active Directory Domain to enable/disable Enhanced Anti-Spoofing for multiple PCs in an enterprise environment:

  • Right-click on the Start button and select Run
  • Type the command gpedit.msc and press the Enter key to open the Local Group Policy Editor
  • Navigate to Computer Configuration\Administrative Templates\Windows Components\Biometrics\Facial Features

Windows Local Group Policy Editor window showing the process to enable or disable Enhanced Anti-Spoofing

  • Double-click on the Configure enhanced anti-spoofing setting
  • To enable Enhanced Anti-Spoofing for Windows Hello, select the Enabled value
  • To disable it, select the Not configured value
  • Press OK to save the change

Configure Enhanced Anti-Spoofing window selecting the "Enabled" value

Troubleshooting common Windows Hello issues

If after enabling Enhanced Anti-Spoofing for Windows Hello you find that face login is no longer available, it is most likely because your camera does not support the technology required for Advanced Anti-Spoofing. If your device is supported, but you are having trouble logging in, you can follow this guide to improving Windows Hello Face Recognition.

Managing Windows Hello and authentication for enterprise and education

Securing end-user devices in enterprise and education environments is a continual challenge for IT teams: authentication and security must both adequately protect devices, while being convenient so that users don’t attempt workarounds (like deferring password changes, or using easily-guessed or re-used passwords). Windows Hello and device-based authentication provide strong security that is more convenient than traditional password-based login.

NinjaOne provides a complete mobile device management (MDM) solution that allows you to deploy security policies (including enabling Enhanced Anti-Spoofing for Windows Hello in Windows), and monitor your users’ devices. If a mobile device is lost or stolen, it can be remotely tracked and wiped to prevent data leaks, protecting your valuable business data, as well as your customers’ private information.

Next Steps

Building an efficient and effective IT team requires a centralized solution that acts as your core service deliver tool. NinjaOne enables IT teams to monitor, manage, secure, and support all their devices, wherever they are, without the need for complex on-premises infrastructure.

Learn more about Ninja Endpoint Management, check out a live tour, or start your free trial of the NinjaOne platform.

You might also like

Ready to simplify the hardest parts of IT?
×

See NinjaOne in action!

By submitting this form, I accept NinjaOne's privacy policy.

NinjaOne Terms & Conditions

By clicking the “I Accept” button below, you indicate your acceptance of the following legal terms as well as our Terms of Use:

  • Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms.
  • Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party.
  • Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library belonging to or under the control of any other software provider.
  • Warranty Disclaimer: The script is provided “as is” and “as available”, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations.
  • Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks.
  • Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script.
  • EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).