Open in the explorer

Use certificate for on-premises authentication

Utiliser le certificat pour l’authentification locale

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Hello for Business User Configuration › Policies › Administrative Templates › Windows Components › Windows Hello for Business FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Hello EntrepriseFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Windows Hello Entreprise
Supported on
At least Windows 10 FR: Au minimum Windows 10
ADMX file
Passport.admx
Internal name
Passport/WHFB_UseCertificateForOnPremAuth

Explanation

Use this policy setting to configure Windows Hello for Business to enroll a sign-in certificate used for on-premises authentication.

If you enable this policy setting, Windows Hello for Business enrolls a sign-in certificate that is used for on-premises authentication.

If you disable or do not configure this policy setting, Windows Hello for Business will use a key or a Kerberos ticket (depending on other policy settings) for on-premises authentication.

NOTE: Disabling or not configuring this policy setting and enabling the "Use Windows Hello for Business" policy setting requires the environment to have one or more Windows Server 2016 domain controllers to prevent Windows Hello for Business authentication from failing.

French text from Windows 11 26H2

Utilisez ce paramètre de stratégie pour configurer Windows Hello entreprise de sorte qu’il inscrive un certificat de connexion utilisé pour l’authentification locale.

Si vous activez ce paramètre de stratégie, Windows Hello entreprise inscrit un certificat de connexion qui est utilisé pour l’authentification locale.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Windows Hello entreprise utilisera une clé ou un ticket Kerberos (en fonction des autres paramètres de stratégie) pour l’authentification locale.

Remarque : Si vous désactivez ce paramètre de stratégie ou ne le configurez pas et que vous activez le paramètre de stratégie « utiliser Windows Hello entreprise », l’environnement doit disposer d’un ou de plusieurs contrôleurs de domaine Windows Server 2016 pour empêcher l’échec de l’authentification Windows Hello entreprise.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\PassportForWork
Value name
UseCertificateForOnPremAuth
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.

Computer (HKLM)

Enable

# Enable: Passport/WHFB_UseCertificateForOnPremAuth
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseCertificateForOnPremAuth' -Value 1 -Type DWord

Disable

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

Revert to "Not configured"

# Revert to "Not configured": Passport/WHFB_UseCertificateForOnPremAuth
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork'
Remove-ItemProperty -Path $k -Name 'UseCertificateForOnPremAuth' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability

Windows Server