PowerPoint: 網頁格式相容性 的登錄值 htmlversion使用者HKCU\software\policies\microsoft\office\16.0\powerpoint\internet

原則 ID
L_PowerPointwebpageformatcompatibility
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Office 2016 › 網頁封存

登錄

htmlversion

REG_DWORD使用者
啟用時的值
取決於選項值
元素
PowerPoint: 網頁格式相容性
選項
項目儲存的值
所有瀏覽器2
Windows Internet Explorer 4.0 或更新1
根據已安裝的瀏覽器0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

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

; 選項 (只使用其中一個)
; 所有瀏覽器
"htmlversion"=dword:00000002
; Windows Internet Explorer 4.0 或更新
"htmlversion"=dword:00000001
; 根據已安裝的瀏覽器
"htmlversion"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 所有瀏覽器
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\internet" /v "htmlversion" /t REG_DWORD /d 2 /f
:: Windows Internet Explorer 4.0 或更新
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\internet" /v "htmlversion" /t REG_DWORD /d 1 /f
:: 根據已安裝的瀏覽器
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\internet" /v "htmlversion" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\internet' -Force | Out-Null

# 選項 (只使用其中一個)
# 所有瀏覽器
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\internet' -Name 'htmlversion' -PropertyType DWord -Value 2 -Force | Out-Null
# Windows Internet Explorer 4.0 或更新
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\internet' -Name 'htmlversion' -PropertyType DWord -Value 1 -Force | Out-Null
# 根據已安裝的瀏覽器
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\internet' -Name 'htmlversion' -PropertyType DWord -Value 0 -Force | Out-Null