Open in the explorer

Allow ECC certificates to be used for logon and authentication

Autoriser l'utilisation de certificats ECC pour l'ouverture de session et l'authentification

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Smart Card FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Carte à puce
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
Smartcard.admx
Internal name
Smartcard/EnumerateECCCerts

Explanation

This policy setting allows you to control whether elliptic curve cryptography (ECC) certificates on a smart card can be used to log on to a domain.

If you enable this policy setting, ECC certificates on a smart card can be used to log on to a domain.

If you disable or do not configure this policy setting, ECC certificates on a smart card cannot be used to log on to a domain.

Note: This policy setting only affects a user's ability to log on to a domain. ECC certificates on a smart card that are used for other applications, such as document signing, are not affected by this policy setting.
Note: If you use an ECDSA key to log on, you must also have an associated ECDH key to permit logons when you are not connected to the network.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de déterminer si les certificats ECC (chiffrement à courbe elliptique) d'une carte à puce peuvent être utilisés pour se connecter à un domaine.

Si vous activez ce paramètre de stratégie, il est possible de se connecter à un domaine au moyen des certificats ECC d'une carte à puce.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, il est impossible de se connecter à un domaine au moyen des certificats ECC d'une carte à puce.

Remarque : ce paramètre de stratégie gère uniquement la connexion à un domaine. Les certificats ECC d'une carte à puce utilisés dans d'autres buts (signature de document, par exemple) ne sont pas concernés par ce paramètre de stratégie.
Remarque : si vous utilisez une clé ECDSA pour établir la connexion, vous devez posséder une clé ECDH associée pour autoriser les ouvertures de session lorsque vous n'êtes pas connecté au réseau.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\SmartCardCredentialProvider
Value name
EnumerateECCCerts
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.

Enable

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

Disable

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

Revert to "Not configured"

# Revert to "Not configured": Smartcard/EnumerateECCCerts
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\SmartCardCredentialProvider'
Remove-ItemProperty -Path $k -Name 'EnumerateECCCerts' -ErrorAction SilentlyContinue

Availability