Ouvrir dans l'explorateur

Scan encrypted macros in PowerPoint Open XML presentations

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é EN : User Configuration › Policies › Administrative Templates › Microsoft PowerPoint 2016 › PowerPoint Options › Security
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
ppt16.admx
Nom interne
ppt16/L_Determinewhethertoforceencryptedppt

Explication

This policy setting controls whether encrypted macros in Open XML presentations are required to be scanned with anti-virus software before being opened.

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

- Scan encrypted macros: encrypted macros are disabled unless anti-virus software is installed. Encrypted macros are scanned by your anti-virus software when you attempt to open an encrypted presentation that contains macros.
- Scan if anti-virus software available: if anti-virus software is installed, scan the encrypted macros first before allowing them to load. If anti-virus software is not available, allow encrypted macros to load.
- Load macros without scanning: do not check for anti-virus software and allow macros to be loaded in an encrypted file.

If you disable or do not configure this policy setting, the behavior will be similar to the "Scan encrypted macros" option.

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\security
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_Determinewhethertoforceencryptedppt
$k = 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
#
# Options possibles :
#   Scan encrypted macros (default) = 0
#   Scan if anti-virus software available = 1
#   Load macros without scanning = 2
Set-ItemProperty -Path $k -Name 'powerpointbypassencryptedmacroscan' -Value 0 -Type DWord

Désactiver

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

Revenir à « Non configuré »

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

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
L_DeterminewhethertoforceencryptedpptDropIDListe déroulanteenumpowerpointbypassencryptedmacroscanREG_DWORD
Choix par défaut (interface) : n° 0
LibelléValeur
Scan encrypted macros (default)REG_DWORD = 0
Scan if anti-virus software availableREG_DWORD = 1
Load macros without scanningREG_DWORD = 2

Application

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

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