Use Primary Work Profile as default to open external links
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
This policy controls whether Microsoft Edge uses the Primary Work Profile as the default profile when opening external links.
1. On Windows, the Primary Work Profile refers to the profile signed in with the Entra ID account used to enroll the device.
2. On macOS and Linux, the Primary Work Profile is the only profile signed in with an Entra ID account. If multiple profiles are signed in with Entra ID accounts, the Primary Work Profile setting doesn't apply.
Policy behavior:
1. If enabled or not configured, Microsoft Edge uses the Primary Work Profile as the default for opening external links.
2. If disabled, the last used profile becomes the default for opening external links.
Note: This policy doesn't override the following scenarios:
1. If the EdgeDefaultProfileEnabled policy is set, it takes precedence over this policy.
2. External links opened from Outlook or Microsoft Teams may be configured to launch in a specific profile, which can override the Primary Work Profile setting.
3. If the user sets a preference for "Default profile for external links" in Profile preferences, that setting takes effect.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\RecommendedHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\Recommended- Nom de la valeur
EdgeOpenExternalLinksWithPrimaryWorkProfileEnabled
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Ordinateur (HKLM)
Activer
# Activer : msedge/EdgeOpenExternalLinksWithPrimaryWorkProfileEnabled_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EdgeOpenExternalLinksWithPrimaryWorkProfileEnabled' -Value 1 -Type DWordDésactiver
# Désactiver : msedge/EdgeOpenExternalLinksWithPrimaryWorkProfileEnabled_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EdgeOpenExternalLinksWithPrimaryWorkProfileEnabled' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : msedge/EdgeOpenExternalLinksWithPrimaryWorkProfileEnabled_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
Remove-ItemProperty -Path $k -Name 'EdgeOpenExternalLinksWithPrimaryWorkProfileEnabled' -ErrorAction SilentlyContinueUtilisateur (HKCU)
Activer
Désactiver
Revenir à « Non configuré »
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.