Open in the explorer

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

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

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Device Installation FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Installation de périphériques
Supported on
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 FR: 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
ADMX file
DeviceSetup.admx
Internal name
DeviceSetup/DeviceInstall_GenericDriverSendToWER

Explanation

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.

French text from 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.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Settings
Value name
DisableSendGenericDriverNotFoundToWER
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: 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

Disable

# Disable: 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

Revert to "Not configured"

# Revert to "Not configured": DeviceSetup/DeviceInstall_GenericDriverSendToWER
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
Remove-ItemProperty -Path $k -Name 'DisableSendGenericDriverNotFoundToWER' -ErrorAction SilentlyContinue

Availability