Open in the explorer

Notify user of successful smart card driver installation

Avertir l'utilisateur en cas d'installation réussie du pilote de la carte à puce

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Smart Card FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Carte à puce
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
Smartcard.admx
Internal name
Smartcard/SCPnPNotification

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.

French text from Windows 11 26H2

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
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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 DWord

Disable

# 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 DWord

Revert to "Not configured"

# Revert to "Not configured": Smartcard/SCPnPNotification
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\ScPnP'
Remove-ItemProperty -Path $k -Name 'ScPnPNotification' -ErrorAction SilentlyContinue

Availability