When I search for topics like moving chrome settings from one machine to another, I often see a references to the registry key HKEY_CURRENT_USER\Software\Google\Chrome\PreferenceMACs. Looking at it, I see directories corresponding to profiles. However, how does it actually work?
The reason I ask is, I use multiple user data directories and multiple profiles within them. The same profile name often shows up under multiple user data directories. So which profile's details actually gets written into the registry?
Let's take the following scenario - I have 2 different chrome browser instances running.
- "C:\Program Files\Google\Chrome\Application\chrome.exe" --user-data-dir="C:\chrome-profiles\work" --profile-directory=hs-main
- "C:\Program Files\Google\Chrome\Application\chrome.exe" --user-data-dir="C:\chrome-profiles\personal" --profile-directory=hs-main
Now, obviously, the registry has a key called hs-main. Is it the work's hs-main or personal's hs-main?
Doing a little bit of testing, it feels like the registry values keep getting overwritten over and over again, depending on which chrome instance was last closed.
So what's the point of the registry entry in the first place? What does it do, how does it affect Chrome's functionality?
EDIT: I am explicitly asking what happens if there are 2 identically named profile directories under different user directories, which is not at all covered in the question that this is marked as a duplicate of, and how to take backup in that case.
(Looks like someone did answer here , so I guess that's the answer, but I would still like to understand how the 2 questions are duplicates of each other)