Open in the explorer

Hide entry points for Fast User Switching

Masquer les points d’entrée pour le changement rapide d’utilisateur

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Logon FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Ouverture de session
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
Logon.admx
Internal name
Logon/HideFastUserSwitching

Explanation

This policy setting allows you to hide the Switch User interface in the Logon UI, the Start menu and the Task Manager.

If you enable this policy setting, the Switch User interface is hidden from the user who is attempting to log on or is logged on to the computer that has this policy applied.

The locations that Switch User interface appear are in the Logon UI, the Start menu and the Task Manager.

If you disable or do not configure this policy setting, the Switch User interface is accessible to the user in the three locations.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de masquer l’élément d’interface Changer d’utilisateur dans l’interface utilisateur d’ouverture de session, le menu Démarrer et le Gestionnaire des tâches.

Si vous activez ce paramètre de stratégie, l’élément d’interface Changer d’utilisateur est masqué pour l’utilisateur qui tente de se connecter ou qui est connecté à l’ordinateur où ce paramètre de stratégie est appliqué.

L’élément d’interface Changer d’utilisateur s’affiche dans l’interface utilisateur d’ouverture de session, le menu Démarrer et le Gestionnaire des tâches.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’élément d’interface Changer d’utilisateur est accessible à l’utilisateur à ces trois emplacements.

Registry

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

Disable

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

Revert to "Not configured"

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

Availability