Open in the explorer

Do not automatically make all redirected folders available offline

Ne pas automatiquement rendre disponibles hors connexion tous les dossiers redirigés

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 2003 operating systems or Windows XP Professional FR: Au minimum Windows Server 2003 ou Windows XP Professionnel
ADMX file
FolderRedirection.admx
Internal name
FolderRedirection/DisableFRAdminPin

Explanation

This policy setting allows you to control whether all redirected shell folders, such as Contacts, Documents, Desktop, Favorites, Music, Pictures, Videos, Start Menu, and AppData\Roaming, are available offline by default.

If you enable this policy setting, users must manually select the files they wish to make available offline.

If you disable or do not configure this policy setting, 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: Do not enable this policy setting if users will need access to their redirected files if the network or server holding the redirected files becomes unavailable.

Note: If one or more valid folder GUIDs are specified in the policy setting "Do not automatically make specific redirected folders available offline", that setting 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 permet de contrôler si tous les dossiers Shell redirigés, tels que Contacts, Documents, Bureau, Favoris, Musique, Images, Vidéos, Menu Démarrer et AppDataRoaming, sont par défaut disponibles hors connexion.

Si vous activez ce paramètre de stratégie, les utilisateurs doivent sélectionner manuellement les fichiers qu’ils souhaitent rendre disponibles hors connexion.

Si vous désactivez ce paramètre ou ne le configurez pas, 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 : n’activez pas ce paramètre de stratégie si les utilisateurs auront besoin d’avoir accès à leurs fichiers redirigés dans l’éventualité où le réseau ou le serveur hébergeant ces fichiers redirigés deviendrait indisponible.

Remarque : si un ou plusieurs GUID de dossiers valides sont spécifiés dans le paramètre de stratégie « Ne pas automatiquement rendre disponibles hors connexion des dossiers redirigés spécifiques », ce paramètre remplace la valeur configurée pour le paramètre de stratégie « Ne pas automatiquement rendre disponibles hors connexion tous les dossiers redirigés ».

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\NetCache
Value name
DisableFRAdminPin
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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/DisableFRAdminPin
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableFRAdminPin' -Value 1 -Type DWord

Disable

# Disable: FolderRedirection/DisableFRAdminPin
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableFRAdminPin' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": FolderRedirection/DisableFRAdminPin
$k = 'HKCU:\Software\Policies\Microsoft\Windows\NetCache'
Remove-ItemProperty -Path $k -Name 'DisableFRAdminPin' -ErrorAction SilentlyContinue

Availability