Rely on CSS for font formatting: registry value donotrelyoncss and 1 more (internet)UserHKCU\software\policies\microsoft\office\16.0\common\internet

Policy ID
L_RelyonCSSforfontformatting
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Office 2016 › Tools | Options | General | Web Options... › General

Registry

donotrelyoncss

REG_DWORDUser
Checked
0
Unchecked
1
Element
Enforce CSS
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Checked
"donotrelyoncss"=dword:00000000
; Unchecked
"donotrelyoncss"=dword:00000001
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "donotrelyoncss" /t REG_DWORD /d 0 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "donotrelyoncss" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'donotrelyoncss' -PropertyType DWord -Value 0 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'donotrelyoncss' -PropertyType DWord -Value 1 -Force | Out-Null

userelyoncssformail

REG_DWORDUser
Checked
1
Unchecked
0
Element
CSS setting for Word
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Checked
"userelyoncssformail"=dword:00000001
; Unchecked
"userelyoncssformail"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "userelyoncssformail" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "userelyoncssformail" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'userelyoncssformail' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'userelyoncssformail' -PropertyType DWord -Value 0 -Force | Out-Null