Items displayed in Places Bar
Éléments affichés dans la barre des Favoris
Explanation
Configures the list of items displayed in the Places Bar in the Windows File/Open dialog. If enable this setting you can specify from 1 to 5 items to be displayed in the Places Bar.
The valid items you may display in the Places Bar are:
1) Shortcuts to a local folders -- (ex. C:\Windows)
2) Shortcuts to remote folders -- (\\server\share)
3) FTP folders
4) web folders
5) Common Shell folders.
The list of Common Shell Folders that may be specified:
Desktop, Recent Places, Documents, Pictures, Music, Recently Changed, Attachments and Saved Searches.
If you disable or do not configure this setting the default list of items will be displayed in the Places Bar.
Note: In Windows Vista, this policy setting applies only to applications that are using the Windows XP common dialog box style. This policy setting does not apply to the new Windows Vista common dialog box style.
Configure la liste des éléments affichés dans la barre d’emplacements de la boîte de dialogue Windows Fichier/Ouvrir. Si vous activez ce paramètre de stratégie, vous pouvez spécifier entre 1 et 5 éléments à afficher dans la barre d’emplacements.
Les éléments valides que vous pouvez afficher dans la barre d’emplacements sont les suivants :
1) Raccourcis vers des dossiers locaux -- (par ex. C:\Windows)
2) Raccourcis vers des dossiers distants -- (\\server\partage)
3) Dossiers FTP
4) Dossiers web
5) Dossiers Shell communs
La liste des dossiers Shell communs qui peuvent être spécifiés est la suivante :
Bureau, Emplacements récents, Documents, Images, Musique, Modifications récentes, Pièces jointes et Recherches enregistrées.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, la liste des éléments par défaut est affichée dans la barre d’emplacements.
Remarque : dans Windows Vista, ce paramètre de stratégie s’applique uniquement aux applications qui utilisent le style de boîte de dialogue Windows XP usuel. Ce paramètre de stratégie ne s’applique pas au nouveau style de boîte de dialogue Windows Vista usuel.
Registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\comdlg32\Placesbar- 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.
Enable
# Enable: WindowsExplorer/PlacesBar
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\comdlg32\Placesbar'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Item 1
Set-ItemProperty -Path $k -Name 'Place0' -Value '<value>' -Type String
# Item 2
Set-ItemProperty -Path $k -Name 'Place1' -Value '<value>' -Type String
# Item 3
Set-ItemProperty -Path $k -Name 'Place2' -Value '<value>' -Type String
# Item 4
Set-ItemProperty -Path $k -Name 'Place3' -Value '<value>' -Type String
# Item 5
Set-ItemProperty -Path $k -Name 'Place4' -Value '<value>' -Type StringDisable
# Disable: WindowsExplorer/PlacesBar
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsExplorer/PlacesBar
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\comdlg32\Placesbar'
Remove-ItemProperty -Path $k -Name 'Place0' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Place1' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Place2' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Place3' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Place4' -ErrorAction SilentlyContinueOptions (5)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Item 1Élément 1Places0 | Text boxtext | Place0 | REG_SZ | |
| Item 2Élément 2Places1 | Text boxtext | Place1 | REG_SZ | |
| Item 3Élément 3Places2 | Text boxtext | Place2 | REG_SZ | |
| Item 4Élément 4Places3 | Text boxtext | Place3 | REG_SZ | |
| Item 5Élément 5Places4 | Text boxtext | Place4 | REG_SZ |