Use certificate for on-premises authentication
Utiliser le certificat pour l’authentification locale
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.
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\PassportForWorkHKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\PassportForWork- Value name
UseCertificateForOnPremAuth
| 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.
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 DWordDisable
# 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 DWordRevert to "Not configured"
# Revert to "Not configured": Passport/WHFB_UseCertificateForOnPremAuth
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork'
Remove-ItemProperty -Path $k -Name 'UseCertificateForOnPremAuth' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"