Go to the desktop instead of Start when signing in
Accéder au Bureau plutôt qu’à l’écran de démarrage lors de la connexion
Explanation
This policy setting allows users to go to the desktop instead of the Start screen when they sign in.
If you enable this policy setting, users will always go to the desktop when they sign in.
If you disable this policy setting, users will always go to the Start screen when they sign in.
If you don’t configure this policy setting, the default setting for the user’s device will be used, and the user can choose to change it.
Ce paramètre de stratégie permet aux utilisateurs d’accéder au Bureau plutôt qu’à l’écran de démarrage lorsqu’ils se connectent.
Si vous activez ce paramètre de stratégie, les utilisateurs accèdent systématiquement au Bureau quand ils se connectent.
Si vous désactivez ce paramètre de stratégie, les utilisateurs accèdent systématiquement à l’écran de démarrage quand ils se connectent.
Si vous ne configurez pas ce paramètre de stratégie, le paramètre par défaut s’applique sur l’appareil des utilisateurs, mais pourra être modifié à tout moment.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer- Value name
GoToDesktopOnSignIn
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 2 |
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/GoToDesktopOnSignIn
$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 'GoToDesktopOnSignIn' -Value 1 -Type DWordDisable
# Disable: StartMenu/GoToDesktopOnSignIn
$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 'GoToDesktopOnSignIn' -Value 2 -Type DWordRevert to "Not configured"
# Revert to "Not configured": StartMenu/GoToDesktopOnSignIn
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'GoToDesktopOnSignIn' -ErrorAction SilentlyContinue