Open in the explorer

Show "Run as different user" command on Start

Afficher la commande « Exécuter en tant qu’autre utilisateur » dans l’écran de démarrage

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
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
StartMenu.admx
Internal name
StartMenu/ShowRunAsDifferentUserInStart

Explanation

This policy setting shows or hides the "Run as different user" command on the Start application bar.

If you enable this setting, users can access the "Run as different user" command from Start for applications which support this functionality.

If you disable this setting or do not configure it, users cannot access the "Run as different user" command from Start for any applications.

Note: This setting does not prevent users from using other methods, such as the shift right-click menu on application's jumplists in the taskbar to issue the "Run as different user" command.

French text from Windows 11 26H2

Ce paramètre de stratégie affiche ou masque la commande « Exécuter en tant qu’autre utilisateur » dans la barre des applications de l’écran de démarrage.

Si vous activez ce paramètre, les utilisateurs peuvent accéder à la commande « Exécuter en tant qu’autre utilisateur » dans l’écran de démarrage avec les applications qui prennent en charge cette fonctionnalité.

Si vous désactivez ou ne configurez pas ce paramètre, les utilisateurs ne peuvent accéder à la commande « Exécuter en tant qu’autre utilisateur » à partir de l’écran de démarrage dans aucune application.

Remarque : ce paramètre n’empêche pas les utilisateurs de faire appel à d’autres méthodes, telles que le menu obtenu en appuyant sur la touche Maj et en cliquant avec le bouton droit dans les listes de liens des applications dans la barre des tâches pour lancer la commande « Exécuter en tant qu’autre utilisateur ».

Registry

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

Disable

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

Revert to "Not configured"

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

Availability