防止選擇預設文字大小 的登錄值 NoDefaultTextSize (Restrictions)使用者HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions

原則 ID
FontSize
適用範圍
使用者設定
支援的作業系統
至少 Internet Explorer 7.0
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
Windows 元件 › Internet Explorer › 網際網路設定 › 顯示設定

登錄

NoDefaultTextSize

REG_DWORD使用者
啟用時的值
1
以 .reg · CMD · PowerShell 套用
已啟用
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions]
"NoDefaultTextSize"=dword:00000001
CMD · 已啟用
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions" /v "NoDefaultTextSize" /t REG_DWORD /d 1 /f
PowerShell · 已啟用
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Restrictions' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Restrictions' -Name 'NoDefaultTextSize' -PropertyType DWord -Value 1 -Force | Out-Null

ResetTextSizeOnStartup

REG_DWORD使用者
啟用時的值
0
以 .reg · CMD · PowerShell 套用
已啟用
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Zoom]
"ResetTextSizeOnStartup"=dword:00000000
CMD · 已啟用
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Zoom" /v "ResetTextSizeOnStartup" /t REG_DWORD /d 0 /f
PowerShell · 已啟用
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Zoom' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Zoom' -Name 'ResetTextSizeOnStartup' -PropertyType DWord -Value 0 -Force | Out-Null

IEFontSize

REG_DWORD使用者
啟用時的值
取決於選項值
元素
預設大小
選項
項目儲存的值
最大4
較大3
中2
較小1
最小0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\International\Scripts]

; 選項 (只使用其中一個)
; 最大
"IEFontSize"=dword:00000004
; 較大
"IEFontSize"=dword:00000003
; 中
"IEFontSize"=dword:00000002
; 較小
"IEFontSize"=dword:00000001
; 最小
"IEFontSize"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 最大
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts" /v "IEFontSize" /t REG_DWORD /d 4 /f
:: 較大
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts" /v "IEFontSize" /t REG_DWORD /d 3 /f
:: 中
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts" /v "IEFontSize" /t REG_DWORD /d 2 /f
:: 較小
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts" /v "IEFontSize" /t REG_DWORD /d 1 /f
:: 最小
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts" /v "IEFontSize" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Force | Out-Null

# 選項 (只使用其中一個)
# 最大
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Name 'IEFontSize' -PropertyType DWord -Value 4 -Force | Out-Null
# 較大
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Name 'IEFontSize' -PropertyType DWord -Value 3 -Force | Out-Null
# 中
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Name 'IEFontSize' -PropertyType DWord -Value 2 -Force | Out-Null
# 較小
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Name 'IEFontSize' -PropertyType DWord -Value 1 -Force | Out-Null
# 最小
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Name 'IEFontSize' -PropertyType DWord -Value 0 -Force | Out-Null