Start File Explorer with ribbon minimized
Démarrer l’Explorateur de fichiers avec le ruban réduit
Explanation
This policy setting allows you to specify whether the ribbon appears minimized or in full when new File Explorer windows are opened. If you enable this policy setting, you can set how the ribbon appears the first time users open File Explorer and whenever they open new windows. If you disable or do not configure this policy setting, users can choose how the ribbon appears when they open new windows.
Ce paramètre de stratégie permet de spécifier si le ruban s’affiche réduit ou dans sa taille réelle à l’ouverture de nouvelles fenêtres de l’Explorateur de fichiers. Si vous activez ce paramètre de stratégie, vous pouvez définir comment s’affiche le ruban la première fois que les utilisateurs ouvrent l’Explorateur de fichiers et à chaque ouverture d’une nouvelle fenêtre. Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les utilisateurs peuvent choisir la manière dont le ruban s’affiche lorsqu’ils ouvrent de nouvelles fenêtres.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\ExplorerHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer- Value name
ExplorerRibbonStartsMinimized
| 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: WindowsExplorer/ExplorerRibbonStartsMinimized
$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 'ExplorerRibbonStartsMinimized' -Value 1 -Type DWord # assumed value (not defined in the ADMX)
# Pick one of the following settings
# Possible options:
# Always open new File Explorer windows with the ribbon minimized. = 1
# Never open new File Explorer windows with the ribbon minimized. = 2
# Minimize the ribbon when File Explorer is opened the first time. = 3
# Display the full ribbon when File Explorer is opened the first time. = 4
Set-ItemProperty -Path $k -Name 'ExplorerRibbonStartsMinimized' -Value 1 -Type DWordDisable
# Disable: WindowsExplorer/ExplorerRibbonStartsMinimized
$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 'ExplorerRibbonStartsMinimized' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsExplorer/ExplorerRibbonStartsMinimized
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'ExplorerRibbonStartsMinimized' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Pick one of the following settingsChoisissez l’un des paramètres suivantsExplorerRibbonStartsMinimizedDropdown | Drop-down listenum | ExplorerRibbonStartsMinimized | REG_DWORD | Required · Default choice (UI): #0
|