Avertir l'utilisateur en cas d'installation réussie du pilote de la carte à puce
Notify user of successful smart card driver installation
Explication
Ce paramètre de stratégie permet d'afficher ou non un message de confirmation après l'installation du pilote de périphérique d'une carte à puce.
Si vous activez ou ne configurez pas ce paramètre de stratégie, l'installation du pilote de périphérique d'une carte à puce sera confirmée par un message.
Si vous désactivez ce paramètre de stratégie, aucun message de confirmation ne sera affiché en cas d'installation du pilote de périphérique d'une carte à puce.
Remarque : ce paramètre de stratégie s'applique uniquement aux cartes à puce conformes au test de qualité WHQL (Windows Hardware Quality Labs).
This policy setting allows you to control whether a confirmation message is displayed when a smart card device driver is installed.
If you enable or do not configure this policy setting, a confirmation message will be displayed when a smart card device driver is installed.
If you disable this policy setting, a confirmation message will not be displayed when a smart card device driver is installed.
Note: This policy setting is applied only for smart cards that have passed the Windows Hardware Quality Labs (WHQL) testing process.
Registre
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScPnP- Nom de la valeur
ScPnPNotification
| É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/SCPnPNotification
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScPnP'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ScPnPNotification' -Value 1 -Type DWordDésactiver
# Désactiver : Smartcard/SCPnPNotification
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScPnP'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ScPnPNotification' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : Smartcard/SCPnPNotification
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScPnP'
Remove-ItemProperty -Path $k -Name 'ScPnPNotification' -ErrorAction SilentlyContinue