Turn off configuring underline links
Désactiver la configuration du soulignement des liens
Explanation
This policy setting specifies how you want links on webpages to be underlined.
If you enable this policy setting, a user cannot choose when to underline links. You must specify when to underline links:
• Always
• Never
• Hover (when the mouse pointer pauses on a link)
If you disable or do not configure this policy setting, the user can choose when to underline links.
Ce paramètre de stratégie spécifie le mode de soulignement des liens sur les pages Web.
Si vous activez ce paramètre de stratégie, l’utilisateur ne peut pas choisir le mode de soulignement des liens. Vous devez spécifier quand souligner les liens :
• Toujours
• Jamais
• Par pointage (lorsque le pointeur de la souris s’arrête sur un lien)
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur peut choisir quand souligner les liens.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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/UnderlineLinksPol
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Underline links
# Possible options:
# Always = yes
# Never = no
# Hover = hover
Set-ItemProperty -Path $k -Name 'Anchor Underline' -Value 'yes' -Type StringDisable
# Disable: inetres/UnderlineLinksPol
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/UnderlineLinksPol
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'Anchor Underline' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Underline linksSouligner les liensUnderlineLinks | Drop-down listenum | Anchor Underline | REG_SZ | Default choice (UI): #0
|