Open in the explorer

Remove user name from Start Menu

Supprimer le nom d’utilisateur du menu 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
Windows Server 2003 and Windows XP only FR: Windows Server 2003 et Windows XP uniquement
ADMX file
StartMenu.admx
Internal name
StartMenu/NoUserNameOnStartMenu

Explanation

This policy setting allows you to remove the user name label from the Start Menu in Windows XP and Windows Server 2003.

If you enable this policy setting, the user name label is removed from the Start Menu in Windows XP and Windows Server 2003.

To remove the user name folder on Windows Vista, set the "Remove user folder link from Start Menu" policy setting.

If you disable or do not configure this policy setting, the user name label appears on the Start Menu in Windows XP and Windows Server 2003.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de supprimer l’étiquette de nom d’utilisateur du menu de démarrage dans Windows XP et Windows Server 2003.

Si vous activez ce paramètre de stratégie, l’étiquette de nom d’utilisateur est supprimée du menu de démarrage dans Windows XP et Windows Server 2003.

Pour supprimer le dossier de nom d’utilisateur sur Windows Vista, définissez le paramètre de stratégie « Supprimer le lien vers le dossier utilisateur du menu Démarrer ».

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’étiquette de nom d’utilisateur s’affiche dans le menu Démarrer sur Windows XP et Windows Server 2003.

Registry

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

Enable

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

Disable

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

Revert to "Not configured"

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

Availability