Prevent Windows from sending an error report when a device driver requests additional software during installation
Empêcher Windows d’envoyer un rapport d’erreurs lorsqu’un pilote de périphérique demande un logiciel supplémentaire au cours de l’installation
Explanation
Windows has a feature that allows a device driver to request additional software through the Windows Error Reporting infrastructure. This policy allows you to disable the feature.
If you enable this policy setting, Windows will not send an error report to request additional software even if this is specified by the device driver.
If you disable or do not configure this policy setting, Windows sends an error report when a device driver that requests additional software is installed.
Windows possède une fonctionnalité qui permet à un pilote de périphérique de demander un logiciel supplémentaire 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, Windows n’envoie pas de rapport d’erreur pour obtenir un logiciel supplémentaire, même si cela est spécifié par le pilote de périphérique.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, Windows envoie un rapport d’erreurs lorsqu’un pilote de périphérique demandant un logiciel supplémentaire est installé.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DeviceInstall\Settings- Value name
DisableSendRequestAdditionalSoftwareToWER
| 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_RequestAdditionalSoftwareSendToWER
$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 'DisableSendRequestAdditionalSoftwareToWER' -Value 1 -Type DWordDisable
# Disable: DeviceSetup/DeviceInstall_RequestAdditionalSoftwareSendToWER
$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 'DisableSendRequestAdditionalSoftwareToWER' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": DeviceSetup/DeviceInstall_RequestAdditionalSoftwareSendToWER
$k = 'HKLM:\Software\Policies\Microsoft\Windows\DeviceInstall\Settings'
Remove-ItemProperty -Path $k -Name 'DisableSendRequestAdditionalSoftwareToWER' -ErrorAction SilentlyContinue