Set how links are opened in Internet Explorer
Définir le mode d’ouverture des liens dans Internet Explorer
Explanation
This policy setting allows you to choose how links are opened in Internet Explorer: Let Internet Explorer decide, always in Internet Explorer, or always in Internet Explorer on the desktop.
If you enable this policy setting, Internet Explorer enforces your choice. Users cannot change the setting.
If you disable or do not configure this policy setting, users can choose how links are opened in Internet Explorer.
Ce paramètre de stratégie vous permet de choisir le mode d’ouverture des liens dans Internet Explorer : Laisser Internet Explorer décider, Toujours dans Internet Explorer ou Toujours dans Internet Explorer sur le Bureau.
Si vous activez ce paramètre de stratégie, Internet Explorer applique votre choix. Les utilisateurs ne peuvent pas modifier le paramètre.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs sont libres de choisir le mode d’ouverture des liens dans Internet Explorer.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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/DefaultLinksView
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Default browser launch behavior for links
# Possible options:
# Let Internet Explorer decide = 0
# Always in Internet Explorer = 1
# Always in Internet Explorer on the desktop = 2
Set-ItemProperty -Path $k -Name 'AssociationActivationMode' -Value 0 -Type DWordDisable
# Disable: inetres/DefaultLinksView
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/DefaultLinksView
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'AssociationActivationMode' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Default browser launch behavior for linksComportement de lancement par défaut du navigateur pour les liensDefaultViewOptions | Drop-down listenum | AssociationActivationMode | REG_DWORD | Required · Default choice (UI): #0
|