Open in the explorer

Turn on menu bar by default

Activer la barre de menus par défaut

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

Explanation

This policy setting allows you to turn on or turn off the earlier menus (for example, File, Edit, and View) in Internet Explorer.

If you enable this policy setting, the menu bar appears in Internet Explorer by default, and the user cannot turn it off.

If you disable this policy setting, the menu bar appears in Internet Explorer by default, and the user cannot turn it on.

If you do not configure this policy setting, the menu bar is turned off by default. The user can turn on or turn off the menu bar.

French text from Windows 11 26H2

Ce paramètre de stratégie permet d’activer ou de désactiver les menus antérieurs (par exemple Fichier, Edition et Affichage) dans Internet Explorer.

Si vous activez ce paramètre de stratégie, la barre de menus s’affiche par défaut dans Internet Explorer et l’utilisateur ne peut pas la désactiver.

Si vous désactivez ce paramètre de stratégie, la barre de menus s’affiche par défaut dans Internet Explorer et l’utilisateur ne peut pas l’activer.

Si vous ne configurez pas ce paramètre de stratégie, la barre de menus est désactivée par défaut. L’utilisateur est libre de l’activer ou de la désactiver.

Registry

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

Disable

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

Revert to "Not configured"

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

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability