Configure the automatic profile switching site list
Explanation
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"
}
]
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge\RecommendedHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\Recommended- 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: msedge/AutomaticProfileSwitchingSiteList_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
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 '<value>' -Type StringDisable
# Disable: msedge/AutomaticProfileSwitchingSiteList_recommended
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": msedge/AutomaticProfileSwitchingSiteList_recommended
$k = 'HKLM:\Software\Policies\Microsoft\Edge\Recommended'
Remove-ItemProperty -Path $k -Name 'AutomaticProfileSwitchingSiteList' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Configure the automatic profile switching site listAutomaticProfileSwitchingSiteList | Text boxtext | AutomaticProfileSwitchingSiteList | REG_SZ | Max length: 1000000 |
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.