Ouvrir dans l'explorateur

Perform file validation on pivot caches

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Excel 2016 › Options Excel › Sécurité EN : User Configuration › Policies › Administrative Templates › Microsoft Excel 2016 › Excel Options › Security
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
excel16.admx
Nom interne
excel16/L_PerformFileValidationOnPivotCaches

Explication

This policy key configures whether or not pivot caches should go through file validation and get scanned for security problems when documents in Excel 97-2003 format are opened.

If you enable this policy setting, you may select one of these options:

- No file validation: Never perform file validation on pivot caches for all Excel files (not recommended).
- Web and email sources: Perform file validation on pivot caches for documents that come from the web and email, in addition to all documents that trigger pivot caches on load (default).
- Always perform validation: Always perform file validation on pivot caches for all Excel files.

This setting can be overridden by the Object Model property Application.FileValidationPivot.

If you disable or do not configure this policy setting, the "Web and email source" setting will apply.

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\security\filevalidation
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : excel16/L_PerformFileValidationOnPivotCaches
$k = 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
#
# Options possibles :
#   No file validation = 0
#   Web and email sources = 1
#   Always perform validation = 2
Set-ItemProperty -Path $k -Name 'pivotoptions' -Value 1 -Type DWord

Désactiver

# Désactiver : excel16/L_PerformFileValidationOnPivotCaches
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : excel16/L_PerformFileValidationOnPivotCaches
$k = 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation'
Remove-ItemProperty -Path $k -Name 'pivotoptions' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
L_PerformFileValidationOnPivotCachesDropIDListe déroulanteenumpivotoptionsREG_DWORD
Choix par défaut (interface) : n° 1
LibelléValeur
No file validationREG_DWORD = 0
Web and email sourcesREG_DWORD = 1
Always perform validationREG_DWORD = 2

Application

Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.