Display string when smart card is blocked
Afficher un message lorsqu’une carte à puce est bloquée
Explanation
This policy setting allows you to manage the displayed message when a smart card is blocked.
If you enable this policy setting, the specified message will be displayed to the user when the smart card is blocked. Note: The following policy setting must be enabled - Allow Integrated Unblock screen to be displayed at the time of logon.
If you disable or do not configure this policy setting, the default message will be displayed to the user when the smart card is blocked, if the integrated unblock feature is enabled.
Ce paramètre de stratégie vous permet de gérer le message affiché lorsqu’une carte à puce est bloquée.
Si vous activez ce paramètre de stratégie, le message spécifié est visible par l’utilisateur lors du blocage de la carte à puce. Remarque : Le paramètre de stratégie « Autoriser l’affichage de l’écran de déblocage intégré lors de l’ouverture de session » doit être activé.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, le message par défaut est visible par l’utilisateur lors du blocage de la carte à puce, à condition que la fonctionnalité de déblocage intégré soit activée.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\SmartCardCredentialProvider- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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/IntegratedUnblockPromptString
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\SmartCardCredentialProvider'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Display string when smart card is blocked
Set-ItemProperty -Path $k -Name 'IntegratedUnblockPromptString' -Value '<value>' -Type StringDisable
# Disable: Smartcard/IntegratedUnblockPromptString
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Smartcard/IntegratedUnblockPromptString
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\SmartCardCredentialProvider'
Remove-ItemProperty -Path $k -Name 'IntegratedUnblockPromptString' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Display string when smart card is blockedAfficher un message lorsqu’une carte à puce est bloquéeIntegratedUnblockPromptString | Text boxtext | IntegratedUnblockPromptString | REG_SZ |