Open in the explorer

Location where all default Library definition files for users/machines reside.

Emplacement de tous les fichiers de définition de bibliothèques pour les utilisateurs/ordinateurs.

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › File Explorer User Configuration › Policies › Administrative Templates › Windows Components › File Explorer FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Explorateur de fichiersFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Explorateur de fichiers
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
WindowsExplorer.admx
Internal name
WindowsExplorer/DefaultLibrariesLocation

Explanation

This policy setting allows you to specify a location where all default Library definition files for users/machines reside.

If you enable this policy setting, administrators can specify a path where all default Library definition files for users reside. The user will not be allowed to make changes to these Libraries from the UI. On every logon, the policy settings are verified and Libraries for the user are updated or changed according to the path defined.

If you disable or do not configure this policy setting, no changes are made to the location of the default Library definition files.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de spécifier l’emplacement de tous les fichiers de définition de bibliothèques pour les utilisateurs/ordinateurs.

Si vous activez ce paramètre de stratégie, les administrateurs peuvent spécifier un chemin d’accès où résident tous les fichiers de définition de bibliothèques par défaut pour les utilisateurs. Les utilisateurs ne seront pas autorisés à apporter des modifications à ces bibliothèques depuis l’interface utilisateur. À chaque ouverture de session, les paramètres de stratégie sont vérifiés et les bibliothèques de l’utilisateur sont mises à jour ou modifiées en fonction du chemin d’accès défini.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, aucune modification n’est apportée à l’emplacement des fichiers de définition de bibliothèques par défaut.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer
Value name
not defined in the ADMX

Enable / disable values: 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.

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/DefaultLibrariesLocation
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Default Libraries definition location
Set-ItemProperty -Path $k -Name 'DefaultLibrariesLocation' -Value '<value>' -Type String

Disable

# Disable: WindowsExplorer/DefaultLibrariesLocation
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": WindowsExplorer/DefaultLibrariesLocation
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'DefaultLibrariesLocation' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Default Libraries definition locationEmplacement des définitions de bibliothèques par défautDefaultLibrariesLocationText boxtextDefaultLibrariesLocationin Software\Policies\Microsoft\Windows\ExplorerREG_SZ

Availability