Format de fichier par défaut : valeur de Registre defaultformat (powerpoint\options)UtilisateurHKCU\software\policies\microsoft\office\16.0\powerpoint\options

ID de stratégie
L_SavePowerPointfilesas
Étendue
Configuration utilisateur
Pris en charge sur
Au minimum Windows Server 2008 R2 ou Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Catégorie
Microsoft PowerPoint 2016 › Options PowerPoint › Enregistrer

Registre

defaultformat

REG_DWORDUtilisateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Enregistrer les fichiers PowerPoint sous 
Options
EntréeValeur stockée
Présentation PowerPoint (*.pptx)27
Présentation PowerPoint prenant en charge les macros (*.pptm)28
Présentation PowerPoint 97-2003 (*.ppt)0
Présentation OpenDocument (*.odp)52
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\options]

; Options (en utiliser une seule)
; Présentation PowerPoint (*.pptx)
"defaultformat"=dword:0000001b
; Présentation PowerPoint prenant en charge les macros (*.pptm)
"defaultformat"=dword:0000001c
; Présentation PowerPoint 97-2003 (*.ppt)
"defaultformat"=dword:00000000
; Présentation OpenDocument (*.odp)
"defaultformat"=dword:00000034
CMD
:: Options (en utiliser une seule)

:: Présentation PowerPoint (*.pptx)
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\options" /v "defaultformat" /t REG_DWORD /d 27 /f
:: Présentation PowerPoint prenant en charge les macros (*.pptm)
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\options" /v "defaultformat" /t REG_DWORD /d 28 /f
:: Présentation PowerPoint 97-2003 (*.ppt)
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\options" /v "defaultformat" /t REG_DWORD /d 0 /f
:: Présentation OpenDocument (*.odp)
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\options" /v "defaultformat" /t REG_DWORD /d 52 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\options' -Force | Out-Null

# Options (en utiliser une seule)
# Présentation PowerPoint (*.pptx)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\options' -Name 'defaultformat' -PropertyType DWord -Value 27 -Force | Out-Null
# Présentation PowerPoint prenant en charge les macros (*.pptm)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\options' -Name 'defaultformat' -PropertyType DWord -Value 28 -Force | Out-Null
# Présentation PowerPoint 97-2003 (*.ppt)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\options' -Name 'defaultformat' -PropertyType DWord -Value 0 -Force | Out-Null
# Présentation OpenDocument (*.odp)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\options' -Name 'defaultformat' -PropertyType DWord -Value 52 -Force | Out-Null