Use localized subfolder names when redirecting Start Menu and My Documents
Utiliser les noms de sous-dossiers localisés lors de la redirection du menu Démarrer et de Mes documents
Explanation
This policy setting allows the administrator to define whether Folder Redirection should use localized names for the All Programs, Startup, My Music, My Pictures, and My Videos subfolders when redirecting the parent Start Menu and legacy My Documents folder respectively.
If you enable this policy setting, Windows Vista, Windows 7, Windows 8, and Windows Server 2012 will use localized folder names for these subfolders when redirecting the Start Menu or legacy My Documents folder.
If you disable or not configure this policy setting, Windows Vista, Windows 7, Windows 8, and Windows Server 2012 will use the standard English names for these subfolders when redirecting the Start Menu or legacy My Documents folder.
Note: This policy is valid only on Windows Vista, Windows 7, Windows 8, and Windows Server 2012 when it processes a legacy redirection policy already deployed for these folders in your existing localized environment.
Ce paramètre de stratégie permet à l’administrateur de définir si la redirection de dossiers doit utiliser les noms localisés des sous-dossiers All Programs, Startup, My Music, My Pictures et My Videos lors de la redirection du menu Démarrer parent et du dossier Mes documents hérité.
Si vous activez ce paramètre de stratégie, Windows Vista, Windows 7, Windows 8 et Windows Server 2012 utiliseront des noms de dossiers localisés pour ces sous-dossiers lors de la redirection du menu Démarrer et du dossier Mes documents hérité.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Windows Vista, Windows 7, Windows 8 et Windows Server 2012 utiliseront les noms anglais standard pour ces sous-dossiers lors de la redirection du menu Démarrer ou du dossier Mes documents hérité.
Remarque : cette stratégie n'est valide que sur Windows Vista, Windows 7, Windows 8 et Windows Server 2012 lors du traitement d’une stratégie de redirection héritée déjà déployée pour ces dossiers dans votre environnement localisé existant.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System\Fdeploy- Value name
LocalizeXPRelativePaths
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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.
Enable
# Enable: FolderRedirection/LocalizeXPRelativePaths_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System\Fdeploy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'LocalizeXPRelativePaths' -Value 1 -Type DWordDisable
# Disable: FolderRedirection/LocalizeXPRelativePaths_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System\Fdeploy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'LocalizeXPRelativePaths' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": FolderRedirection/LocalizeXPRelativePaths_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System\Fdeploy'
Remove-ItemProperty -Path $k -Name 'LocalizeXPRelativePaths' -ErrorAction SilentlyContinue