Open in the explorer

Files not cached

Fichiers non cachés

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
Windows Server 2003, Windows XP, and Windows 2000 only FR: Windows Server 2003, Windows XP et Windows 2000 uniquement
ADMX file
OfflineFiles.admx
Internal name
OfflineFiles/Pol_ExtExclusionList

Explanation

Lists types of files that cannot be used offline.

This setting lets you exclude certain types of files from automatic and manual caching for offline use. The system does not cache files of the type specified in this setting even when they reside on a network share configured for automatic caching. Also, if users try to make a file of this type available offline, the operation will fail and the following message will be displayed in the Synchronization Manager progress dialog box: "Files of this type cannot be made available offline."

This setting is designed to protect files that cannot be separated, such as database components.

To use this setting, type the file name extension in the "Extensions" box. To type more than one extension, separate the extensions with a semicolon (;).

Note: To make changes to this setting effective, you must log off and log on again.

French text from Windows 11 26H2

Répertorie les types de fichiers qui ne peuvent pas être utilisés hors connexion.

Ce paramètre vous permet d’exclure certains types de fichiers de la mise en cache manuelle et automatique pour une utilisation hors connexion. Le système ne met pas en cache les fichiers des types spécifiés dans ce paramètre, même s’ils résident sur un partage réseau configuré pour la mise en cache automatique. De même, si les utilisateurs essaient de proposer ce type de fichier hors connexion, l’opération ne peut pas aboutir et le message suivant s’affiche dans la boîte de dialogue de progression du Centre de synchronisation : « Les fichiers de ce type ne peuvent pas être rendus disponibles hors connexion. »

Ce paramètre a pour fonction de protéger les fichiers ne pouvant pas être séparés, tels que les composants de bases de données.

Pour utiliser ce paramètre, entrez l’extension du nom de fichier dans la zone « Extensions ». Pour entrer plusieurs extensions, séparez-les par un point-virgule (;).

Remarque : pour que les modifications apportées à ce paramètre soient prises en compte, fermez la session, puis ouvrez-en une nouvelle.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\NetCache
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: OfflineFiles/Pol_ExtExclusionList
$k = 'HKLM:\Software\Policies\Microsoft\Windows\NetCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Extensions
Set-ItemProperty -Path $k -Name 'ExcludeExtensions' -Value '<value>' -Type String

Disable

# Disable: OfflineFiles/Pol_ExtExclusionList
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Extensions:Extensions :Lbl_ExtExclusionListEditText boxtextExcludeExtensionsREG_SZ

Availability