Prevent specifying the hover color
Empêcher de spécifier la couleur de la sélection par pointage
Explanation
This policy setting prevents the user from specifying the color to which hyperlinks change when the mouse pointer pauses on them.
If you enable this policy setting, the user cannot specify the hover color. You must specify the hover color (for example: 192,192,192).
If you disable or do not configure this policy setting, the user can specify the hover color.
Ce paramètre de stratégie empêche l’utilisateur de spécifier la couleur à laquelle passent les liens hypertexte lorsque le pointeur de la souris s’arrête dessus.
Si vous activez ce paramètre de stratégie, l’utilisateur ne peut pas spécifier la couleur de la sélection par pointage. Vous devez spécifier la couleur de la sélection par pointage (par exemple 192,192,192).
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur peut spécifier la couleur de la sélection par pointage.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Settings- 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/AnchorColorHoverPol
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Hover color
Set-ItemProperty -Path $k -Name 'Anchor Color Hover' -Value '<value>' -Type StringDisable
# Disable: inetres/AnchorColorHoverPol
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/AnchorColorHoverPol
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Settings'
Remove-ItemProperty -Path $k -Name 'Anchor Color Hover' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Hover colorCouleur sélectionnée par pointageAnchorColorHover | Text boxtext | Anchor Color Hover | REG_SZ | Default (UI): 255,0,0 |