You open Microsoft Edge Stable on Windows 11 and find your bookmarks, passwords, and history replaced with data from Edge Canary. This happens when both channels share the same user data folder due to a profile path conflict. The cause is a known bug where Edge Canary incorrectly writes profile data to the Stable channel’s directory instead of its own. This article explains the root cause and provides three reliable methods to prevent the overwrite and restore your Stable profile data.
Key Takeaways: Stop Edge Canary From Overwriting Stable Data
- Edge Stable profile folder path:
%LOCALAPPDATA%\Microsoft\Edge\User Data\Default— the folder where Stable stores bookmarks, passwords, and history - Command-line flag
--user-data-dir: Forces Edge Canary to use a separate folder, preventing data conflicts - Group Policy setting “Prevent simultaneous installations of Microsoft Edge”: Blocks Canary from writing to the Stable profile altogether
Why Edge Canary Overwrites Your Stable Profile on Windows 11
Edge Canary is an unstable preview build that updates daily. It is designed to use its own user data folder located at %LOCALAPPDATA%\Microsoft\Edge SxS\User Data. A bug in recent Canary builds causes the browser to read and write profile data from the Stable channel’s folder at %LOCALAPPDATA%\Microsoft\Edge\User Data instead. This overwrites your Stable bookmarks, saved passwords, autofill data, and browsing history with the Canary session data. The problem occurs when you launch Canary after having used Stable, or when both channels are open simultaneously. The overwrite is not reversible through Edge’s built-in sync because the local data is replaced before sync can restore it. You must stop the conflict at the source by isolating the Canary profile folder.
Method 1: Use the --user-data-dir Flag to Force a Separate Profile Folder
This method forces Edge Canary to use a dedicated folder for its profile data. It works on Windows 11 Home and Pro editions without any group policy editor.
- Close all Edge windows
Press Ctrl+Shift+Escape to open Task Manager. Under Processes, select any Microsoft Edge or Microsoft Edge Canary entry and click End task. Repeat for all Edge processes. - Locate the Edge Canary shortcut
Right-click the Start button and select Run. Typeshell:AppsFolderand press Enter. Find Microsoft Edge Canary in the list. Right-click it and select Create shortcut. Click Yes when prompted to place the shortcut on the desktop. - Edit the shortcut target
Right-click the new desktop shortcut and select Properties. In the Shortcut tab, locate the Target field. It looks like this:"C:\Program Files (x86)\Microsoft\Edge SxS\Application\msedge.exe"
Add the following flag at the end of the string, outside the closing quotation mark:--user-data-dir="C:\EdgeCanaryProfile"
The full target should read:"C:\Program Files (x86)\Microsoft\Edge SxS\Application\msedge.exe" --user-data-dir="C:\EdgeCanaryProfile" - Apply and launch
Click Apply, then OK. Double-click the shortcut to launch Edge Canary. It will create a new profile folder atC:\EdgeCanaryProfile. Your Stable profile at%LOCALAPPDATA%\Microsoft\Edge\User Datais no longer touched by Canary.
If You Already Opened Canary Without the Flag
After applying the flag, close Canary. Navigate to %LOCALAPPDATA%\Microsoft\Edge\User Data and look for a folder named Default. If you see a Default (restored) or Default.bak folder, rename it back to Default to recover your Stable data. If no backup exists, you must restore from a sync backup or a system restore point.
Method 2: Block Canary From Writing to the Stable Profile Using Group Policy
This method uses the Group Policy Editor to prevent Edge Canary from launching if Stable is already installed. It is available only on Windows 11 Pro, Enterprise, or Education editions.
- Open Local Group Policy Editor
Press Windows+R, typegpedit.msc, and press Enter. - Navigate to the Edge update policy path
In the left pane, expand Computer Configuration > Administrative Templates > Microsoft Edge Update > Applications. - Enable the policy to block simultaneous installations
Double-click the policy named “Prevent simultaneous installations of Microsoft Edge”. Set it to Enabled. In the Options pane, enterMicrosoft Edge Stableas the browser to block. Click OK. - Apply the policy
Close the Group Policy Editor. Open an elevated Command Prompt (right-click Start > Windows Terminal Admin). Typegpupdate /forceand press Enter. Wait for the update to complete. - Test the fix
Launch Edge Canary. If the policy is working, you will see a message that the installation is blocked. Your Stable profile remains untouched.
Method 3: Uninstall and Reinstall Edge Canary With a Clean Profile Path
If the overwrite persists, a clean reinstall of Canary with a manually created profile folder can resolve the issue.
- Uninstall Edge Canary
Press Windows+I to open Settings. Go to Apps > Installed apps. Find Microsoft Edge Canary, click the three-dot menu, and select Uninstall. Confirm the uninstall. - Delete the leftover Canary profile folder
Press Windows+R, type%LOCALAPPDATA%\Microsoft\Edge SxS, and press Enter. Delete the entireEdge SxSfolder. If a file is in use, restart Windows and try again. - Create a dedicated Canary profile folder
Open File Explorer. Navigate toC:\. Right-click an empty area and select New > Folder. Name itEdgeCanaryProfile. - Reinstall Edge Canary
Go to the Microsoft Edge Insider download page and download the Canary channel installer. Run the installer. Do not launch Edge yet. - Apply the
--user-data-dirflag to the new installation
Follow Method 1 steps 2 through 4 to edit the shortcut for the newly installed Canary. UseC:\EdgeCanaryProfileas the target folder. - Launch Canary from the edited shortcut
Double-click the edited desktop shortcut. Canary creates a fresh profile inC:\EdgeCanaryProfile. Your Stable profile at%LOCALAPPDATA%\Microsoft\Edge\User Datais now isolated.
If Edge Stable Profile Data Is Already Lost
If you already lost bookmarks or passwords, try these recovery steps before applying any fix.
Restore From a Windows Backup
Open Control Panel > System and Security > Backup and Restore (Windows 7). Click Restore my files. Browse for a backup of %LOCALAPPDATA%\Microsoft\Edge\User Data\Default. If a backup exists, restore the entire Default folder to its original location.
Use a System Restore Point
Press Windows+R, type rstrui, and press Enter. Select a restore point created before the overwrite occurred. Click Next and Finish. This rolls back the Edge profile folder to its previous state.
Sync Recovery From Microsoft Account
If you had sync enabled on Edge Stable, sign in to your Microsoft account on a different device or a new Edge Stable installation. Go to Settings > Profiles > Sync. Turn on sync for bookmarks, passwords, and history. The data may restore from the cloud. Note that sync may have also been overwritten if Canary was syncing to the same account.
Edge Stable vs Canary Profile Folder Behavior on Windows 11
| Item | Edge Stable | Edge Canary (default) |
|---|---|---|
| Install location | C:\Program Files (x86)\Microsoft\Edge\Application |
C:\Program Files (x86)\Microsoft\Edge SxS\Application |
| Default user data folder | %LOCALAPPDATA%\Microsoft\Edge\User Data |
%LOCALAPPDATA%\Microsoft\Edge SxS\User Data |
| Profile overwrite risk | Target of the bug — data is overwritten by Canary | Source of the bug — writes to Stable folder instead of its own |
| Fix method | Isolate using --user-data-dir or Group Policy |
Apply --user-data-dir flag to shortcut |
| Sync recovery | Possible if sync was enabled before overwrite | Not recommended to sync until fix is applied |
You now have three methods to stop Edge Canary from overwriting your Stable profile data on Windows 11. The --user-data-dir flag is the fastest fix and works on all editions. After applying the flag, always launch Canary from the edited shortcut. If you already lost data, check Windows Backup or a system restore point before relying on cloud sync. As an advanced tip, create a scheduled task in Task Scheduler that runs robocopy daily to back up your Stable profile folder to a separate drive.