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.
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.
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\ExplorerHKEY_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 StringDisable
# 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 SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Default Libraries definition locationEmplacement des définitions de bibliothèques par défautDefaultLibrariesLocation | Text boxtext | DefaultLibrariesLocationin Software\Policies\Microsoft\Windows\Explorer | REG_SZ |