Notify user of successful smart card driver installation
Avertir l'utilisateur en cas d'installation réussie du pilote de la carte à puce
Explanation
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.
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).
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ScPnP- Value name
ScPnPNotification
| 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/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 DWordDisable
# Disable: 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 DWordRevert to "Not configured"
# Revert to "Not configured": Smartcard/SCPnPNotification
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScPnP'
Remove-ItemProperty -Path $k -Name 'ScPnPNotification' -ErrorAction SilentlyContinue