Open in the explorer

Add the Run command to the Start Menu

Ajouter la commande Exécuter au menu Démarrer

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Start Menu and Taskbar FR: Configuration utilisateur › Stratégies › Modèles d'administration › Menu Démarrer et barre des tâches
Supported on
Windows Server 2008, Windows 7, and Windows Vista FR: Windows Server 2008, Windows 7 et Windows Vista
ADMX file
StartMenu.admx
Internal name
StartMenu/ShowRunInStartMenu

Explanation

If you enable this setting, the Run command is added to the Start menu. If you disable or do not configure this setting, the Run command is not visible on the Start menu by default, but it can be added from the Taskbar and Start menu properties. If the Remove Run link from Start Menu policy is set, the Add the Run command to the Start menu policy has no effect.

French text from Windows 11 26H2

Si vous activez ce paramètre, la commande Exécuter est ajoutée au menu Démarrer. Si vous désactivez ce paramètre ou si vous ne le configurez pas, la commande Exécuter n’est pas visible par défaut dans le menu Démarrer ; toutefois, elle peut être ajoutée à partir des Propriétés de la Barre des tâches et du menu Démarrer. Si la stratégie Supprimer le lien vers la commande Exécuter du menu Démarrer est définie, la stratégie Ajouter la commande Exécuter au menu Démarrer n’a aucun effet.

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
ForceRunOnStartMenu
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.

Enable

# Enable: StartMenu/ShowRunInStartMenu
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ForceRunOnStartMenu' -Value 1 -Type DWord

Disable

# Disable: StartMenu/ShowRunInStartMenu
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ForceRunOnStartMenu' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": StartMenu/ShowRunInStartMenu
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer'
Remove-ItemProperty -Path $k -Name 'ForceRunOnStartMenu' -ErrorAction SilentlyContinue

Availability