Send data when on connected to a restricted/costed network
Envoyer des données en cas de connexion à un réseau restreint/dont le coût est estimé
Explanation
This policy setting determines whether Windows Error Reporting (WER) checks for a network cost policy that restricts the amount of data that is sent over the network.
If you enable this policy setting, WER does not check for network cost policy restrictions, and transmits data even if network cost is restricted.
If you disable or do not configure this policy setting, WER does not send data, but will check the network cost policy again if the network profile is changed.
Ce paramètre de stratégie détermine si le Rapport d’erreurs Windows vérifie l’existence d’une stratégie de coût réseau qui limite la quantité de données envoyée sur le réseau.
Si vous activez ce paramètre de stratégie, le Rapport d’erreurs Windows ne vérifie pas s’il existe des restrictions de stratégie de coût réseau et transmet les données même si le coût réseau est limité.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le Rapport d’erreurs Windows n’envoie pas de données, mais revérifie la stratégie de coût réseau si le profil réseau est modifié.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting- Value name
BypassNetworkCostThrottling
| 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: ErrorReporting/WerBypassNetworkCostThrottling_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'BypassNetworkCostThrottling' -Value 1 -Type DWordDisable
# Disable: ErrorReporting/WerBypassNetworkCostThrottling_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'BypassNetworkCostThrottling' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": ErrorReporting/WerBypassNetworkCostThrottling_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting'
Remove-ItemProperty -Path $k -Name 'BypassNetworkCostThrottling' -ErrorAction SilentlyContinue