Configure Toolbar Buttons
Configurer les boutons de la barre d’outils
Explanation
Specifies which buttons will be displayed on the standard toolbar in Microsoft Internet Explorer.
If you enable this policy, you can specify whether or not each button will be displayed by selecting or clearing the check boxes for each button.
If you disable this policy or do not configure it, the standard toolbar will be displayed with its default settings, unless users customize it.
Spécifie quels boutons sont affichés dans la barre d’outils standard d’Internet Explorer.
Si vous activez ce paramètre de stratégie, vous pouvez spécifier si chaque bouton est affiché ou non en activant ou en désactivant les cases à cocher de chaque bouton.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, la barre d’outils standard est affichée avec ses paramètres par défaut, sauf si les utilisateurs la personnalisent.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer- Value name
SpecifyDefaultButtons
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX (see the options below) |
| Disabled | 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.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
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/ToolbarButtons
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'SpecifyDefaultButtons' -Value 1 -Type DWord # assumed value (not defined in the ADMX)
# Show Back button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Back' -Value 1 -Type DWord
# Show Forward button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Forward' -Value 1 -Type DWord
# Show Stop button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Stop' -Value 1 -Type DWord
# Show Refresh button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Refresh' -Value 1 -Type DWord
# Show Home button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Home' -Value 1 -Type DWord
# Show Search button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Search' -Value 1 -Type DWord
# Show Favorites button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Favorites' -Value 1 -Type DWord
# Show History button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_History' -Value 1 -Type DWord
# Show Folders button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Folders' -Value 1 -Type DWord
# Show Fullscreen button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Fullscreen' -Value 1 -Type DWord
# Show Tools button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Tools' -Value 1 -Type DWord
# Show Mail button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_MailNews' -Value 1 -Type DWord
# Show Font size button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Size' -Value 1 -Type DWord
# Show Print button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Print' -Value 1 -Type DWord
# Show Edit button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Edit' -Value 1 -Type DWord
# Show Discussions button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Discussions' -Value 1 -Type DWord
# Show Cut button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Cut' -Value 1 -Type DWord
# Show Copy button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Copy' -Value 1 -Type DWord
# Show Paste button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Paste' -Value 1 -Type DWord
# Show Encoding button
# unchecked: 2
Set-ItemProperty -Path $k -Name 'Btn_Encoding' -Value 1 -Type DWordDisable
# Disable: inetres/ToolbarButtons
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'SpecifyDefaultButtons' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/ToolbarButtons
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'SpecifyDefaultButtons' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Back' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Forward' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Stop' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Refresh' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Home' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Search' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Favorites' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_History' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Folders' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Fullscreen' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Tools' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_MailNews' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Size' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Print' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Edit' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Discussions' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Cut' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Copy' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Paste' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Btn_Encoding' -ErrorAction SilentlyContinueOptions (20)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Show Back buttonAfficher le bouton PrécédenteBtn_Back | Check boxboolean | Btn_Back | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Forward buttonAfficher le bouton SuivanteBtn_Forward | Check boxboolean | Btn_Forward | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Stop buttonAfficher le bouton ArrêterBtn_Stop | Check boxboolean | Btn_Stop | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Refresh buttonAfficher le bouton ActualiserBtn_Refresh | Check boxboolean | Btn_Refresh | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Home buttonAfficher le bouton DémarrageBtn_Home | Check boxboolean | Btn_Home | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Search buttonAfficher le bouton RechercherBtn_Search | Check boxboolean | Btn_Search | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Favorites buttonAfficher le bouton FavorisBtn_Favorites | Check boxboolean | Btn_Favorites | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show History buttonAfficher le bouton HistoriqueBtn_History | Check boxboolean | Btn_History | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Folders buttonAfficher le bouton DossiersBtn_Folders | Check boxboolean | Btn_Folders | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Fullscreen buttonAfficher le bouton Plein écranBtn_Fullscreen | Check boxboolean | Btn_Fullscreen | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Tools buttonAfficher le bouton OutilsBtn_Tools | Check boxboolean | Btn_Tools | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Mail buttonAfficher le bouton CourrierBtn_MailNews | Check boxboolean | Btn_MailNews | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Font size buttonAfficher le bouton Taille du texteBtn_Size | Check boxboolean | Btn_Size | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Print buttonAfficher le bouton ImprimerBtn_Print | Check boxboolean | Btn_Print | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Edit buttonAfficher le bouton ÉditionBtn_Edit | Check boxboolean | Btn_Edit | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Discussions buttonAfficher le bouton DiscussionBtn_Discussions | Check boxboolean | Btn_Discussions | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Cut buttonAfficher le bouton CouperBtn_Cut | Check boxboolean | Btn_Cut | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Copy buttonAfficher le bouton CopierBtn_Copy | Check boxboolean | Btn_Copy | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Paste buttonAfficher le bouton CollerBtn_Paste | Check boxboolean | Btn_Paste | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |
| Show Encoding buttonAfficher le bouton EncodageBtn_Encoding | Check boxboolean | Btn_Encoding | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 2 |