Prevent choosing default text size: registry value IEFontSize (Scripts)UserHKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts
- Policy ID
- FontSize
- Scope
- User Configuration
- Supported on
- At least Internet Explorer 7.0
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Internet Explorer › Internet Settings › Display settings
Registry
NoDefaultTextSize
REG_DWORDUser- Enabled value
- 1
Apply with .reg · CMD · PowerShell
Enabled
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions] "NoDefaultTextSize"=dword:00000001
CMD · Enabled
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions" /v "NoDefaultTextSize" /t REG_DWORD /d 1 /f
PowerShell · Enabled
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_DWORDUser- Enabled value
- 0
Apply with .reg · CMD · PowerShell
Enabled
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Zoom] "ResetTextSizeOnStartup"=dword:00000000
CMD · Enabled
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Zoom" /v "ResetTextSizeOnStartup" /t REG_DWORD /d 0 /f
PowerShell · Enabled
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_DWORDUser- Enabled value
- Depends on the option value
- Element
- Default Size
| Item | Stored value |
|---|---|
| Largest | 4 |
| Larger | 3 |
| Medium | 2 |
| Smaller | 1 |
| Smallest | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\International\Scripts] ; Options (use only one) ; Largest "IEFontSize"=dword:00000004 ; Larger "IEFontSize"=dword:00000003 ; Medium "IEFontSize"=dword:00000002 ; Smaller "IEFontSize"=dword:00000001 ; Smallest "IEFontSize"=dword:00000000
CMD
:: Options (use only one) :: Largest reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts" /v "IEFontSize" /t REG_DWORD /d 4 /f :: Larger reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts" /v "IEFontSize" /t REG_DWORD /d 3 /f :: Medium reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts" /v "IEFontSize" /t REG_DWORD /d 2 /f :: Smaller reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts" /v "IEFontSize" /t REG_DWORD /d 1 /f :: Smallest reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\International\Scripts" /v "IEFontSize" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Force | Out-Null # Options (use only one) # Largest New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Name 'IEFontSize' -PropertyType DWord -Value 4 -Force | Out-Null # Larger New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Name 'IEFontSize' -PropertyType DWord -Value 3 -Force | Out-Null # Medium New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Name 'IEFontSize' -PropertyType DWord -Value 2 -Force | Out-Null # Smaller New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Name 'IEFontSize' -PropertyType DWord -Value 1 -Force | Out-Null # Smallest New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\International\Scripts' -Name 'IEFontSize' -PropertyType DWord -Value 0 -Force | Out-Null