Ouvrir dans l'explorateur

Configure the automatic profile switching site list

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Microsoft Edge › Identité et connexion Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Edge › Identité et connexion EN : Computer Configuration › Policies › Administrative Templates › Microsoft Edge › Identity and sign-inEN : User Configuration › Policies › Administrative Templates › Microsoft Edge › Identity and sign-in
Pris en charge sur
Microsoft Edge version 120, Windows 7 or later
Fichier ADMX
msedge.admx
Nom interne
msedge/AutomaticProfileSwitchingSiteList

Explication

Sets this policy to control which profiles Microsoft Edge uses to open sites in. Switching configurations for sites listed in this policy takes precedence over other heuristics Microsoft Edge uses for switching sites; however, sites not listed on this policy are still subject to switching by those heuristics. If you don't configure this policy, Microsoft Edge continues using its heuristics to automatically switch sites.

This policy maps a URL hostname to a profile that's used to open the site.

The 'site' field takes the form of a URL hostname.

The 'profile' field can take one of the following values:

- 'Work': The most recently used Microsoft Entra signed-in profile is used to open a 'site'.
- 'Personal': The most recently used Microsoft Account (MSA) signed-in profile is used to open a 'site'.
- 'No preference': The currently used profile is used to open a 'site'.
- 'Wildcard email address': This takes the form of '*@contoso.com'. A profile whose username ends with the contents following the '*' is used to open a 'site'.

Example value:

[
{
"site": "work.com",
"profile": "Work"
},
{
"site": "personal.com",
"profile": "Personal"
},
{
"site": "nopreference.com",
"profile": "No preference"
},
{
"site": "contoso.com",
"profile": "*@contoso.com"
}
]

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

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/AutomaticProfileSwitchingSiteList
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Configure the automatic profile switching site list
Set-ItemProperty -Path $k -Name 'AutomaticProfileSwitchingSiteList' -Value '<valeur>' -Type String

Désactiver

# Désactiver : msedge/AutomaticProfileSwitchingSiteList
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : msedge/AutomaticProfileSwitchingSiteList
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'AutomaticProfileSwitchingSiteList' -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Configure the automatic profile switching site listAutomaticProfileSwitchingSiteListZone de textetextAutomaticProfileSwitchingSiteListREG_SZ
Longueur max : 1000000

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.