Activer la propagation de certificat à partir d’une carte à puce
Turn on certificate propagation from smart card
Explication
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.
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.
Registre
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CertProp- Nom de la valeur
CertPropEnabled
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : 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 DWordDésactiver
# Désactiver : 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 DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : Smartcard/CertPropEnabledString
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CertProp'
Remove-ItemProperty -Path $k -Name 'CertPropEnabled' -ErrorAction SilentlyContinue