Open in the explorer

Lock all toolbars

Verrouiller toutes les barres d’outils

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Toolbars User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Toolbars FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Barres d’outilsFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Barres d’outils
Supported on
At least Internet Explorer 8.0 FR: Au moins Internet Explorer 8.0
ADMX file
inetres.admx
Internal name
inetres/LockToolbars

Explanation

This policy setting allows you to lock or unlock the toolbars on the user interface.

If you enable this policy setting, the toolbars are locked and the user cannot move them.

If you disable this policy setting, the toolbars are unlocked and the user can move them.

If you do not configure this policy setting, the toolbars are locked by default, but the user can unlock them through the shortcut menu of the Command bar.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de verrouiller ou déverrouiller les barres d’outils dans l’interface utilisateur.

Si vous activez ce paramètre de stratégie, les barres d’outils sont verrouillées et l’utilisateur ne peut pas les déplacer.

Si vous désactivez ce paramètre de stratégie, les barres d’outils sont déverrouillées et l’utilisateur peut les déplacer.

Si vous ne configurez pas ce paramètre de stratégie, les barres d’outils sont verrouillées par défaut, mais l’utilisateur peut les déverrouiller via le menu contextuel de la barre de commandes.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Toolbar
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Toolbar
Value name
Locked
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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/LockToolbars
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Toolbar'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Locked' -Value 1 -Type DWord

Disable

# Disable: inetres/LockToolbars
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Toolbar'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Locked' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/LockToolbars
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Toolbar'
Remove-ItemProperty -Path $k -Name 'Locked' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability