Open in the explorer

Do not automatically make specific redirected folders available offline

Ne pas automatiquement rendre disponibles hors connexion des dossiers redirigés spécifiques

Type
User
GPO path
User Configuration › Policies › Administrative Templates › System › Folder Redirection FR: Configuration utilisateur › Stratégies › Modèles d'administration › Système › Redirection de dossiers
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
FolderRedirection.admx
Internal name
FolderRedirection/DisableFRAdminPinByFolder

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".

French text from Windows 11 26H2

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 = unchecked

Disable

# 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 SilentlyContinue

Options (13)

LabelControlRegistry valueREG typeConstraints / details
AppData(Roaming)DisablePinAppDataRoamingCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{3EB685DB-65F9-4CF6-A03A-E3EF65729F3D}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
DesktopBureauDisablePinDesktopCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
Start MenuMenu DémarrerDisablePinStartMenuCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{625B53C3-AB48-4EC1-BA1F-A1EF4146FC19}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
DocumentsDisablePinDocumentsCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{FDD39AD0-238F-46AF-ADB4-6C85480369C7}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
PicturesImagesDisablePinPicturesCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{33E28130-4E1E-4676-835A-98395C3BC3BB}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
MusicMusiqueDisablePinMusicCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{4BD8D571-6D19-48D3-BE97-422220080E43}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
VideosVidéosDisablePinVideosCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{18989B1D-99B5-455B-841C-AB7C74E4DDFC}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
FavoritesFavorisDisablePinFavoritesCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{1777F761-68AD-4D8A-87BD-30B759FA33DD}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
ContactsDisablePinContactsCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{56784854-C6CB-462b-8169-88E350ACB882}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
DownloadsTéléchargementsDisablePinDownloadsCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{374DE290-123F-4565-9164-39C4925E467B}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
LinksLiensDisablePinLinksCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
SearchesRecherchesDisablePinSearchesCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{7D1D3A04-DEBB-4115-95CF-2F29DA2920DA}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0
Saved GamesParties enregistréesDisablePinSavedGamesCheck boxbooleanDisableFRAdminPinByFolderin Software\Policies\Microsoft\Windows\NetCache\{4C5C32FF-BB9D-43B0-B5B4-2D72E54EAAA4}REG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0

Availability