Reset zoom to default for HTML dialogs in Internet Explorer mode
Rétablir le zoom par défaut pour les boîtes de dialogue HTML en mode Internet Explorer
Explanation
This policy setting lets admins reset zoom to default for HTML dialogs in Internet Explorer mode.
If you enable this policy, the zoom of an HTML dialog in Internet Explorer mode will not get propagated from its parent page.
If you disable, or don't configure this policy, the zoom of an HTML dialog in Internet Explorer mode will be set based on the zoom of it's parent page.
For more information, see https://go.microsoft.com/fwlink/?linkid=2220107
Ce paramètre de stratégie permet aux administrateurs de rétablir le zoom par défaut pour les boîtes de dialogue HTML en mode Internet Explorer.
Si vous activez cette stratégie, le zoom d’une boîte de dialogue HTML en mode Internet Explorer n’est pas propagé à partir de sa page parente.
Si vous désactivez ou ne configurez pas cette stratégie, le zoom d’une boîte de dialogue HTML en mode Internet Explorer est défini en fonction du zoom de sa page parente.
Pour plus d’informations, consultez https://go.microsoft.com/fwlink/?linkid=2220107
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseModeHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode- Value name
ResetZoomForDialogInIEMode
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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.
Computer (HKLM)
Enable
# Enable: inetres/ResetZoomForDialogInIEMode
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ResetZoomForDialogInIEMode' -Value 1 -Type DWordDisable
# Disable: inetres/ResetZoomForDialogInIEMode
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ResetZoomForDialogInIEMode' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/ResetZoomForDialogInIEMode
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode'
Remove-ItemProperty -Path $k -Name 'ResetZoomForDialogInIEMode' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"