Use Windows Hello for Business certificates as smart card certificates
Utiliser les certificats Windows Hello Entreprise comme certificats de carte à puce
Explanation
If you enable this policy setting, applications use Windows Hello for Business certificates as smart card certificates. Biometric factors are unavailable when a user is asked to authorize the use of the certificate's private key. This policy setting is designed to allow compatibility with applications that rely exclusively on smart card certificates.
If you disable or do not configure this policy setting, applications do not use Windows Hello for Business certificates as smart card certificates, and biometric factors are available when a user is asked to authorize the use of the certificate's private key.
This policy setting is incompatible with Windows Hello for Business credentials provisioned when the "Turn off smart card emulation" is enabled.
Windows requires a user to lock and unlock their session after changing this setting if the user is currently signed in.
Si vous activez ce paramètre de stratégie, les applications utilisent les certificats Windows Hello Entreprise comme certificats de carte à puce. Les caractéristiques biométriques ne sont pas disponibles lorsqu'un utilisateur est invité à autoriser l'utilisation de la clé privée du certificat. Ce paramètre de stratégie est conçu pour permettre la compatibilité avec les applications qui s'appuient exclusivement sur les certificats de carte à puce.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les applications n'utilisent pas les certificats Windows Hello Entreprise comme certificats de carte à puce et les caractéristiques biométriques sont disponibles lorsqu'un utilisateur est invité à autoriser l'utilisation de la clé privée du certificat.
Ce paramètre de stratégie est incompatible avec les informations d'identification Windows Hello Entreprise configurées lorsque l'option « Désactiver l'émulation de la carte à puce » est activée.
Windows exige qu'un utilisateur verrouille et déverrouille sa session après avoir modifié ce paramètre si l'utilisateur est actuellement connecté.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork- Value name
UseHelloCertificatesAsSmartCardCertificates
| 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: Passport/MSPassport_UseHelloCertificatesAsSmartCardCertificates
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseHelloCertificatesAsSmartCardCertificates' -Value 1 -Type DWordDisable
# Disable: Passport/MSPassport_UseHelloCertificatesAsSmartCardCertificates
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseHelloCertificatesAsSmartCardCertificates' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Passport/MSPassport_UseHelloCertificatesAsSmartCardCertificates
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork'
Remove-ItemProperty -Path $k -Name 'UseHelloCertificatesAsSmartCardCertificates' -ErrorAction SilentlyContinue