Open in the explorer

Allow Internet Explorer 8 shutdown behavior

Autoriser le comportement d’arrêt d’Internet Explorer 8

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet ExplorerFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer
Supported on
At least Internet Explorer 9.0 FR: Au moins Internet Explorer 9.0
ADMX file
inetres.admx
Internal name
inetres/FastShutdownOnUnload

Explanation

This policy setting allows you to revert to the Internet Explorer 8 behavior of allowing OnUnLoad script handlers to display UI during shutdown. This policy setting may be needed to fix compatibility problems with particular web applications.

If you enable this policy setting, OnUnLoad script handlers display UI during shutdown.

If you disable or do not configure this policy setting, OnUnLoad script handlers do not display UI during shutdown (default behavior in Internet Explorer 9).

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de rétablir le comportement d’Internet Explorer 8 afin d’autoriser les gestionnaires de scripts OnUnLoad à afficher l’interface utilisateur durant l’arrêt. Ce paramètre de stratégie peut s’avérer nécessaire pour corriger les problèmes de compatibilité d’applications Web spécifiques.

Si vous activez ce paramètre de stratégie, les gestionnaires de scripts OnUnLoad affichent l’interface utilisateur durant l’arrêt.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les gestionnaires de scripts OnUnLoad n’affichent pas l’interface utilisateur durant l’arrêt (comportement par défaut dans Internet Explorer 9).

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main
Value name
ShutdownWaitForOnUnload
StateValue written
EnabledREG_DWORD = 1
Disablednot defined in the ADMX

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/FastShutdownOnUnload
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ShutdownWaitForOnUnload' -Value 1 -Type DWord

Disable

# Disable: inetres/FastShutdownOnUnload
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
# disabledValue is not defined in the ADMX: no value is specified for the "Disabled" state

Revert to "Not configured"

# Revert to "Not configured": inetres/FastShutdownOnUnload
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'ShutdownWaitForOnUnload' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability