Open in the explorer

Rely on VML for displaying graphics in browsers

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft Office 2016 › Tools | Options | General | Web Options... › Browsers
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
office16.admx
Internal name
office16/L_RelyonVMLfordisplayinggraphicsinbrowsers

Explanation

This policy setting controls whether Office 2016 applications save standard raster file format (GIF or PNG) copies of Vector Markup Language (VML) graphics when documents are saved as Web pages.

If you enable this policy setting, Office 2016 applications will not generate alternate files for VML graphics when documents are saved as Web pages. In addition, the "Rely on VML for displaying graphics in browsers" check box is checked in the Web Options dialog in Excel, PowerPoint, and Word, and users cannot change it.

If you disable this policy setting, Office 2016 applications also save copies of the graphics in a standard raster file format (GIF or PNG) for use by browsers that cannot display VML. In addition, the "Rely on VML for displaying graphics in browsers" check box is cleared in the Web Options dialog in Excel, PowerPoint, and Word, and users cannot change it.

If you do not configure this policy setting, when saving VML graphics, Office 2016 applications also save copies of the graphics in a standard raster file format (GIF or PNG) for use by browsers that cannot display VML. If the "Rely on VML for displaying graphics in browsers" check box in the Web Options dialog is selected, applications will not save raster copies of VML graphics, which means those graphics will not display in non-Microsoft browsers.

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\internet
Value name
relyonvml
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: office16/L_RelyonVMLfordisplayinggraphicsinbrowsers
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\internet'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'relyonvml' -Value 1 -Type DWord

Disable

# Disable: office16/L_RelyonVMLfordisplayinggraphicsinbrowsers
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\internet'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'relyonvml' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": office16/L_RelyonVMLfordisplayinggraphicsinbrowsers
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\internet'
Remove-ItemProperty -Path $k -Name 'relyonvml' -ErrorAction SilentlyContinue

Application

Microsoft 365 Apps / Office (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.