Open in the explorer

Allow signature keys valid for Logon

Autoriser les clés de signature valide pour l’ouverture de session

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 Vista FR: Au minimum Windows Vista
ADMX file
Smartcard.admx
Internal name
Smartcard/AllowSignatureOnlyKeys

Explanation

This policy setting lets you allow signature key-based certificates to be enumerated and available for logon.

If you enable this policy setting then any certificates available on the smart card with a signature only key will be listed on the logon screen.

If you disable or do not configure this policy setting, any available smart card signature key-based certificates will not be listed on the logon screen.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet d’autoriser l’énumération et l’utilisation de certificats basés sur des clés de signature pour l’ouverture de session.

Si vous activez ce paramètre de stratégie, les certificats basés sur des clés de signature pour carte à puce sont listés dans l’écran d’ouverture de session.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les certificats basés sur des clés de signature pour carte à puce ne sont pas listés dans l’écran d’ouverture de session.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\SmartCardCredentialProvider
Value name
AllowSignatureOnlyKeys
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/AllowSignatureOnlyKeys
$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 'AllowSignatureOnlyKeys' -Value 1 -Type DWord

Disable

# Disable: Smartcard/AllowSignatureOnlyKeys
$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 'AllowSignatureOnlyKeys' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability