Customize command labels
Personnaliser les étiquettes des commandes
Explanation
This policy setting allows you to choose among three different labels for command buttons: show all text labels, show selective text, or show only icons.
If you enable this policy setting, command buttons are displayed according to which one of the following options you choose, and the user cannot change how command buttons are displayed:
Show all text labels: All command buttons have only text.
Show selective text: Some command buttons have only text; some have icons and text.
Show only icons: All command buttons have only icons.
If you disable or do not configure this policy setting, the command buttons show selective text by default, and the user can change this.
Ce paramètre de stratégie vous permet de choisir parmi trois étiquettes différentes pour les boutons de commande : afficher toutes les étiquettes de texte, afficher les étiquettes texte ou n’afficher que les icônes.
Si vous activez ce paramètre de stratégie, les boutons de commande sont affichés en fonction de l’option que vous choisissez. En outre, l’utilisateur ne peut pas changer la façon dont les boutons de commande sont affichés :
Afficher toutes les étiquettes de texte : tous les boutons de commande n’affichent que du texte.
Afficher les étiquettes texte : certains boutons de commande n’affichent que du texte alors que d’autres affichent des icônes et du texte.
N’afficher que les icônes : tous les boutons de commande n’affichent que des icônes.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les boutons de commande affichent les étiquettes texte par défaut, ce que l’utilisateur ne peut pas modifier.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\CommandBarHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\CommandBar- 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.
Computer (HKLM)
Enable
# Enable: inetres/SetCommandLabels
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Command Labeling
# Possible options:
# Show selective text = 0
# Show all text labels = 1
# Show only icons = 2
Set-ItemProperty -Path $k -Name 'TextOption' -Value 0 -Type DWordDisable
# Disable: inetres/SetCommandLabels
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/SetCommandLabels
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar'
Remove-ItemProperty -Path $k -Name 'TextOption' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Command LabelingÉtiquetage de commandesCommandLabelOptions | Drop-down listenum | TextOption | REG_DWORD | Required · Default choice (UI): #0
|