Start Layout
Disposition de l'écran de démarrage
Explanation
Specifies the Start layout for users.
This setting lets you specify the Start layout for users and prevents them from changing its configuration. The Start layout you specify must be stored in an XML file that was generated by the Export-StartLayout PowerShell cmdlet.
To use this setting, you must first manually configure a device's Start layout to the desired look and feel. Once you are done, run the Export-StartLayout PowerShell cmdlet on that same device. The cmdlet will generate an XML file representing the layout you configured.
Once the XML file is generated and moved to the desired file path, type the fully qualified path and name of the XML file. You can type a local path, such as C:\StartLayouts\myLayout.xml or a UNC path, such as \\Server\Share\Layout.xml. If the specified file is not available when the user logs on, the layout won't be changed. Users cannot customize their Start screen while this setting is enabled.
If you disable this setting or do not configure it, the Start screen layout won't be changed and users will be able to customize it.
Spécifie la disposition de l'écran de démarrage pour les utilisateurs.
Ce paramètre vous permet de spécifier la disposition de l'écran de démarrage pour les utilisateurs et les empêche de modifier sa configuration. La disposition de l'écran de démarrage que vous spécifiez doit être stockée dans un fichier XML généré par l'applet de commande PowerShell Export-StartLayout.
Pour utiliser ce paramètre, vous devez d'abord configurer manuellement la disposition de l'écran de démarrage d'un appareil selon l'apparence souhaitée. Après cela, exécutez l'applet de commande PowerShell Export-StartLayout sur ce même appareil. L'applet de commande génère un fichier XML représentant la disposition que vous avez configurée.
Une fois le fichier XML généré et déplacé vers le chemin d'accès de fichier souhaité, entrez le nom et le chemin d'accès complet au fichier XML. Vous pouvez entrer un chemin d'accès local, tel que C:\StartLayouts\myLayout.xml, ou un chemin d'accès UNC, tel que \\Serveur\Partage\Layout.xml. Si le fichier spécifié n'est pas disponible lorsque l'utilisateur ouvre une session, la disposition n'est pas modifiée. Les utilisateurs ne peuvent pas personnaliser leur écran de démarrage pendant que ce paramètre est activé.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, la disposition de l'écran de démarrage n'est pas modifiée et les utilisateurs peuvent la personnaliser.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\ExplorerHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer- Value name
LockedStartLayout
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX (see the options below) |
| Disabled | not defined in the ADMX (see the options below) |
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/LockedStartLayout
$k = 'HKLM:\Software\Policies\Microsoft\Windows\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 'LockedStartLayout' -Value 1 -Type DWord # assumed value (not defined in the ADMX)
# Start Layout File
Set-ItemProperty -Path $k -Name 'StartLayoutFile' -Value '<value>' -Type ExpandString
# Reapply layout at every logon
# value not defined in the ADMX (the GPO editor usually writes 1/0)
# 1 = checked, 0 = unchecked; default state taken from the ADML
Set-ItemProperty -Path $k -Name 'ReapplyStartLayoutEveryLogon' -Value 0 -Type DWordDisable
# Disable: StartMenu/LockedStartLayout
$k = 'HKLM:\Software\Policies\Microsoft\Windows\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 'LockedStartLayout' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": StartMenu/LockedStartLayout
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'LockedStartLayout' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'StartLayoutFile' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ReapplyStartLayoutEveryLogon' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (2)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Start Layout FileFichier de disposition de démarrageLockedStartLayout_Name | Text boxtext | StartLayoutFile | REG_EXPAND_SZ | |
| Reapply layout at every logonRéappliquer la mise en page à chaque connexionLockedStartLayout_ReapplyEveryLogon | Check boxboolean | ReapplyStartLayoutEveryLogon | REG_DWORD | Default (UI): false Checked: implicit: 1Unchecked: implicit: 0 |