Ouvrir dans l'explorateur

Set document behavior if file validation fails

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 PowerPoint 2016 › Options PowerPoint › Sécurité › Centre de gestion de la confidentialité › Mode protégé EN : User Configuration › Policies › Administrative Templates › Microsoft PowerPoint 2016 › PowerPoint Options › Security › Trust Center › Protected View
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
ppt16.admx
Nom interne
ppt16/L_SetDocumentBehaviorIfFileValidationFails

Explication

This policy setting controls how Office handles documents when they fail file validation.

If you enable this policy setting, you can configure the following options for files that fail file validation:

- Block files completely. Users cannot open the files.
- Open files in Protected View and disallow edit. Users cannot edit the files. This is also how Office handles the files if you disable this policy setting.
- Open files in Protected View and allow edit. Users can edit the files. This is also how Office handles the files if you do not configure this policy setting.

If you disable this policy setting, Office follows the "Open files in Protected View and disallow edit" behavior.

If you do not configure this policy setting, Office follows the "Open files in Protected View and allow edit" behavior.

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\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 : ppt16/L_SetDocumentBehaviorIfFileValidationFails
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\filevalidation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
#
# Options possibles :
#   Block files = 0
#   Open in Protected View = 1
Set-ItemProperty -Path $k -Name 'openinprotectedview' -Value 1 -Type DWord
# Checked: Allow edit. Unchecked: Do not allow edit.
# décoché : 1
Set-ItemProperty -Path $k -Name 'disableeditfrompv' -Value 0 -Type DWord

Désactiver

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

Revenir à « Non configuré »

# Revenir à « Non configuré » : ppt16/L_SetDocumentBehaviorIfFileValidationFails
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\filevalidation'
Remove-ItemProperty -Path $k -Name 'openinprotectedview' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'disableeditfrompv' -ErrorAction SilentlyContinue

Options (2)

LibelléContrôleValeur de registreType REGContraintes / détails
L_SetDocumentBehaviorIfFileValidationFailsDropIDListe déroulanteenumopeninprotectedviewREG_DWORD
Choix par défaut (interface) : n° 1
LibelléValeur
Block filesREG_DWORD = 0
Open in Protected ViewREG_DWORD = 1
Checked: Allow edit. Unchecked: Do not allow edit.L_SetDocumentBehaviorIfFileValidationFailsStr3Case à cocherbooleandisableeditfrompvREG_DWORD
Coché : REG_DWORD = 0
Décoché : REG_DWORD = 1

Application

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

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