預設檔案格式 的登錄值 defaultformat (powerpoint\options)使用者HKCU\software\policies\microsoft\office\16.0\powerpoint\options
- 原則 ID
- L_SavePowerPointfilesas
- 適用範圍
- 使用者設定
- 支援的作業系統
- 至少需要 Windows Server 2008 R2 或 Windows 7
- 來源
- Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
- 類別
- Microsoft PowerPoint 2016 › PowerPoint 選項 › 儲存
登錄
defaultformat
REG_DWORD使用者- 啟用時的值
- 取決於選項值
- 元素
- 另存 PowerPoint 檔案為
| 項目 | 儲存的值 |
|---|---|
| PowerPoint 簡報 (*.pptx) | 27 |
| PowerPoint 啟用巨集的簡報 (*.pptm) | 28 |
| PowerPoint 97-2003 簡報 (*.ppt) | 0 |
| OpenDocument 簡報 (*.odp) | 52 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\options] ; 選項 (只使用其中一個) ; PowerPoint 簡報 (*.pptx) "defaultformat"=dword:0000001b ; PowerPoint 啟用巨集的簡報 (*.pptm) "defaultformat"=dword:0000001c ; PowerPoint 97-2003 簡報 (*.ppt) "defaultformat"=dword:00000000 ; OpenDocument 簡報 (*.odp) "defaultformat"=dword:00000034
CMD
:: 選項 (只使用其中一個) :: PowerPoint 簡報 (*.pptx) reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\options" /v "defaultformat" /t REG_DWORD /d 27 /f :: PowerPoint 啟用巨集的簡報 (*.pptm) reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\options" /v "defaultformat" /t REG_DWORD /d 28 /f :: PowerPoint 97-2003 簡報 (*.ppt) reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\options" /v "defaultformat" /t REG_DWORD /d 0 /f :: OpenDocument 簡報 (*.odp) reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\options" /v "defaultformat" /t REG_DWORD /d 52 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\options' -Force | Out-Null # 選項 (只使用其中一個) # PowerPoint 簡報 (*.pptx) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\options' -Name 'defaultformat' -PropertyType DWord -Value 27 -Force | Out-Null # PowerPoint 啟用巨集的簡報 (*.pptm) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\options' -Name 'defaultformat' -PropertyType DWord -Value 28 -Force | Out-Null # 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 # OpenDocument 簡報 (*.odp) New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\options' -Name 'defaultformat' -PropertyType DWord -Value 52 -Force | Out-Null