Do not automatically make specific redirected folders available offline
Ne pas automatiquement rendre disponibles hors connexion des dossiers redirigés spécifiques
Explanation
This policy setting allows you to control whether individual redirected shell folders are available offline by default.
For the folders affected by this setting, users must manually select the files they wish to make available offline.
If you disable or do not configure this policy setting, all redirected shell folders are automatically made available offline. All subfolders within the redirected folders are also made available offline.
Note: This policy setting does not prevent files from being automatically cached if the network share is configured for "Automatic Caching", nor does it affect the availability of the "Always available offline" menu option in the user interface.
Note: The configuration of this policy for any folder will override the configured value of "Do not automatically make all redirected folders available offline".
Ce paramètre de stratégie vous permet de contrôler si certains dossiers Shell redirigés sont disponibles hors connexion par défaut.
Pour les dossiers affectés par ce paramètre, les utilisateurs doivent sélectionner manuellement les fichiers qu’ils souhaitent rendre disponibles hors connexion.
Si vous désactivez ou ne configurez pas ce paramètre, tous les dossiers Shell redirigés deviennent automatiquement disponibles hors connexion. Tous les sous-dossiers de ces dossiers redirigés deviennent également disponibles hors connexion.
Remarque : ce paramètre de stratégie n’empêche pas les fichiers d’être mis en cache automatiquement si la configuration du partage réseau prévoit la « Mise en cache automatique », et il ne compromet pas non plus la disponibilité de l’option de menu « Toujours disponible hors connexion » dans l’interface utilisateur.
Remarque : la configuration de cette stratégie pour tout dossier remplace la valeur configurée de « Ne pas automatiquement rendre disponibles hors connexion tous les dossiers redirigés ».
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\NetCache\DisableFRAdminPinByFolder- 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: FolderRedirection/DisableFRAdminPinByFolder
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{3EB685DB-65F9-4CF6-A03A-E3EF65729F3D}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# AppData(Roaming)
# value not defined in the ADMX (the GPO editor usually writes 1/0)
# 1 = checked, 0 = unchecked; default state taken from the ADML
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Desktop
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{625B53C3-AB48-4EC1-BA1F-A1EF4146FC19}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Start Menu
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{FDD39AD0-238F-46AF-ADB4-6C85480369C7}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Documents
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{33E28130-4E1E-4676-835A-98395C3BC3BB}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Pictures
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{4BD8D571-6D19-48D3-BE97-422220080E43}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Music
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{18989B1D-99B5-455B-841C-AB7C74E4DDFC}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Videos
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{1777F761-68AD-4D8A-87BD-30B759FA33DD}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Favorites
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{56784854-C6CB-462b-8169-88E350ACB882}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Contacts
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{374DE290-123F-4565-9164-39C4925E467B}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Downloads
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Links
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{7D1D3A04-DEBB-4115-95CF-2F29DA2920DA}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Searches
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = unchecked
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Saved Games
Set-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -Value 1 -Type DWord # value not defined in the ADMX; 1 = checked, 0 = uncheckedDisable
# Disable: FolderRedirection/DisableFRAdminPinByFolder
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": FolderRedirection/DisableFRAdminPinByFolder
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{3EB685DB-65F9-4CF6-A03A-E3EF65729F3D}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{625B53C3-AB48-4EC1-BA1F-A1EF4146FC19}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{FDD39AD0-238F-46AF-ADB4-6C85480369C7}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{33E28130-4E1E-4676-835A-98395C3BC3BB}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{4BD8D571-6D19-48D3-BE97-422220080E43}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{18989B1D-99B5-455B-841C-AB7C74E4DDFC}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{1777F761-68AD-4D8A-87BD-30B759FA33DD}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{56784854-C6CB-462b-8169-88E350ACB882}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{374DE290-123F-4565-9164-39C4925E467B}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{7D1D3A04-DEBB-4115-95CF-2F29DA2920DA}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache\{4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4}'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPinByFolder' -ErrorAction SilentlyContinueOptions (13)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| AppData(Roaming)DisablePinAppDataRoaming | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{3EB685DB-65F9-4CF6-A03A-E3EF65729F3D} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| DesktopBureauDisablePinDesktop | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| Start MenuMenu DémarrerDisablePinStartMenu | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{625B53C3-AB48-4EC1-BA1F-A1EF4146FC19} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| DocumentsDisablePinDocuments | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{FDD39AD0-238F-46AF-ADB4-6C85480369C7} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| PicturesImagesDisablePinPictures | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{33E28130-4E1E-4676-835A-98395C3BC3BB} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| MusicMusiqueDisablePinMusic | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{4BD8D571-6D19-48D3-BE97-422220080E43} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| VideosVidéosDisablePinVideos | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{18989B1D-99B5-455B-841C-AB7C74E4DDFC} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| FavoritesFavorisDisablePinFavorites | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{1777F761-68AD-4D8A-87BD-30B759FA33DD} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| ContactsDisablePinContacts | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{56784854-C6CB-462b-8169-88E350ACB882} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| DownloadsTéléchargementsDisablePinDownloads | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{374DE290-123F-4565-9164-39C4925E467B} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| LinksLiensDisablePinLinks | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| SearchesRecherchesDisablePinSearches | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{7D1D3A04-DEBB-4115-95CF-2F29DA2920DA} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
| Saved GamesParties enregistréesDisablePinSavedGames | Check boxboolean | DisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4} | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |