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
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.
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
| 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: 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 DWordDisable
# 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 DWordRevert 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