Open in the explorer

Turn off automatic image resizing

Désactiver le redimensionnement automatique de l’image

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Settings › Advanced settings › Multimedia FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Paramètres Internet › Paramètres avancés › Multimédia
Supported on
At least Internet Explorer 7.0 FR: Au moins Internet Explorer 7.0
ADMX file
inetres.admx
Internal name
inetres/RestrictAutoImageResize

Explanation

This policy setting specifies that you want Internet Explorer to automatically resize large images so that they fit in the browser window.

If you enable this policy setting, automatic image resizing is turned off. The user cannot change this setting.

If you disable this policy setting, automatic image resizing is turned on. The user cannot change this setting.

If you do not configure this policy setting, the user can turn on or off automatic image resizing.

French text from Windows 11 26H2

Ce paramètre de stratégie spécifie si Internet Explorer redimensionne automatiquement les grandes images pour qu’elles rentrent dans la fenêtre du navigateur.

Si vous activez ce paramètre de stratégie, le redimensionnement automatique de l’image est désactivé. L’utilisateur ne peut pas modifier ce paramètre.

Si vous désactivez ce paramètre de stratégie, le redimensionnement automatique de l’image est activé. L’utilisateur ne peut pas modifier ce paramètre.

Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur peut activer ou désactiver le redimensionnement automatique de l’image.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main
Value name
Enable AutoImageResize
StateValue written
EnabledREG_SZ = no
DisabledREG_SZ = yes

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: inetres/RestrictAutoImageResize
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enable AutoImageResize' -Value 'no' -Type String

Disable

# Disable: inetres/RestrictAutoImageResize
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Enable AutoImageResize' -Value 'yes' -Type String

Revert to "Not configured"

# Revert to "Not configured": inetres/RestrictAutoImageResize
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'Enable AutoImageResize' -ErrorAction SilentlyContinue

Availability