Open in the explorer

Turn on economical application of administratively assigned Offline Files

Activer l’application économique des fichiers hors connexion attribués administrativement

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › Offline Files FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Fichiers hors connexion
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
OfflineFiles.admx
Internal name
OfflineFiles/Pol_QuickAdimPin

Explanation

This policy setting allows you to turn on economical application of administratively assigned Offline Files.

If you enable or do not configure this policy setting, only new files and folders in administratively assigned folders are synchronized at logon. Files and folders that are already available offline are skipped and are synchronized later.

If you disable this policy setting, all administratively assigned folders are synchronized at logon.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet d’activer l’application économique des fichiers hors connexion attribués administrativement.

Si vous activez ou ne configurez pas ce paramètre, seuls les nouveaux fichiers et dossiers des dossiers attribués administrativement seront synchronisés lors de l’ouverture de session. Les fichiers et dossiers déjà disponibles hors connexion seront ignorés et synchronisés ultérieurement.

Si vous désactivez ce paramètre, tous les dossiers attribués administrativement seront synchronisés lors de l’ouverture de session.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache
Value name
EconomicalAdminPinning
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: OfflineFiles/Pol_QuickAdimPin
$k = 'HKLM:\Software\Policies\Microsoft\Windows\NetCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EconomicalAdminPinning' -Value 1 -Type DWord

Disable

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

Revert to "Not configured"

# Revert to "Not configured": OfflineFiles/Pol_QuickAdimPin
$k = 'HKLM:\Software\Policies\Microsoft\Windows\NetCache'
Remove-ItemProperty -Path $k -Name 'EconomicalAdminPinning' -ErrorAction SilentlyContinue

Availability