Open in the explorer

Remove Run menu from Start Menu

Supprimer le menu Exécuter du menu Démarrer

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Start Menu and Taskbar User Configuration › Policies › Administrative Templates › Start Menu and Taskbar FR: Configuration ordinateur › Stratégies › Modèles d'administration › Menu Démarrer et barre des tâchesFR: Configuration utilisateur › Stratégies › Modèles d'administration › Menu Démarrer et barre des tâches
Supported on
Windows Server 2012 R2, Windows 8.1, Windows RT 8.1, Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista, Windows XP, and Windows 2000 FR: Windows Server 2012 R2, Windows 8.1, Windows RT 8.1, Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista, Windows XP et Windows 2000
ADMX file
StartMenu.admx
Internal name
StartMenu/NoRun

Explanation

Allows you to remove the Run command from the Start menu, Internet Explorer, and Task Manager.

If you enable this setting, the following changes occur:

(1) The Run command is removed from the Start menu.

(2) The New Task (Run) command is removed from Task Manager.

(3) The user will be blocked from entering the following into the Internet Explorer Address Bar:

--- A UNC path: \\<server>\<share>

---Accessing local drives: e.g., C:

--- Accessing local folders: e.g., \temp>

Also, users with extended keyboards will no longer be able to display the Run dialog box by pressing the Application key (the key with the Windows logo) + R.

If you disable or do not configure this setting, users will be able to access the Run command in the Start menu and in Task Manager and use the Internet Explorer Address Bar.

Note:This setting affects the specified interface only. It does not prevent users from using other methods to run programs.

Note: It is a requirement for third-party applications with Windows 2000 or later certification to adhere to this setting.

French text from Windows 11 26H2

Vous permet de supprimer la commande Exécuter des menu Démarrer, Internet Explorer et Gestionnaire des tâches.

Si vous activez ce paramètre, les modifications suivantes se produisent :

(1) La commande Exécuter est supprimée du menu Démarrer.

(2) La commande Nouvelle tâche (Exécuter) est supprimée de Gestionnaire des tâches.

(3) L’utilisateur ne pourra pas entrer les éléments suivants dans la barre d’adresses Internet Explorer :

--- un chemin d’accès UNC : \\<server>\<share>

---Accessing des lecteurs locaux : par ex., C :

--- l’accès aux dossiers locaux : par ex., \temp>

De plus, les utilisateurs dotés de claviers étendus ne pourront plus afficher la boîte de dialogue Exécuter en appuyant sur la touche Application (la touche avec le logo Windows) + R.

Si vous désactivez ou ne configurez pas ce paramètre, les utilisateurs peuvent accéder à la commande Exécuter dans le menu Démarrer et dans Gestionnaire des tâches et utiliser la barre d’adresses Internet Explorer.

Remarque : ce paramètre affecte uniquement l’interface spécifiée. Cela n’empêche pas les utilisateurs d’utiliser d’autres méthodes pour exécuter des programmes.

Remarque : les applications tierces disposant d’une certification Windows 2000 ou ultérieure doivent respecter ce paramètre.

Registry

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value name
NoRun
StateValue written
Enablednot defined in the ADMX
Disablednot defined in the ADMX

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.

Computer (HKLM)

Enable

# Enable: StartMenu/NoRun
$k = 'HKLM:\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 'NoRun' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)

Disable

# Disable: StartMenu/NoRun
$k = 'HKLM:\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 'NoRun' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

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

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability