I am using brave-v1.47.186-win32-x64.zip version, unzip and release it to D:\brave-v1.47.186-win32-x64\ directory, after running for a while, I found out that it will generate a profile file under %LOCALAPPDATA% directory, and the subdirectory of BraveSoftware\Brave-Browser\User Data will be created. Brave’s default startup option is --profile-directory=Default, after checking brave://profile-internals/ , the value of Profile Path is %LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default. If this is a non-installed version, why is the default profile directory still located in drive C: ? That is, %LOCALAPPDATA% is located in the disk drive? How can I change and relocate the profile directory?
So I don’t know the answer specifically but have a good ChatGPT reply below. I’ll tag in @Mattches just to see if he might be willing to fact check and/or provide a better answer. But in the meanwhile:
Answer as provided by ChatGPT
The reason the non-installed (portable) version of Brave still generates a profile in C:\%LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default is due to how Brave (and Chromium-based browsers in general) handle profile storage by default.
Why is the profile still created in C:?
Default Profile Directory: Even if you extract Brave to another drive, it still looks for user data in the default directory (%LOCALAPPDATA%) unless explicitly instructed otherwise.
Chromium’s Behavior: Brave follows Chromium’s convention of storing user profiles under the local app data folder unless overridden.
The --profile-directory=Default flag: This flag only controls which subdirectory within the profile path is used, not where the profile itself is stored.
How to Change the Profile Directory?
You need to explicitly tell Brave where to store its profile using the --user-data-dir flag.
Solution: Use Command-Line Argument
Create a shortcut for brave.exe in your extracted folder.
Right-click the shortcut and select Properties.
In the Target field, append the following argument:
This looks correct from what I can tell @Saoiray. Where the profile data is installed also depends on whether or not the browser was intsalled “as/by an admin”.