Disable Internet Explorer 11 Launch Via COM Automation
Désactiver le lancement d’Internet Explorer 11 via COM Automation
Explanation
This policy lets you restrict launching of Internet Explorer using COM automation.
If you enable this policy, it prevents Internet Explorer 11 from being launched using COM automation.
If you disable, or don’t configure this policy, Internet Explorer 11 COM automation launches are allowed.
Cette stratégie vous permet de limiter le lancement de Explorer Internet à l’aide de l’automatisation COM.
Si vous activez cette stratégie, elle empêche le lancement d’Internet Explorer 11 à l’aide de l’automatisation COM.
Si vous désactivez ou ne configurez pas cette stratégie, les lancements d’automatisation COM Explorer 11 sur Internet sont autorisés.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Value name
DisableInternetExplorerLaunchViaCOM
| 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/DisableInternetExplorerLaunchViaCOM
$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 'DisableInternetExplorerLaunchViaCOM' -Value 1 -Type DWordDisable
# Disable: inetres/DisableInternetExplorerLaunchViaCOM
$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 'DisableInternetExplorerLaunchViaCOM' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/DisableInternetExplorerLaunchViaCOM
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'DisableInternetExplorerLaunchViaCOM' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"