Fix Edge Profile Switcher Launching the Wrong Profile on Windows 11
🔍 WiseChecker

Fix Edge Profile Switcher Launching the Wrong Profile on Windows 11

You click the profile icon in Microsoft Edge and select your work profile, but the browser opens your personal profile instead. Or you set a default profile in Edge settings, yet links from Outlook or Teams still launch the wrong profile. This mismatch wastes time and can expose the wrong bookmarks, passwords, and history.

The problem occurs because Edge uses a combination of command-line arguments, pinned taskbar shortcuts, and OS-level file associations to decide which profile to load. If any of these components point to the wrong profile ID, the profile switcher ignores your selection and opens the default or last-used profile.

This article explains the root causes of profile switching failures in Edge on Windows 11. It then provides step-by-step fixes for the most common scenarios, including broken shortcuts, conflicting launch parameters, and corrupted profile data.

Key Takeaways: How to Fix Edge Profile Switcher Launching the Wrong Profile

  • Right-click Edge shortcut > Properties > Target: Remove the --profile-directory argument that forces a specific profile.
  • Settings > Profiles > Profile preferences > Default profile: Set the correct profile as default and disable auto-switching.
  • Edge > Settings > Profiles > Profile data > Clear profile data: Clear corrupted local profile data without signing out of sync.

ADVERTISEMENT

Why Edge Opens the Wrong Profile When You Use the Profile Switcher

Microsoft Edge stores each profile in a separate folder under %LOCALAPPDATA%\Microsoft\Edge\User Data. Each folder has a unique name like Profile 1 or Profile 2. When you click a profile icon in the switcher, Edge passes a command-line argument to the browser executable that tells it which profile folder to load.

The problem arises when a pinned taskbar shortcut, a desktop shortcut, or an external application link includes a --profile-directory argument that overrides the switcher selection. For example, if you pinned Edge to the taskbar while Profile 1 was active, the shortcut stores --profile-directory="Profile 1". Even if you later switch to Profile 2, clicking that pinned icon forces Edge to open Profile 1 again.

A second cause is the Edge default profile setting. Edge can be configured to always open a specific profile when launched from outside the browser, such as from a file link or a system notification. If this default does not match the profile you select in the switcher, the browser will ignore your choice.

A third cause is corrupted local profile data. If the Local State file in the User Data folder contains invalid profile order information, Edge may fall back to the last-used profile or refuse to switch at all.

Steps to Fix the Wrong Profile Launching in Edge

The following steps address the three most common causes. Perform them in the order listed. Test the profile switcher after each step.

  1. Remove the profile-directory argument from your Edge shortcut
    Right-click the Edge icon on your taskbar or desktop and select Properties. In the Target field, look for --profile-directory="Profile X" at the end of the path. If you see it, delete that argument and any preceding space. Click Apply and OK. Launch Edge and test the profile switcher.
  2. Set the correct default profile in Edge settings
    Open Edge, click the three-dot menu, and go to Settings > Profiles > Profile preferences. Under Default profile, select the profile you want Edge to open when launched from outside the browser. Turn off the toggle for Auto-switch to the correct profile if it is enabled. This prevents Edge from ignoring your manual selection.
  3. Clear corrupted local profile data
    Close Edge completely. Press Ctrl+Shift+Escape to open Task Manager and confirm no Edge processes are running. Open File Explorer and paste %LOCALAPPDATA%\Microsoft\Edge\User Data into the address bar. Locate the Local State file and rename it to Local State.old. Do not delete any profile folders. Restart Edge. The browser will regenerate the Local State file. Test the profile switcher.
  4. Repair Edge using Windows Settings
    Open Settings > Apps > Installed apps. Find Microsoft Edge, click the three-dot menu, and select Modify. In the Microsoft Edge Repair window, click Repair. Wait for the process to finish. This reinstalls Edge components without affecting your profiles or bookmarks. Test the switcher again.
  5. Reset Edge profile settings via command line
    Close Edge. Press Win+R, type cmd, and press Enter. Run the following command:
    start msedge --reset-profile
    This resets profile-specific settings to defaults. Your passwords, history, and bookmarks remain intact because they are stored in the cloud. Launch Edge and reconfigure your default profile as described in step 2.

ADVERTISEMENT

If Edge Still Opens the Wrong Profile After These Fixes

Edge launches the wrong profile when clicking a link in Outlook or Teams

This happens because Windows associates certain file types or protocols with a specific Edge profile. To fix this, go to Settings > Apps > Default apps. Scroll down to Microsoft Edge and click it. Under Choose defaults for the Microsoft Edge protocol, click the icon for MICROSOFT-EDGE and select the correct profile from the list. Repeat for any other protocols like HTTP and HTTPS if they appear.

Profile switcher works but reverts to the wrong profile after restart

A corrupted Profile X folder can cause this. Close Edge. Rename the specific profile folder inside %LOCALAPPDATA%\Microsoft\Edge\User Data by adding .old to its name. Restart Edge. The browser will recreate the folder and sync your data from Microsoft servers. You will need to sign in again to that profile.

Edge opens the same profile for every link, ignoring the switcher entirely

This is usually caused by a Group Policy or registry setting that forces a single profile. Press Win+R, type regedit, and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge. Look for a value named ForceProfile or ProfileDefaultName. Delete any such value. If you are on a work-managed device, contact your IT administrator because these policies are set by your organization.

Edge Profile Switcher vs Default Profile vs OS Default: Launch Behavior Differences

Item Profile Switcher Click Default Profile Setting OS Default Apps
Description Manual selection inside Edge Edge setting for external launches Windows setting for protocol links
When used You click a profile icon in the toolbar Edge opens from a file, link, or notification Any app opens a web link via HTTP or HTTPS
Override priority Low – overridden by shortcut args and policies Medium – overridden by OS default and policies High – overrides all Edge internal settings
Fix location Shortcut Target field Edge Settings > Profiles > Profile preferences Windows Settings > Apps > Default apps

The profile switcher inside Edge has the lowest priority. If a shortcut, a Group Policy, or the OS default app setting specifies a different profile, Edge will ignore your manual selection. Always check all three layers when troubleshooting.

You can now identify why Edge opens the wrong profile and apply the correct fix. Start by inspecting your Edge shortcuts for the --profile-directory argument, then verify the default profile setting in Edge preferences. If the problem persists, clear the Local State file or repair Edge through Windows Settings. For advanced users, the command msedge --reset-profile provides a fast way to reset profile settings without losing synced data.

ADVERTISEMENT