Problem:
A user's Chrome\Edge profile is being saved to a "Profile X" directory instead of the default directory. This in turn causes the user data not to be saved\restored via portability.
Resolution:
If a user is using a "Profile X" directory and you would like it reset to the default, on the next login,
BEFORE opening the browser:
Chrome:
- Delete "%LocalAppData%\Google\Chrome\User Data\Local State"
- Clear any existing data in "%LocalAppData%\Google\Chrome\User Data\Default\" but leave the directory.
- Copy "%LocalAppData%\Google\Chrome\User Data\Profile *\Bookmarks" to "%LocalAppData%\Google\Chrome\User Data\Default\Bookmarks"
- Open Chrome.
Edge:
- Delete "%LocalAppData%\Microsoft\Edge\User Data\Local State"
- Clear any existing data in "%LocalAppData%\Microsoft\Edge\User Data\Default\" but leave the directory.
- Copy "%LocalAppData%\Microsoft\Edge\User Data\Profile *\Bookmarks" to "%LocalAppData%\Microsoft\Edge\User Data\Default\Bookmarks"
- Open Edge.
If you need to save the different browser profiles:
- Download the linked jsons below
- Import the portability ruleset
- Rename the ruleset to your naming convention
- Add a portability rule to your config using the newly imported portability ruleset.
Currently the json rulesets are set to save "Profile 1".
If you need to save additional profiles, edit the json to reflect the browser profile you want to save.
For Example:
"Path": "Microsoft\\Edge\\User Data\\Profile 1\\*Preferences*" would be changed to "Path": "Microsoft\\Edge\\User Data\\Profile 2\\*Preferences*"
Afterwards, import the updated portability ruleset, rename it to your naming convention and add a portability rule to your config using the newly imported portability ruleset..