Files not cached
Fichiers non cachés
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.
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 StringDisable
# 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 SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Extensions:Extensions :Lbl_ExtExclusionListEdit | Text boxtext | ExcludeExtensions | REG_SZ |