FireFox: Change Profile Directory

Post Reply
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

FireFox: Change Profile Directory

Post by tong »

FireFox: Change Profile Directory

1. Locate the current profile location.

Help > Troubleshooting Information > Profile Folder

2. Start the Profile Manager.

ThunderBird -P
FireFox -P

Edit profiles.ini

Firefox: %APPDATA%\Mozilla\Firefox
Thunderbird: %APPDATA%\Thunderbird
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: ThunderBird Setting

Post by tong »

snap3491.png snap3492.png snap3495.png
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: FireFox: Change Profile Directory

Post by tong »

FireFox : Change Profile Directory

Code: Select all

"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -no-remote  -profile "D:\data\Tong3"
"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -no-remote  -P "My Profile" 
Opening a new instance of your Mozilla application with another profile

When Firefox is running and you try to open another Firefox process, a new window is opened instead, in the already running process. You can use the -no-remote command line option to start a new Firefox process that is invisible to the first process. By using -no-remote along with the -P option to select a different profile, you can open multiple instances of Firefox at the same time, using separate profiles. Selecting a different profile from the one used in the first process is necessary because profiles are "locked" when in use.

Important: Never use -no-remote to start the "default" profile (the one that is set to open without asking when you launch Firefox). That's because when you launch Firefox, for example, by clicking a link in your mail program, you will get a "Firefox is already running but is not responding" message if the default profile is already in use. The solution is to always start the default profile normally and launch all others with -no-remote. Then it will work.
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: FireFox: Move Profile Location

Post by tong »

Chrome : Check User Data Dir

Code: Select all

chrome://version
Chrome : Default User Data Dir

Code: Select all

"C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data"
"%LOCALAPPDATA%\Google\Chrome\User Data"
Chrome : Set Default User Data Dir

Method A
Don't use --user-data-dir for the default user data dir . It may not open link from the other software.

Code: Select all

robocopy /e /copyall /move "C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data" "D:\data\Chrome"
mklink /d "C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data" "D:\data\Chrome"
Method B
Any --user-data-dir will not work anymore.

Code: Select all

reg add "HKLM\SOFTWARE\Policies\Google\Chrome" /v UserDataDir /t REG_SZ /d "D:\data\Chrome" /f

Chrome : Custom User Data Dir

Code: Select all

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="D:\data\Chrome.2"
Chrome : Choose Profile Dir

Code: Select all

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="User.2"
Examples

Code: Select all

D:\data\Chrome\Default
D:\data\Chrome\User.2
D:\data\Chrome\User.3
D:\data\Chrome.2\Default
D:\data\Chrome.2\User.2
D:\data\Chrome.2\User.3

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="User.2"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="User.3"

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="D:\data\Chrome.2" --profile-directory="Default"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="D:\data\Chrome.2" --profile-directory="User.2" 
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="D:\data\Chrome.2" --profile-directory="User.3"
You can edit profile lists in "D:\data\Chrome\Local State".

-new-window -start-maximized https://tiny.cc/xxx
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: FireFox: Change Profile Directory

Post by tong »

Chrome : How to move any profile to Default

1. Exit Chrome.
2. Backup the source profile folder. E.g. "D:\data\Chrome\Profile 2".
3. Copy the source profile folder to the Default folder. E.g. "D:\data\Chrome\Default".
4. Access Default profile by:

Code: Select all

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default"
In case of custom folders :

Code: Select all

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="D:\data\Chrome.2" --profile-directory="Default"
5. Exit Chrome.
6. Now you can delete the source profile.
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: FireFox: Change Profile Directory

Post by tong »

--new-window --start-maximized about:blank
Post Reply