Turn off details in messages about Internet connection problems
Désactiver les détails dans les messages relatifs aux problèmes de connexion Internet
Explanation
This policy setting specifies whether, when there is a problem connecting with an Internet server, to provide a detailed description with hints about how to correct the problem. If you clear this check box, the user sees only the error code and the name of the error.
If you enable this policy setting, when there is a problem connecting with an Internet server, the user does not see a detailed description or hints about how to correct the problem. The user cannot change this policy setting.
If you disable this policy setting, when there is a problem connecting with an Internet server, the user sees a detailed description with hints about how to correct the problem. The user cannot change this policy setting.
If you do not configure this policy setting, the user can turn on or turn off details in these error messages.
Ce paramètre de stratégie spécifie de fournir ou non une description détaillée contenant des conseils de résolution en cas de problème de connexion à un serveur Internet. Si vous désactivez cette case à cocher, l’utilisateur voit uniquement le code et le nom de l’erreur.
Si vous activez ce paramètre de stratégie, l’utilisateur n’obtient pas de description détaillée contenant des conseils de résolution en cas de problème de connexion à un serveur Internet. L’utilisateur ne peut pas modifier ce paramètre de stratégie.
Si vous désactivez ce paramètre de stratégie, l’utilisateur voit une description détaillée contenant des conseils de résolution en cas de problème de connexion à un serveur Internet. L’utilisateur ne peut pas modifier ce paramètre de stratégie.
Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur peut activer ou désactiver les détails de ces messages d’erreur.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Value name
Friendly http errors
| State | Value written |
|---|---|
| Enabled | REG_SZ = no |
| Disabled | REG_SZ = yes |
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: inetres/FriendlyErrorText
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Friendly http errors' -Value 'no' -Type StringDisable
# Disable: inetres/FriendlyErrorText
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Friendly http errors' -Value 'yes' -Type StringRevert to "Not configured"
# Revert to "Not configured": inetres/FriendlyErrorText
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'Friendly http errors' -ErrorAction SilentlyContinue