Ouvrir dans l'explorateur

Ne pas envoyer de rapport d’erreurs Windows lors de l’installation d’un pilote générique sur un périphérique

Do not send a Windows error report when a generic driver is installed on a device

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Système › Installation de périphériques EN : Computer Configuration › Policies › Administrative Templates › System › Device Installation
Pris en charge sur
Windows Server 2016 version 1709, Windows 10 version 1709, Windows Server 2016 version 1703, Windows 10 version 1703, Windows 10, Windows 8.1, Windows 8, Windows 7 et Windows Vista uniquement EN : Windows Server 2016 Version 1709, Windows 10 Version 1709, Windows Server 2016 Version 1703, Windows 10 Version 1703, Windows 10, Windows 8.1, Windows 8, Windows 7, and Windows Vista only
Fichier ADMX
DeviceSetup.admx
Nom interne
DeviceSetup/DeviceInstall_GenericDriverSendToWER

Explication

Texte français issu de Windows 11 26H2

Windows possède une fonctionnalité qui envoie des rapports sur les installations de pilotes génériques par le biais de l’infrastructure du Rapport d’erreurs Windows. Cette stratégie vous permet de désactiver la fonctionnalité.

Si vous activez ce paramètre de stratégie, aucun rapport d’erreurs n’est envoyé lors de l’installation d’un pilote générique.

À l’inverse, si vous désactivez ce paramètre de stratégie ou ne le configurez pas, un rapport d’erreurs est envoyé lors de l’installation d’un pilote générique.

Windows has a feature that sends "generic-driver-installed" reports through the Windows Error Reporting infrastructure. This policy allows you to disable the feature.

If you enable this policy setting, an error report is not sent when a generic driver is installed.

If you disable or do not configure this policy setting, an error report is sent when a generic driver is installed.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Settings
Nom de la valeur
DisableSendGenericDriverNotFoundToWER
ÉtatValeur é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 : DeviceSetup/DeviceInstall_GenericDriverSendToWER
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableSendGenericDriverNotFoundToWER' -Value 1 -Type DWord

Désactiver

# Désactiver : DeviceSetup/DeviceInstall_GenericDriverSendToWER
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableSendGenericDriverNotFoundToWER' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : DeviceSetup/DeviceInstall_GenericDriverSendToWER
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
Remove-ItemProperty -Path $k -Name 'DisableSendGenericDriverNotFoundToWER' -ErrorAction SilentlyContinue

Disponibilité