Format de fichier par défaut : valeur de Registre defaultformat (word\options)UtilisateurHKCU\software\policies\microsoft\office\16.0\word\options
- ID de stratégie
- L_SaveWordfilesas
- É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 Word 2016 › Options Word › Enregistrer
Registre
defaultformat
REG_SZUtilisateur- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Enregistrer les fichiers Word comme
| Entrée | Valeur stockée |
|---|---|
| Document Word (*.docx) | |
| Page web à fichier unique (*.mht) | WebArchive |
| Page web (*.htm; *.html) | HTML |
| Page web, filtrée (*.htm, *.html) | ReducedHTML |
| Format RTF (*.rtf) | Rtf |
| Texte brut (*.txt) | Text |
| Word 6.0/95 (*.doc) | MSWord6Exp |
| Word 6.0/95 - Chinois (simplifié) (*.doc) | MSWord6SCExp |
| Word 6.0/95 - Chinois (traditionnel) (*.doc) | MSWord6TCExp |
| Word 6.0/95 - Japonais (*.doc) | MSWord6JExp |
| Word 6.0/95 - Coréen (*.doc) | MSWord95KExp |
| Word 97-2002 & 6.0/95 - RTF | MSWord6RTFExp |
| Word 5.1 pour Macintosh (*.mcw) | MSWordMac51 |
| Word 5.0 pour Macintosh (*.mcw) | MSWordMac5 |
| Word 2.x pour Windows (*.doc) | MSWordWin2 |
| Works 4.0 pour Windows (*.wps) | MSWorksWin4 |
| WordPerfect 5.x pour Windows (*.doc) | WrdPrfctWin |
| WordPerfect 5.1 pour DOS (*.doc) | WrdPrfctDos51 |
| Document Word avec macro (*.docm) | MacroEnabledDocument |
| Modèle Word (*.dotx) | Template |
| Modèle Word avec macro (*.dotm) | MacroEnabledTemplate |
| Document Word 97 - 2003 (*.doc) | Doc |
| Modèle Word 97 - 2003 (*.dot) | Dot |
| Document XML Word (*.xml) | FlatXML |
| Document Open XML strict (*.docx) | DocxStrict |
| Texte OpenDocument (*.odt) | ODT |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\word\options] ; Options (en utiliser une seule) ; Document Word (*.docx) "defaultformat"=hex(1):0a,00,20,00,20,00,20,00,20,00,20,00,20,00,20,00,20,00,20,00,20,00,20,00,20,00,20,00,20,00,00,00 ; Page web à fichier unique (*.mht) "defaultformat"="WebArchive" ; Page web (*.htm; *.html) "defaultformat"="HTML" ; Page web, filtrée (*.htm, *.html) "defaultformat"="ReducedHTML" ; Format RTF (*.rtf) "defaultformat"="Rtf" ; Texte brut (*.txt) "defaultformat"="Text" ; Word 6.0/95 (*.doc) "defaultformat"="MSWord6Exp" ; Word 6.0/95 - Chinois (simplifié) (*.doc) "defaultformat"="MSWord6SCExp" ; Word 6.0/95 - Chinois (traditionnel) (*.doc) "defaultformat"="MSWord6TCExp" ; Word 6.0/95 - Japonais (*.doc) "defaultformat"="MSWord6JExp" ; Word 6.0/95 - Coréen (*.doc) "defaultformat"="MSWord95KExp" ; Word 97-2002 & 6.0/95 - RTF "defaultformat"="MSWord6RTFExp" ; Word 5.1 pour Macintosh (*.mcw) "defaultformat"="MSWordMac51" ; Word 5.0 pour Macintosh (*.mcw) "defaultformat"="MSWordMac5" ; Word 2.x pour Windows (*.doc) "defaultformat"="MSWordWin2" ; Works 4.0 pour Windows (*.wps) "defaultformat"="MSWorksWin4" ; WordPerfect 5.x pour Windows (*.doc) "defaultformat"="WrdPrfctWin" ; WordPerfect 5.1 pour DOS (*.doc) "defaultformat"="WrdPrfctDos51" ; Document Word avec macro (*.docm) "defaultformat"="MacroEnabledDocument" ; Modèle Word (*.dotx) "defaultformat"="Template" ; Modèle Word avec macro (*.dotm) "defaultformat"="MacroEnabledTemplate" ; Document Word 97 - 2003 (*.doc) "defaultformat"="Doc" ; Modèle Word 97 - 2003 (*.dot) "defaultformat"="Dot" ; Document XML Word (*.xml) "defaultformat"="FlatXML" ; Document Open XML strict (*.docx) "defaultformat"="DocxStrict" ; Texte OpenDocument (*.odt) "defaultformat"="ODT"
CMD
:: Options (en utiliser une seule) :: Page web à fichier unique (*.mht) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "WebArchive" /f :: Page web (*.htm; *.html) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "HTML" /f :: Page web, filtrée (*.htm, *.html) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "ReducedHTML" /f :: Format RTF (*.rtf) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "Rtf" /f :: Texte brut (*.txt) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "Text" /f :: Word 6.0/95 (*.doc) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MSWord6Exp" /f :: Word 6.0/95 - Chinois (simplifié) (*.doc) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MSWord6SCExp" /f :: Word 6.0/95 - Chinois (traditionnel) (*.doc) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MSWord6TCExp" /f :: Word 6.0/95 - Japonais (*.doc) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MSWord6JExp" /f :: Word 6.0/95 - Coréen (*.doc) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MSWord95KExp" /f :: Word 97-2002 & 6.0/95 - RTF reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MSWord6RTFExp" /f :: Word 5.1 pour Macintosh (*.mcw) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MSWordMac51" /f :: Word 5.0 pour Macintosh (*.mcw) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MSWordMac5" /f :: Word 2.x pour Windows (*.doc) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MSWordWin2" /f :: Works 4.0 pour Windows (*.wps) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MSWorksWin4" /f :: WordPerfect 5.x pour Windows (*.doc) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "WrdPrfctWin" /f :: WordPerfect 5.1 pour DOS (*.doc) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "WrdPrfctDos51" /f :: Document Word avec macro (*.docm) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MacroEnabledDocument" /f :: Modèle Word (*.dotx) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "Template" /f :: Modèle Word avec macro (*.dotm) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "MacroEnabledTemplate" /f :: Document Word 97 - 2003 (*.doc) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "Doc" /f :: Modèle Word 97 - 2003 (*.dot) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "Dot" /f :: Document XML Word (*.xml) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "FlatXML" /f :: Document Open XML strict (*.docx) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "DocxStrict" /f :: Texte OpenDocument (*.odt) reg add "HKCU\software\policies\microsoft\office\16.0\word\options" /v "defaultformat" /t REG_SZ /d "ODT" /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Force | Out-Null # Options (en utiliser une seule) # Page web à fichier unique (*.mht) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'WebArchive' -Force | Out-Null # Page web (*.htm; *.html) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'HTML' -Force | Out-Null # Page web, filtrée (*.htm, *.html) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'ReducedHTML' -Force | Out-Null # Format RTF (*.rtf) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'Rtf' -Force | Out-Null # Texte brut (*.txt) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'Text' -Force | Out-Null # Word 6.0/95 (*.doc) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MSWord6Exp' -Force | Out-Null # Word 6.0/95 - Chinois (simplifié) (*.doc) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MSWord6SCExp' -Force | Out-Null # Word 6.0/95 - Chinois (traditionnel) (*.doc) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MSWord6TCExp' -Force | Out-Null # Word 6.0/95 - Japonais (*.doc) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MSWord6JExp' -Force | Out-Null # Word 6.0/95 - Coréen (*.doc) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MSWord95KExp' -Force | Out-Null # Word 97-2002 & 6.0/95 - RTF New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MSWord6RTFExp' -Force | Out-Null # Word 5.1 pour Macintosh (*.mcw) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MSWordMac51' -Force | Out-Null # Word 5.0 pour Macintosh (*.mcw) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MSWordMac5' -Force | Out-Null # Word 2.x pour Windows (*.doc) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MSWordWin2' -Force | Out-Null # Works 4.0 pour Windows (*.wps) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MSWorksWin4' -Force | Out-Null # WordPerfect 5.x pour Windows (*.doc) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'WrdPrfctWin' -Force | Out-Null # WordPerfect 5.1 pour DOS (*.doc) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'WrdPrfctDos51' -Force | Out-Null # Document Word avec macro (*.docm) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MacroEnabledDocument' -Force | Out-Null # Modèle Word (*.dotx) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'Template' -Force | Out-Null # Modèle Word avec macro (*.dotm) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'MacroEnabledTemplate' -Force | Out-Null # Document Word 97 - 2003 (*.doc) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'Doc' -Force | Out-Null # Modèle Word 97 - 2003 (*.dot) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'Dot' -Force | Out-Null # Document XML Word (*.xml) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'FlatXML' -Force | Out-Null # Document Open XML strict (*.docx) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'DocxStrict' -Force | Out-Null # Texte OpenDocument (*.odt) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\options' -Name 'defaultformat' -PropertyType String -Value 'ODT' -Force | Out-Null