Use large icons for command buttons
Utiliser de grandes icônes pour les boutons de commande
Explanation
This policy setting allows you increase the size of icons for command buttons.
If you enable this policy setting, icons for command buttons are 20 x 20 pixels and cannot be made smaller (16 x 16 pixels).
If you disable this policy setting, icons for command buttons are 16 x 16 pixels (the default) and cannot be made bigger (20 x 20 pixels).
If you do not configure this policy setting, icons for command buttons are 16 x 16 pixels, and the user can make them bigger (20 x 20 pixels).
Ce paramètre de stratégie vous permet d’augmenter la taille des icônes des boutons de commande.
Si vous activez ce paramètre de stratégie, les icônes des boutons de commande ont une taille de 20 x 20 pixels et ne peuvent pas être plus petites (16 x 16 pixels).
Si vous désactivez ce paramètre de stratégie, les icônes des boutons de commande ont une taille de 16 x 16 pixels (par défaut) et ne peuvent pas être plus grands (20 x 20 pixels).
Si vous ne configurez pas ce paramètre de stratégie, les icônes des boutons de commande ont une taille de 16 x 16 pixels (par défaut) mais l’utilisateur peut les rendre plus grandes (20 x 20 pixels).
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\CommandBarHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\CommandBar- Value name
SmallIcons
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_DWORD = 1 |
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/UseLargeIcons
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SmallIcons' -Value 0 -Type DWordDisable
# Disable: inetres/UseLargeIcons
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SmallIcons' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/UseLargeIcons
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\CommandBar'
Remove-ItemProperty -Path $k -Name 'SmallIcons' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"