Démarrer l’Explorateur de fichiers avec le ruban réduit
Start File Explorer with ribbon minimized
Explication
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.
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.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\ExplorerHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer- Nom de la valeur
ExplorerRibbonStartsMinimized
| État | Valeur écrite |
|---|---|
| Activé | non défini dans l'ADMX (voir les options ci-dessous) |
| Désactivé | non défini dans l'ADMX (voir les options ci-dessous) |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
L'ADMX ne précise pas la valeur écrite à l'activation ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé). Les commandes ci-dessous utilisent 1/0 par hypothèse.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Ordinateur (HKLM)
Activer
# Activer : WindowsExplorer/ExplorerRibbonStartsMinimized
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'ExplorerRibbonStartsMinimized' -Value 1 -Type DWord # valeur supposée (non définie dans l'ADMX)
# Choisissez l’un des paramètres suivants
# Options possibles :
# 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 DWordDésactiver
# Désactiver : WindowsExplorer/ExplorerRibbonStartsMinimized
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# L'ADMX ne précise pas la valeur écrite ; l'éditeur GPO écrit habituellement REG_DWORD 1 (activé) / 0 (désactivé)
Set-ItemProperty -Path $k -Name 'ExplorerRibbonStartsMinimized' -Value 0 -Type DWord # valeur supposée (non définie dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : WindowsExplorer/ExplorerRibbonStartsMinimized
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'ExplorerRibbonStartsMinimized' -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »
Options (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Choisissez l’un des paramètres suivantsPick one of the following settingsExplorerRibbonStartsMinimizedDropdown | Liste déroulanteenum | ExplorerRibbonStartsMinimized | REG_DWORD | Obligatoire · Choix par défaut (interface) : n° 0
|