Turn on certificate propagation from smart card
Activer la propagation de certificat à partir d’une carte à puce
Explanation
This policy setting allows you to manage the certificate propagation that occurs when a smart card is inserted.
If you enable or do not configure this policy setting then certificate propagation will occur when you insert your smart card.
If you disable this policy setting, certificate propagation will not occur and the certificates will not be made available to applications such as Outlook.
Ce paramètre de stratégie vous permet de gérer la propagation de certificat lorsqu’une carte à puce est insérée.
Si vous activez ce paramètre de stratégie ou si vous ne le configurez pas, la propagation de certificat se produit lors de l’insertion de la carte à puce.
Si vous désactivez ce paramètre de stratégie, la propagation de certificat n’a pas lieu ; par ailleurs, les certificats ne sont pas accessibles aux applications telles qu’Outlook.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CertProp- Value name
CertPropEnabled
| 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: Smartcard/CertPropEnabledString
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CertProp'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'CertPropEnabled' -Value 1 -Type DWordDisable
# Disable: Smartcard/CertPropEnabledString
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CertProp'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'CertPropEnabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Smartcard/CertPropEnabledString
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CertProp'
Remove-ItemProperty -Path $k -Name 'CertPropEnabled' -ErrorAction SilentlyContinue