Make Google chrome with specific user profile as default browser
Is it possible to set Google chrome with a custom user profile as the default browser?
When I set google chrome as the default browser, it picks the "default" user profile as against the custom one I have setup. I tried setting google chrome as default browser after opening it from that particular user profile, but it doesn't seem to have an effect.
I googled around but could only find another poor soul like myself who asked a similar question here: http://www.google.com/support/forum/p/Chrome/thread?tid=69f0a6e776ceab1c&hl=en
There weren't any responses to that question.
Cheers.
google-chrome user-profiles
|
show 1 more comment
Is it possible to set Google chrome with a custom user profile as the default browser?
When I set google chrome as the default browser, it picks the "default" user profile as against the custom one I have setup. I tried setting google chrome as default browser after opening it from that particular user profile, but it doesn't seem to have an effect.
I googled around but could only find another poor soul like myself who asked a similar question here: http://www.google.com/support/forum/p/Chrome/thread?tid=69f0a6e776ceab1c&hl=en
There weren't any responses to that question.
Cheers.
google-chrome user-profiles
2
I've asked the Ubuntu version of this question here askubuntu.com/questions/96804/…
– d3vid
Jan 19 '12 at 11:04
3
have you tried --profile-directory=Default? see superuser.com/questions/377186/…
– d3vid
Jan 4 '13 at 6:46
1
3 years have passed. Is there an updated solution to this question? I can't manage to find one yet
– Jess Stone
Dec 17 '13 at 9:38
@JessStone, 5 years has passed. What is Google doing?
– Pacerier
Jul 13 '15 at 6:17
1
An all answers below: Note that setting data dir in registry, makes Chrome ignore any data-dir parameter. Thus not so advisable. To make a certain profile „default“ but not „forced“, consider not using that key, but replacing the Default profile with a symbolic link instead.
– Frank Nocke
Mar 24 '16 at 9:50
|
show 1 more comment
Is it possible to set Google chrome with a custom user profile as the default browser?
When I set google chrome as the default browser, it picks the "default" user profile as against the custom one I have setup. I tried setting google chrome as default browser after opening it from that particular user profile, but it doesn't seem to have an effect.
I googled around but could only find another poor soul like myself who asked a similar question here: http://www.google.com/support/forum/p/Chrome/thread?tid=69f0a6e776ceab1c&hl=en
There weren't any responses to that question.
Cheers.
google-chrome user-profiles
Is it possible to set Google chrome with a custom user profile as the default browser?
When I set google chrome as the default browser, it picks the "default" user profile as against the custom one I have setup. I tried setting google chrome as default browser after opening it from that particular user profile, but it doesn't seem to have an effect.
I googled around but could only find another poor soul like myself who asked a similar question here: http://www.google.com/support/forum/p/Chrome/thread?tid=69f0a6e776ceab1c&hl=en
There weren't any responses to that question.
Cheers.
google-chrome user-profiles
google-chrome user-profiles
asked Feb 16 '10 at 15:22
Kaushik GopalKaushik Gopal
93941525
93941525
2
I've asked the Ubuntu version of this question here askubuntu.com/questions/96804/…
– d3vid
Jan 19 '12 at 11:04
3
have you tried --profile-directory=Default? see superuser.com/questions/377186/…
– d3vid
Jan 4 '13 at 6:46
1
3 years have passed. Is there an updated solution to this question? I can't manage to find one yet
– Jess Stone
Dec 17 '13 at 9:38
@JessStone, 5 years has passed. What is Google doing?
– Pacerier
Jul 13 '15 at 6:17
1
An all answers below: Note that setting data dir in registry, makes Chrome ignore any data-dir parameter. Thus not so advisable. To make a certain profile „default“ but not „forced“, consider not using that key, but replacing the Default profile with a symbolic link instead.
– Frank Nocke
Mar 24 '16 at 9:50
|
show 1 more comment
2
I've asked the Ubuntu version of this question here askubuntu.com/questions/96804/…
– d3vid
Jan 19 '12 at 11:04
3
have you tried --profile-directory=Default? see superuser.com/questions/377186/…
– d3vid
Jan 4 '13 at 6:46
1
3 years have passed. Is there an updated solution to this question? I can't manage to find one yet
– Jess Stone
Dec 17 '13 at 9:38
@JessStone, 5 years has passed. What is Google doing?
– Pacerier
Jul 13 '15 at 6:17
1
An all answers below: Note that setting data dir in registry, makes Chrome ignore any data-dir parameter. Thus not so advisable. To make a certain profile „default“ but not „forced“, consider not using that key, but replacing the Default profile with a symbolic link instead.
– Frank Nocke
Mar 24 '16 at 9:50
2
2
I've asked the Ubuntu version of this question here askubuntu.com/questions/96804/…
– d3vid
Jan 19 '12 at 11:04
I've asked the Ubuntu version of this question here askubuntu.com/questions/96804/…
– d3vid
Jan 19 '12 at 11:04
3
3
have you tried --profile-directory=Default? see superuser.com/questions/377186/…
– d3vid
Jan 4 '13 at 6:46
have you tried --profile-directory=Default? see superuser.com/questions/377186/…
– d3vid
Jan 4 '13 at 6:46
1
1
3 years have passed. Is there an updated solution to this question? I can't manage to find one yet
– Jess Stone
Dec 17 '13 at 9:38
3 years have passed. Is there an updated solution to this question? I can't manage to find one yet
– Jess Stone
Dec 17 '13 at 9:38
@JessStone, 5 years has passed. What is Google doing?
– Pacerier
Jul 13 '15 at 6:17
@JessStone, 5 years has passed. What is Google doing?
– Pacerier
Jul 13 '15 at 6:17
1
1
An all answers below: Note that setting data dir in registry, makes Chrome ignore any data-dir parameter. Thus not so advisable. To make a certain profile „default“ but not „forced“, consider not using that key, but replacing the Default profile with a symbolic link instead.
– Frank Nocke
Mar 24 '16 at 9:50
An all answers below: Note that setting data dir in registry, makes Chrome ignore any data-dir parameter. Thus not so advisable. To make a certain profile „default“ but not „forced“, consider not using that key, but replacing the Default profile with a symbolic link instead.
– Frank Nocke
Mar 24 '16 at 9:50
|
show 1 more comment
17 Answers
17
active
oldest
votes
I did a search and replace of all the occurrences of chrome.exe
in my registry with the specific command link. So,
"C:UsersPROFILE-NAMEAppDataLocalGoogleChromeApplicationchrome.exe" -- "%1"
was replaced with
"C:UsersPROFILE-NAMEAppDataLocalGoogleChromeApplicationchrome.exe" --user-data-dir="C:Chrome Profile location" --omnibox-popup-count=10 -- "%1"
everywhere and so far haven't run into any troubles. But there should definitely be a more easier/elegant way of doing this.
3
If using the native Chrome multi-user support, you'll want to instead use --profile-directory="Default", per superuser.com/questions/377186/…
– Walter Mundt
Oct 17 '13 at 20:59
Does this kind of hack still work for you?
– Alex S
Aug 26 '15 at 13:30
--omnibox-popup-count parameter is certainly not related, whatever it does. The omnibox is the fancy name for the address bar in chrome.
– Jacque Goupil
Dec 13 '17 at 19:03
add a comment |
Add a key of type REG_SZ
(string) called UserDataDir
under
HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
with the value of the user-data-dir that you'd like to use. The can be done with a single command line from the Command Prompt, as follows:
reg add "HKLMSOFTWAREPoliciesGoogleChrome" /v UserDataDir /t REG_SZ /d "C:UsersUser1chrome-profile" /f
The profile specified will be used as the default when Chrome is launched. This is confirmed to work in the current version of Chrome as of this writing -- version 70. The UserDataDir
key was introduced to Chrome in version 11.
This way you don't have to use any command line arguments to chrome.exe and so you don't need to change the shell handlers for the various file types that chrome opens.
Looks promising; any idea what the equivalent on OSX is?
– mklement0
Nov 3 '12 at 15:03
1
Unfortunately this registry key has precedence over the--user-data-dir
command-line option so you won't be able to use different profiles
– GetFree
Dec 13 '13 at 21:44
This just changes the default location where profiles are stored. it does not change what profile is used. this does not answer the question asked.
– tlund
Nov 14 '15 at 17:14
1
This question is still valid today, so I've verified some of the information, confirmed the fix works on version 47 (current), and added a command to help with entering the registry key.
– treehead
Jan 14 '16 at 16:04
@GetFree Same experience. Not that this helps, but it's documented behaviour
– Frank Nocke
Mar 24 '16 at 9:34
add a comment |
The Solution that works for me is to
Open Regedit
Navigate to HKEY_CLASSES_ROOTChromeHTMLshellopencommand
Edit Default key Value to add --profile-directory
varaible
i.e.
Modify Default key Value data as:
"< path to Chrome.exe >chrome.exe" --profile-directory="< *name of your default directory* >"
-- "%1"
1
If you have shortcuts to different "Persons"/Profiles, but want the default handler for links from external profiles to always go to one of them, then this is the best & sufficient answer. Thank you!
– sparrowt
Sep 6 '16 at 7:00
add a comment |
There's an explanation of how to use multiple Chrome profiles here.
The gist of it is to look inside
%USERPROFILE%Local SettingsApplication DataGoogleChrome
(Windows XP)
or
%USERPROFILE%AppDataLocalGoogleChrome
(Vista, Win7)
and copy the "User DataDefault" folder to "User Datayour_profile".
Then run chrome with some command-line options:
chrome.exe --user-data-dir="..User DataYour_profile" -first-run
and thereafter, you can run Chrome with that profile by using:
chrome.exe --user-data-dir="..User DataYour_Name"
And you can add that --user-data-dir
option to a shortcut.
Now how you would use that setup for the default browser, I don't know. Might involve some tinkering in the Registry, around HKEY_CLASSES_ROOThtmlfileshell
add a comment |
I adopted the solution proposed by Rehan Khwaja above. Following the steps below will make Chrome launch from your new user location, you DO NOT need to edit shortcuts or any of that.
My exact steps were:
1. Create the folder structure you want use, for instance:
Y:ProfilesChromeMyUserDataProfile
2. Follow Rehan Khwaja's steps in the registry by opening registry editor and creating this structure:
HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
(I had to add the GoogleChrome part as follows)
a) Right click on 'Policies' in the left pane of the registry editor
b) Select 'New Key' and call it: Google
c) Left click on your new key called Google (in the left pane of the registry editor, might have a folder icon next to it)
d) Now repeat steps a to c but left clicking on: Google, and creating a new key called: Chrome
3. Once you have the key called Chrome:
a) left click on it in the left pane of registry editor
b) right click in the RIGHT pane, and
c) Select: New > String Value
d) Name the string value: UserDataDir
e) Right click on your newly created UserDataDir
f) Select modify...
g) Under Value Data enter the path of your folder structure, for instance:
Y:ProfilesChromeMyUserDataProfile
h) Select Ok
i) Close registry editor
Google Chrome will now launch from:
Y:ProfilesChromeMyUserDataProfile
(by default, using all your standard shortcuts without having to edit their path's etc).
If you want to replicate your existing browsing environment in this new profile location, you can copy the entire contents of your old profile (or Chrome's default one) into your new path.
Windows 7 or 8 - Default Chrome Install
Copy everything from:
%USERPROFILE%AppDataLocalGoogleChromeUserData
into
Y:ProfilesChromeMyUserDataProfile
If you want to launch Chrome from different profiles with separate shortcuts for each, you will have make the shortcuts and edit the path's etc (as suggested in other posts).
add a comment |
Windows Solution
If you are using --user-data-dir for your shortcuts already, then this is what you're looking for.
This will make http:// and https:// links in other applications (eg. Skype) open in Chrome with the profile specified.
Open Regedit (Run / WIN + R, type regedit, press enter)
Locate the following keys:
- HKEY_CLASSES_ROOThttpshellopencommand
- HKEY_CLASSES_ROOThttpsshellopencommand
Edit the (Default) values of these keys to this:
"YOUR_CHROME_PATH_HERE" --user-data-dir="YOUR_USER_DATA_PATH_HERE" -- "%1"
Replace YOUR_CHROME_PATH_HERE with your Chrome.exe path, eg.
C:Program Files (x86)GoogleChromeApplicationchrome.exe
Replace YOUR_USER_DATA_PATH_HERE with your Chrome User Data Folder, eg.
P:LibrariesChrome Profile
The default Chrome User Data Folder is located in
%LOCALAPPDATA%GoogleChromeUser Data
Note: Can't use %variable% in Regedit.
Is this method official? How safe is this?
– Pacerier
Jul 13 '15 at 6:19
1
All the boldz and capz.... urghhhhhhh...
– Crowie
Jun 9 '16 at 23:25
@Pacerier I know it was a year ago but can you be specific about what 'official' recommendations you would like? By Google, Microsoft or Kaspersky software... or Knuth? [genuinely asking]
– Crowie
Jun 9 '16 at 23:27
add a comment |
The way I get around this is
If you want to open a particular profile rather than Chrome picking up the last open profile:
Follow the steps mentioned here to create a custom icon for your profile : https://superuser.com/a/723145/84229
Open whichever profile you want with the corresponding icon.
If you are concerned about which profile is picked up by an external program
Swap the names of
Default
&Profile 1
directories here%LOCALAPPDATA%GoogleChromeUser Data
i.e. rename
Default
toDefaultTmp
, renameProfile 1
toDefault
, renameDefaultTmp
toProfile 1
add a comment |
For multiuser systems with roaming profiles (ie. Terminal Server)
use:
reg add "HKLMSOFTWAREPoliciesGoogleChrome" /v UserDataDir /t REG_SZ /d ${roaming_app_data}Chrome /f
environment variable %appdata% wont work via registry.
So use ${roaming_app_data} instead.
add a comment |
There is a setting within a global preferences file in the Chrome AppData directory that updates a "last_used" variable with the most recently used profile. You can reset/override this setting by setting it to your desired profile and it should simply use the profile you specified on the next app open. Otherwise using --profile-directory="Default"
or --profile-directory="Profile 1"
on your shortcuts will force a new window using that profile. You should NOT use --user-data-directory
, as that is something completely different (sets/overrides the cache and settings directory path which the profile should already have defaults for).
The file mentioned above is the Local State file, which you could potentially parse to replace whatever profile is selected as the last used with your desired profile. See https://superuser.com/a/436262/333828
add a comment |
I have a solution for MacOSX. I have used an Automator to create Folder Action on ~/Library/Application Support/Google/Chrome. When the Chrome application quits, it creates some unimportant shutdown file in this directory. This triggers a folder action. If the last profile used was not the Default it runs this script, to modify saved profile:
cd ~/Library/Application Support/Google/Chrome
if ! grep '"last_used": "Default"' Local State >/dev/null; then
sed -e 's/"last_used":.*/"last_used": "Default",/'
-e 's/"last_active_profiles":.*/"last_active_profiles": [ "Default" ],/'
-i .bak Local State
say "Chrome Default Profile Set"
fi
Next time you start Chrome (anyhow), it will start with the Default profile.
add a comment |
For the sake of completeness, I'll add another solution which aparently did work in the past, but at least for me (WinVista, Chrome 31) does not.
http://productforums.google.com/forum/#!topic/chrome/4F9bjXogI0s
The solution is to make the User Data
folder a hard-link (an NTFS junction) to your actual profile folder, like this:
mklink /J "C:Users<user_name>AppDataLocalGoogleChromeUser Data" "C:myDefaultGoogleProfile"
add a comment |
- Open Chrome
- Top right corner of the browser click the icon that looks like three horizontal lines and in the drop down menu select "Settings."
- Select "DISCONNECT YOUR GOOGLE ACCOUNT" at the top of the screen that appears.
- Click through the prompts to complete the account removal process.
- When there are no accounts associated with Chrome re-add the account you want to use as the default one FIRST then any subsequent accounts you want after that.
- That is what I did to make MY preferred user profile be the one active when launching Chrome.
Question is about making Chrome Default Browser with specific profile not a particular profile default
– pun
Jan 16 '16 at 5:28
add a comment |
For Windows 10, I modified the following registry keys:
HKEY_CLASSES_ROOThttpshellopencommand
HKEY_CLASSES_ROOThttpsshellopencommand
HKEY_CLASSES_ROOTChromeHTMLshellopencommand
All with this value:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default" -- "%1"
And just an extra note, none of it worked until I modified the last key (the third above) HKEY_CLASSES_ROOTChromeHTMLshellopencommand
, so that may be all that was needed. I only found that key because of this answer.
add a comment |
There are a lot of answers here but most of them seem to use HKEY_CLASSES_ROOT
. This is a legacy key and really shouldn't be used any longer (to put into perspective, HKEY_CLASSES_ROOT
comes from Windows 3.1 and was intended for backward compatibility). The correct place to make these changes is under HKEY_CURRENT_USERSoftwareClasses
.
As mentioned all over the place here, Chrome stores each "profile" in its own directory. When launching, the --profile-directory
command-line switch can be used to select a specific profile directory. Without this switch, Chrome will simply use whichever profile was last used. The default profile (the first user you logged in as after installing chrome) is always stored in the directory "default".
The simplest method for setting a profile is to simply edit Chrome's shortcut and add the command-line parameter --profile-directory="default"
:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default"
The downside with this approach is that it only affects the shortcut itself. If Chrome is your default browser, and another application opens a page, this will have no effect. Similarly, if you associate a local file extension with Chrome, it will not affect which profile is selected when opening that file type from Windows Explorer.
The fix for this is to specify the profile to use in the Windows Registry. In order for this to work for both mapped extensions and shell execution, we need to make a change in two different places:
HKEY_CURRENT_USERSoftwareClassesApplicationschrome.exeshellopencommand
HKEY_LOCAL_MACHINESOFTWAREClassesChromeHTMLshellopencommand
The default value for both of these are the same:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" -- "%1"
Just as with the Shortcut method discussed previously, we simply need to add the --profile-directory="default"
switch. One difference, however, it that here we need to add it between "chrome.exe"
and -- "%1"
:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default" -- "%1"
For a quick-n-dirty solution, create a file called ChromeDefault.reg
and copy & paste the following into it:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareClassesApplicationschrome.exeshellopencommand]
@=""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default" -- "%1""
[HKEY_LOCAL_MACHINESOFTWAREClassesChromeHTMLshellopencommand]
@=""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default" -- "%1""
Once saved, double-clicking this file will automatically make the necessary changes to your registry. This simply saves you the trouble of walking through the tree in RegEdit.
add a comment |
I found an easy solution to this. I'm running Chrome Version 33.0.1750.117 m. I found that when I open my 2nd profile, Chrome creates another task in the Windows 8 task bar and the new Chrome task has a barely perceptible icon difference, it has the profile picture you've chosen for your new profile. In my case, there's a tiny Superman on the lower right corner of the Chrome icon.
Simply pin that icon to to your task bar and unpin the old icon.
I have tested this and it works for me. Even if the last instance of Chrome I close out is the old profile (which I am retaining), the new profile is opened when I open Chrome.
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Mar 29 '16 at 0:17
add a comment |
It's way easier than that -- just go into the Chrome users, click on the user you want to be default, and click the "Edit" button. Then, click to create a desktop shortcut that will make a shortcut straight to that user. Bingo!
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Nov 14 '15 at 17:12
add a comment |
No way to do it. Chrome always opens any external link from the active user or the last user you have switched to.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: false,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f109589%2fmake-google-chrome-with-specific-user-profile-as-default-browser%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
StackExchange.ready(function () {
$("#show-editor-button input, #show-editor-button button").click(function () {
var showEditor = function() {
$("#show-editor-button").hide();
$("#post-form").removeClass("dno");
StackExchange.editor.finallyInit();
};
var useFancy = $(this).data('confirm-use-fancy');
if(useFancy == 'True') {
var popupTitle = $(this).data('confirm-fancy-title');
var popupBody = $(this).data('confirm-fancy-body');
var popupAccept = $(this).data('confirm-fancy-accept-button');
$(this).loadPopup({
url: '/post/self-answer-popup',
loaded: function(popup) {
var pTitle = $(popup).find('h2');
var pBody = $(popup).find('.popup-body');
var pSubmit = $(popup).find('.popup-submit');
pTitle.text(popupTitle);
pBody.html(popupBody);
pSubmit.val(popupAccept).click(showEditor);
}
})
} else{
var confirmText = $(this).data('confirm-text');
if (confirmText ? confirm(confirmText) : true) {
showEditor();
}
}
});
});
17 Answers
17
active
oldest
votes
17 Answers
17
active
oldest
votes
active
oldest
votes
active
oldest
votes
I did a search and replace of all the occurrences of chrome.exe
in my registry with the specific command link. So,
"C:UsersPROFILE-NAMEAppDataLocalGoogleChromeApplicationchrome.exe" -- "%1"
was replaced with
"C:UsersPROFILE-NAMEAppDataLocalGoogleChromeApplicationchrome.exe" --user-data-dir="C:Chrome Profile location" --omnibox-popup-count=10 -- "%1"
everywhere and so far haven't run into any troubles. But there should definitely be a more easier/elegant way of doing this.
3
If using the native Chrome multi-user support, you'll want to instead use --profile-directory="Default", per superuser.com/questions/377186/…
– Walter Mundt
Oct 17 '13 at 20:59
Does this kind of hack still work for you?
– Alex S
Aug 26 '15 at 13:30
--omnibox-popup-count parameter is certainly not related, whatever it does. The omnibox is the fancy name for the address bar in chrome.
– Jacque Goupil
Dec 13 '17 at 19:03
add a comment |
I did a search and replace of all the occurrences of chrome.exe
in my registry with the specific command link. So,
"C:UsersPROFILE-NAMEAppDataLocalGoogleChromeApplicationchrome.exe" -- "%1"
was replaced with
"C:UsersPROFILE-NAMEAppDataLocalGoogleChromeApplicationchrome.exe" --user-data-dir="C:Chrome Profile location" --omnibox-popup-count=10 -- "%1"
everywhere and so far haven't run into any troubles. But there should definitely be a more easier/elegant way of doing this.
3
If using the native Chrome multi-user support, you'll want to instead use --profile-directory="Default", per superuser.com/questions/377186/…
– Walter Mundt
Oct 17 '13 at 20:59
Does this kind of hack still work for you?
– Alex S
Aug 26 '15 at 13:30
--omnibox-popup-count parameter is certainly not related, whatever it does. The omnibox is the fancy name for the address bar in chrome.
– Jacque Goupil
Dec 13 '17 at 19:03
add a comment |
I did a search and replace of all the occurrences of chrome.exe
in my registry with the specific command link. So,
"C:UsersPROFILE-NAMEAppDataLocalGoogleChromeApplicationchrome.exe" -- "%1"
was replaced with
"C:UsersPROFILE-NAMEAppDataLocalGoogleChromeApplicationchrome.exe" --user-data-dir="C:Chrome Profile location" --omnibox-popup-count=10 -- "%1"
everywhere and so far haven't run into any troubles. But there should definitely be a more easier/elegant way of doing this.
I did a search and replace of all the occurrences of chrome.exe
in my registry with the specific command link. So,
"C:UsersPROFILE-NAMEAppDataLocalGoogleChromeApplicationchrome.exe" -- "%1"
was replaced with
"C:UsersPROFILE-NAMEAppDataLocalGoogleChromeApplicationchrome.exe" --user-data-dir="C:Chrome Profile location" --omnibox-popup-count=10 -- "%1"
everywhere and so far haven't run into any troubles. But there should definitely be a more easier/elegant way of doing this.
edited Jul 22 '12 at 1:56
slhck
161k47446468
161k47446468
answered Feb 16 '10 at 15:42
Kaushik GopalKaushik Gopal
93941525
93941525
3
If using the native Chrome multi-user support, you'll want to instead use --profile-directory="Default", per superuser.com/questions/377186/…
– Walter Mundt
Oct 17 '13 at 20:59
Does this kind of hack still work for you?
– Alex S
Aug 26 '15 at 13:30
--omnibox-popup-count parameter is certainly not related, whatever it does. The omnibox is the fancy name for the address bar in chrome.
– Jacque Goupil
Dec 13 '17 at 19:03
add a comment |
3
If using the native Chrome multi-user support, you'll want to instead use --profile-directory="Default", per superuser.com/questions/377186/…
– Walter Mundt
Oct 17 '13 at 20:59
Does this kind of hack still work for you?
– Alex S
Aug 26 '15 at 13:30
--omnibox-popup-count parameter is certainly not related, whatever it does. The omnibox is the fancy name for the address bar in chrome.
– Jacque Goupil
Dec 13 '17 at 19:03
3
3
If using the native Chrome multi-user support, you'll want to instead use --profile-directory="Default", per superuser.com/questions/377186/…
– Walter Mundt
Oct 17 '13 at 20:59
If using the native Chrome multi-user support, you'll want to instead use --profile-directory="Default", per superuser.com/questions/377186/…
– Walter Mundt
Oct 17 '13 at 20:59
Does this kind of hack still work for you?
– Alex S
Aug 26 '15 at 13:30
Does this kind of hack still work for you?
– Alex S
Aug 26 '15 at 13:30
--omnibox-popup-count parameter is certainly not related, whatever it does. The omnibox is the fancy name for the address bar in chrome.
– Jacque Goupil
Dec 13 '17 at 19:03
--omnibox-popup-count parameter is certainly not related, whatever it does. The omnibox is the fancy name for the address bar in chrome.
– Jacque Goupil
Dec 13 '17 at 19:03
add a comment |
Add a key of type REG_SZ
(string) called UserDataDir
under
HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
with the value of the user-data-dir that you'd like to use. The can be done with a single command line from the Command Prompt, as follows:
reg add "HKLMSOFTWAREPoliciesGoogleChrome" /v UserDataDir /t REG_SZ /d "C:UsersUser1chrome-profile" /f
The profile specified will be used as the default when Chrome is launched. This is confirmed to work in the current version of Chrome as of this writing -- version 70. The UserDataDir
key was introduced to Chrome in version 11.
This way you don't have to use any command line arguments to chrome.exe and so you don't need to change the shell handlers for the various file types that chrome opens.
Looks promising; any idea what the equivalent on OSX is?
– mklement0
Nov 3 '12 at 15:03
1
Unfortunately this registry key has precedence over the--user-data-dir
command-line option so you won't be able to use different profiles
– GetFree
Dec 13 '13 at 21:44
This just changes the default location where profiles are stored. it does not change what profile is used. this does not answer the question asked.
– tlund
Nov 14 '15 at 17:14
1
This question is still valid today, so I've verified some of the information, confirmed the fix works on version 47 (current), and added a command to help with entering the registry key.
– treehead
Jan 14 '16 at 16:04
@GetFree Same experience. Not that this helps, but it's documented behaviour
– Frank Nocke
Mar 24 '16 at 9:34
add a comment |
Add a key of type REG_SZ
(string) called UserDataDir
under
HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
with the value of the user-data-dir that you'd like to use. The can be done with a single command line from the Command Prompt, as follows:
reg add "HKLMSOFTWAREPoliciesGoogleChrome" /v UserDataDir /t REG_SZ /d "C:UsersUser1chrome-profile" /f
The profile specified will be used as the default when Chrome is launched. This is confirmed to work in the current version of Chrome as of this writing -- version 70. The UserDataDir
key was introduced to Chrome in version 11.
This way you don't have to use any command line arguments to chrome.exe and so you don't need to change the shell handlers for the various file types that chrome opens.
Looks promising; any idea what the equivalent on OSX is?
– mklement0
Nov 3 '12 at 15:03
1
Unfortunately this registry key has precedence over the--user-data-dir
command-line option so you won't be able to use different profiles
– GetFree
Dec 13 '13 at 21:44
This just changes the default location where profiles are stored. it does not change what profile is used. this does not answer the question asked.
– tlund
Nov 14 '15 at 17:14
1
This question is still valid today, so I've verified some of the information, confirmed the fix works on version 47 (current), and added a command to help with entering the registry key.
– treehead
Jan 14 '16 at 16:04
@GetFree Same experience. Not that this helps, but it's documented behaviour
– Frank Nocke
Mar 24 '16 at 9:34
add a comment |
Add a key of type REG_SZ
(string) called UserDataDir
under
HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
with the value of the user-data-dir that you'd like to use. The can be done with a single command line from the Command Prompt, as follows:
reg add "HKLMSOFTWAREPoliciesGoogleChrome" /v UserDataDir /t REG_SZ /d "C:UsersUser1chrome-profile" /f
The profile specified will be used as the default when Chrome is launched. This is confirmed to work in the current version of Chrome as of this writing -- version 70. The UserDataDir
key was introduced to Chrome in version 11.
This way you don't have to use any command line arguments to chrome.exe and so you don't need to change the shell handlers for the various file types that chrome opens.
Add a key of type REG_SZ
(string) called UserDataDir
under
HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
with the value of the user-data-dir that you'd like to use. The can be done with a single command line from the Command Prompt, as follows:
reg add "HKLMSOFTWAREPoliciesGoogleChrome" /v UserDataDir /t REG_SZ /d "C:UsersUser1chrome-profile" /f
The profile specified will be used as the default when Chrome is launched. This is confirmed to work in the current version of Chrome as of this writing -- version 70. The UserDataDir
key was introduced to Chrome in version 11.
This way you don't have to use any command line arguments to chrome.exe and so you don't need to change the shell handlers for the various file types that chrome opens.
edited Jan 4 at 20:49
answered Sep 6 '12 at 17:17
Rehan KhwajaRehan Khwaja
20625
20625
Looks promising; any idea what the equivalent on OSX is?
– mklement0
Nov 3 '12 at 15:03
1
Unfortunately this registry key has precedence over the--user-data-dir
command-line option so you won't be able to use different profiles
– GetFree
Dec 13 '13 at 21:44
This just changes the default location where profiles are stored. it does not change what profile is used. this does not answer the question asked.
– tlund
Nov 14 '15 at 17:14
1
This question is still valid today, so I've verified some of the information, confirmed the fix works on version 47 (current), and added a command to help with entering the registry key.
– treehead
Jan 14 '16 at 16:04
@GetFree Same experience. Not that this helps, but it's documented behaviour
– Frank Nocke
Mar 24 '16 at 9:34
add a comment |
Looks promising; any idea what the equivalent on OSX is?
– mklement0
Nov 3 '12 at 15:03
1
Unfortunately this registry key has precedence over the--user-data-dir
command-line option so you won't be able to use different profiles
– GetFree
Dec 13 '13 at 21:44
This just changes the default location where profiles are stored. it does not change what profile is used. this does not answer the question asked.
– tlund
Nov 14 '15 at 17:14
1
This question is still valid today, so I've verified some of the information, confirmed the fix works on version 47 (current), and added a command to help with entering the registry key.
– treehead
Jan 14 '16 at 16:04
@GetFree Same experience. Not that this helps, but it's documented behaviour
– Frank Nocke
Mar 24 '16 at 9:34
Looks promising; any idea what the equivalent on OSX is?
– mklement0
Nov 3 '12 at 15:03
Looks promising; any idea what the equivalent on OSX is?
– mklement0
Nov 3 '12 at 15:03
1
1
Unfortunately this registry key has precedence over the
--user-data-dir
command-line option so you won't be able to use different profiles– GetFree
Dec 13 '13 at 21:44
Unfortunately this registry key has precedence over the
--user-data-dir
command-line option so you won't be able to use different profiles– GetFree
Dec 13 '13 at 21:44
This just changes the default location where profiles are stored. it does not change what profile is used. this does not answer the question asked.
– tlund
Nov 14 '15 at 17:14
This just changes the default location where profiles are stored. it does not change what profile is used. this does not answer the question asked.
– tlund
Nov 14 '15 at 17:14
1
1
This question is still valid today, so I've verified some of the information, confirmed the fix works on version 47 (current), and added a command to help with entering the registry key.
– treehead
Jan 14 '16 at 16:04
This question is still valid today, so I've verified some of the information, confirmed the fix works on version 47 (current), and added a command to help with entering the registry key.
– treehead
Jan 14 '16 at 16:04
@GetFree Same experience. Not that this helps, but it's documented behaviour
– Frank Nocke
Mar 24 '16 at 9:34
@GetFree Same experience. Not that this helps, but it's documented behaviour
– Frank Nocke
Mar 24 '16 at 9:34
add a comment |
The Solution that works for me is to
Open Regedit
Navigate to HKEY_CLASSES_ROOTChromeHTMLshellopencommand
Edit Default key Value to add --profile-directory
varaible
i.e.
Modify Default key Value data as:
"< path to Chrome.exe >chrome.exe" --profile-directory="< *name of your default directory* >"
-- "%1"
1
If you have shortcuts to different "Persons"/Profiles, but want the default handler for links from external profiles to always go to one of them, then this is the best & sufficient answer. Thank you!
– sparrowt
Sep 6 '16 at 7:00
add a comment |
The Solution that works for me is to
Open Regedit
Navigate to HKEY_CLASSES_ROOTChromeHTMLshellopencommand
Edit Default key Value to add --profile-directory
varaible
i.e.
Modify Default key Value data as:
"< path to Chrome.exe >chrome.exe" --profile-directory="< *name of your default directory* >"
-- "%1"
1
If you have shortcuts to different "Persons"/Profiles, but want the default handler for links from external profiles to always go to one of them, then this is the best & sufficient answer. Thank you!
– sparrowt
Sep 6 '16 at 7:00
add a comment |
The Solution that works for me is to
Open Regedit
Navigate to HKEY_CLASSES_ROOTChromeHTMLshellopencommand
Edit Default key Value to add --profile-directory
varaible
i.e.
Modify Default key Value data as:
"< path to Chrome.exe >chrome.exe" --profile-directory="< *name of your default directory* >"
-- "%1"
The Solution that works for me is to
Open Regedit
Navigate to HKEY_CLASSES_ROOTChromeHTMLshellopencommand
Edit Default key Value to add --profile-directory
varaible
i.e.
Modify Default key Value data as:
"< path to Chrome.exe >chrome.exe" --profile-directory="< *name of your default directory* >"
-- "%1"
edited Sep 15 '14 at 7:54
answered Sep 15 '14 at 7:49
VinodVinod
5112
5112
1
If you have shortcuts to different "Persons"/Profiles, but want the default handler for links from external profiles to always go to one of them, then this is the best & sufficient answer. Thank you!
– sparrowt
Sep 6 '16 at 7:00
add a comment |
1
If you have shortcuts to different "Persons"/Profiles, but want the default handler for links from external profiles to always go to one of them, then this is the best & sufficient answer. Thank you!
– sparrowt
Sep 6 '16 at 7:00
1
1
If you have shortcuts to different "Persons"/Profiles, but want the default handler for links from external profiles to always go to one of them, then this is the best & sufficient answer. Thank you!
– sparrowt
Sep 6 '16 at 7:00
If you have shortcuts to different "Persons"/Profiles, but want the default handler for links from external profiles to always go to one of them, then this is the best & sufficient answer. Thank you!
– sparrowt
Sep 6 '16 at 7:00
add a comment |
There's an explanation of how to use multiple Chrome profiles here.
The gist of it is to look inside
%USERPROFILE%Local SettingsApplication DataGoogleChrome
(Windows XP)
or
%USERPROFILE%AppDataLocalGoogleChrome
(Vista, Win7)
and copy the "User DataDefault" folder to "User Datayour_profile".
Then run chrome with some command-line options:
chrome.exe --user-data-dir="..User DataYour_profile" -first-run
and thereafter, you can run Chrome with that profile by using:
chrome.exe --user-data-dir="..User DataYour_Name"
And you can add that --user-data-dir
option to a shortcut.
Now how you would use that setup for the default browser, I don't know. Might involve some tinkering in the Registry, around HKEY_CLASSES_ROOThtmlfileshell
add a comment |
There's an explanation of how to use multiple Chrome profiles here.
The gist of it is to look inside
%USERPROFILE%Local SettingsApplication DataGoogleChrome
(Windows XP)
or
%USERPROFILE%AppDataLocalGoogleChrome
(Vista, Win7)
and copy the "User DataDefault" folder to "User Datayour_profile".
Then run chrome with some command-line options:
chrome.exe --user-data-dir="..User DataYour_profile" -first-run
and thereafter, you can run Chrome with that profile by using:
chrome.exe --user-data-dir="..User DataYour_Name"
And you can add that --user-data-dir
option to a shortcut.
Now how you would use that setup for the default browser, I don't know. Might involve some tinkering in the Registry, around HKEY_CLASSES_ROOThtmlfileshell
add a comment |
There's an explanation of how to use multiple Chrome profiles here.
The gist of it is to look inside
%USERPROFILE%Local SettingsApplication DataGoogleChrome
(Windows XP)
or
%USERPROFILE%AppDataLocalGoogleChrome
(Vista, Win7)
and copy the "User DataDefault" folder to "User Datayour_profile".
Then run chrome with some command-line options:
chrome.exe --user-data-dir="..User DataYour_profile" -first-run
and thereafter, you can run Chrome with that profile by using:
chrome.exe --user-data-dir="..User DataYour_Name"
And you can add that --user-data-dir
option to a shortcut.
Now how you would use that setup for the default browser, I don't know. Might involve some tinkering in the Registry, around HKEY_CLASSES_ROOThtmlfileshell
There's an explanation of how to use multiple Chrome profiles here.
The gist of it is to look inside
%USERPROFILE%Local SettingsApplication DataGoogleChrome
(Windows XP)
or
%USERPROFILE%AppDataLocalGoogleChrome
(Vista, Win7)
and copy the "User DataDefault" folder to "User Datayour_profile".
Then run chrome with some command-line options:
chrome.exe --user-data-dir="..User DataYour_profile" -first-run
and thereafter, you can run Chrome with that profile by using:
chrome.exe --user-data-dir="..User DataYour_Name"
And you can add that --user-data-dir
option to a shortcut.
Now how you would use that setup for the default browser, I don't know. Might involve some tinkering in the Registry, around HKEY_CLASSES_ROOThtmlfileshell
edited Feb 16 '10 at 15:44
answered Feb 16 '10 at 15:37
njdnjd
9,16313034
9,16313034
add a comment |
add a comment |
I adopted the solution proposed by Rehan Khwaja above. Following the steps below will make Chrome launch from your new user location, you DO NOT need to edit shortcuts or any of that.
My exact steps were:
1. Create the folder structure you want use, for instance:
Y:ProfilesChromeMyUserDataProfile
2. Follow Rehan Khwaja's steps in the registry by opening registry editor and creating this structure:
HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
(I had to add the GoogleChrome part as follows)
a) Right click on 'Policies' in the left pane of the registry editor
b) Select 'New Key' and call it: Google
c) Left click on your new key called Google (in the left pane of the registry editor, might have a folder icon next to it)
d) Now repeat steps a to c but left clicking on: Google, and creating a new key called: Chrome
3. Once you have the key called Chrome:
a) left click on it in the left pane of registry editor
b) right click in the RIGHT pane, and
c) Select: New > String Value
d) Name the string value: UserDataDir
e) Right click on your newly created UserDataDir
f) Select modify...
g) Under Value Data enter the path of your folder structure, for instance:
Y:ProfilesChromeMyUserDataProfile
h) Select Ok
i) Close registry editor
Google Chrome will now launch from:
Y:ProfilesChromeMyUserDataProfile
(by default, using all your standard shortcuts without having to edit their path's etc).
If you want to replicate your existing browsing environment in this new profile location, you can copy the entire contents of your old profile (or Chrome's default one) into your new path.
Windows 7 or 8 - Default Chrome Install
Copy everything from:
%USERPROFILE%AppDataLocalGoogleChromeUserData
into
Y:ProfilesChromeMyUserDataProfile
If you want to launch Chrome from different profiles with separate shortcuts for each, you will have make the shortcuts and edit the path's etc (as suggested in other posts).
add a comment |
I adopted the solution proposed by Rehan Khwaja above. Following the steps below will make Chrome launch from your new user location, you DO NOT need to edit shortcuts or any of that.
My exact steps were:
1. Create the folder structure you want use, for instance:
Y:ProfilesChromeMyUserDataProfile
2. Follow Rehan Khwaja's steps in the registry by opening registry editor and creating this structure:
HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
(I had to add the GoogleChrome part as follows)
a) Right click on 'Policies' in the left pane of the registry editor
b) Select 'New Key' and call it: Google
c) Left click on your new key called Google (in the left pane of the registry editor, might have a folder icon next to it)
d) Now repeat steps a to c but left clicking on: Google, and creating a new key called: Chrome
3. Once you have the key called Chrome:
a) left click on it in the left pane of registry editor
b) right click in the RIGHT pane, and
c) Select: New > String Value
d) Name the string value: UserDataDir
e) Right click on your newly created UserDataDir
f) Select modify...
g) Under Value Data enter the path of your folder structure, for instance:
Y:ProfilesChromeMyUserDataProfile
h) Select Ok
i) Close registry editor
Google Chrome will now launch from:
Y:ProfilesChromeMyUserDataProfile
(by default, using all your standard shortcuts without having to edit their path's etc).
If you want to replicate your existing browsing environment in this new profile location, you can copy the entire contents of your old profile (or Chrome's default one) into your new path.
Windows 7 or 8 - Default Chrome Install
Copy everything from:
%USERPROFILE%AppDataLocalGoogleChromeUserData
into
Y:ProfilesChromeMyUserDataProfile
If you want to launch Chrome from different profiles with separate shortcuts for each, you will have make the shortcuts and edit the path's etc (as suggested in other posts).
add a comment |
I adopted the solution proposed by Rehan Khwaja above. Following the steps below will make Chrome launch from your new user location, you DO NOT need to edit shortcuts or any of that.
My exact steps were:
1. Create the folder structure you want use, for instance:
Y:ProfilesChromeMyUserDataProfile
2. Follow Rehan Khwaja's steps in the registry by opening registry editor and creating this structure:
HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
(I had to add the GoogleChrome part as follows)
a) Right click on 'Policies' in the left pane of the registry editor
b) Select 'New Key' and call it: Google
c) Left click on your new key called Google (in the left pane of the registry editor, might have a folder icon next to it)
d) Now repeat steps a to c but left clicking on: Google, and creating a new key called: Chrome
3. Once you have the key called Chrome:
a) left click on it in the left pane of registry editor
b) right click in the RIGHT pane, and
c) Select: New > String Value
d) Name the string value: UserDataDir
e) Right click on your newly created UserDataDir
f) Select modify...
g) Under Value Data enter the path of your folder structure, for instance:
Y:ProfilesChromeMyUserDataProfile
h) Select Ok
i) Close registry editor
Google Chrome will now launch from:
Y:ProfilesChromeMyUserDataProfile
(by default, using all your standard shortcuts without having to edit their path's etc).
If you want to replicate your existing browsing environment in this new profile location, you can copy the entire contents of your old profile (or Chrome's default one) into your new path.
Windows 7 or 8 - Default Chrome Install
Copy everything from:
%USERPROFILE%AppDataLocalGoogleChromeUserData
into
Y:ProfilesChromeMyUserDataProfile
If you want to launch Chrome from different profiles with separate shortcuts for each, you will have make the shortcuts and edit the path's etc (as suggested in other posts).
I adopted the solution proposed by Rehan Khwaja above. Following the steps below will make Chrome launch from your new user location, you DO NOT need to edit shortcuts or any of that.
My exact steps were:
1. Create the folder structure you want use, for instance:
Y:ProfilesChromeMyUserDataProfile
2. Follow Rehan Khwaja's steps in the registry by opening registry editor and creating this structure:
HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome
(I had to add the GoogleChrome part as follows)
a) Right click on 'Policies' in the left pane of the registry editor
b) Select 'New Key' and call it: Google
c) Left click on your new key called Google (in the left pane of the registry editor, might have a folder icon next to it)
d) Now repeat steps a to c but left clicking on: Google, and creating a new key called: Chrome
3. Once you have the key called Chrome:
a) left click on it in the left pane of registry editor
b) right click in the RIGHT pane, and
c) Select: New > String Value
d) Name the string value: UserDataDir
e) Right click on your newly created UserDataDir
f) Select modify...
g) Under Value Data enter the path of your folder structure, for instance:
Y:ProfilesChromeMyUserDataProfile
h) Select Ok
i) Close registry editor
Google Chrome will now launch from:
Y:ProfilesChromeMyUserDataProfile
(by default, using all your standard shortcuts without having to edit their path's etc).
If you want to replicate your existing browsing environment in this new profile location, you can copy the entire contents of your old profile (or Chrome's default one) into your new path.
Windows 7 or 8 - Default Chrome Install
Copy everything from:
%USERPROFILE%AppDataLocalGoogleChromeUserData
into
Y:ProfilesChromeMyUserDataProfile
If you want to launch Chrome from different profiles with separate shortcuts for each, you will have make the shortcuts and edit the path's etc (as suggested in other posts).
answered Sep 2 '13 at 7:14
Simple_OneSimple_One
512
512
add a comment |
add a comment |
Windows Solution
If you are using --user-data-dir for your shortcuts already, then this is what you're looking for.
This will make http:// and https:// links in other applications (eg. Skype) open in Chrome with the profile specified.
Open Regedit (Run / WIN + R, type regedit, press enter)
Locate the following keys:
- HKEY_CLASSES_ROOThttpshellopencommand
- HKEY_CLASSES_ROOThttpsshellopencommand
Edit the (Default) values of these keys to this:
"YOUR_CHROME_PATH_HERE" --user-data-dir="YOUR_USER_DATA_PATH_HERE" -- "%1"
Replace YOUR_CHROME_PATH_HERE with your Chrome.exe path, eg.
C:Program Files (x86)GoogleChromeApplicationchrome.exe
Replace YOUR_USER_DATA_PATH_HERE with your Chrome User Data Folder, eg.
P:LibrariesChrome Profile
The default Chrome User Data Folder is located in
%LOCALAPPDATA%GoogleChromeUser Data
Note: Can't use %variable% in Regedit.
Is this method official? How safe is this?
– Pacerier
Jul 13 '15 at 6:19
1
All the boldz and capz.... urghhhhhhh...
– Crowie
Jun 9 '16 at 23:25
@Pacerier I know it was a year ago but can you be specific about what 'official' recommendations you would like? By Google, Microsoft or Kaspersky software... or Knuth? [genuinely asking]
– Crowie
Jun 9 '16 at 23:27
add a comment |
Windows Solution
If you are using --user-data-dir for your shortcuts already, then this is what you're looking for.
This will make http:// and https:// links in other applications (eg. Skype) open in Chrome with the profile specified.
Open Regedit (Run / WIN + R, type regedit, press enter)
Locate the following keys:
- HKEY_CLASSES_ROOThttpshellopencommand
- HKEY_CLASSES_ROOThttpsshellopencommand
Edit the (Default) values of these keys to this:
"YOUR_CHROME_PATH_HERE" --user-data-dir="YOUR_USER_DATA_PATH_HERE" -- "%1"
Replace YOUR_CHROME_PATH_HERE with your Chrome.exe path, eg.
C:Program Files (x86)GoogleChromeApplicationchrome.exe
Replace YOUR_USER_DATA_PATH_HERE with your Chrome User Data Folder, eg.
P:LibrariesChrome Profile
The default Chrome User Data Folder is located in
%LOCALAPPDATA%GoogleChromeUser Data
Note: Can't use %variable% in Regedit.
Is this method official? How safe is this?
– Pacerier
Jul 13 '15 at 6:19
1
All the boldz and capz.... urghhhhhhh...
– Crowie
Jun 9 '16 at 23:25
@Pacerier I know it was a year ago but can you be specific about what 'official' recommendations you would like? By Google, Microsoft or Kaspersky software... or Knuth? [genuinely asking]
– Crowie
Jun 9 '16 at 23:27
add a comment |
Windows Solution
If you are using --user-data-dir for your shortcuts already, then this is what you're looking for.
This will make http:// and https:// links in other applications (eg. Skype) open in Chrome with the profile specified.
Open Regedit (Run / WIN + R, type regedit, press enter)
Locate the following keys:
- HKEY_CLASSES_ROOThttpshellopencommand
- HKEY_CLASSES_ROOThttpsshellopencommand
Edit the (Default) values of these keys to this:
"YOUR_CHROME_PATH_HERE" --user-data-dir="YOUR_USER_DATA_PATH_HERE" -- "%1"
Replace YOUR_CHROME_PATH_HERE with your Chrome.exe path, eg.
C:Program Files (x86)GoogleChromeApplicationchrome.exe
Replace YOUR_USER_DATA_PATH_HERE with your Chrome User Data Folder, eg.
P:LibrariesChrome Profile
The default Chrome User Data Folder is located in
%LOCALAPPDATA%GoogleChromeUser Data
Note: Can't use %variable% in Regedit.
Windows Solution
If you are using --user-data-dir for your shortcuts already, then this is what you're looking for.
This will make http:// and https:// links in other applications (eg. Skype) open in Chrome with the profile specified.
Open Regedit (Run / WIN + R, type regedit, press enter)
Locate the following keys:
- HKEY_CLASSES_ROOThttpshellopencommand
- HKEY_CLASSES_ROOThttpsshellopencommand
Edit the (Default) values of these keys to this:
"YOUR_CHROME_PATH_HERE" --user-data-dir="YOUR_USER_DATA_PATH_HERE" -- "%1"
Replace YOUR_CHROME_PATH_HERE with your Chrome.exe path, eg.
C:Program Files (x86)GoogleChromeApplicationchrome.exe
Replace YOUR_USER_DATA_PATH_HERE with your Chrome User Data Folder, eg.
P:LibrariesChrome Profile
The default Chrome User Data Folder is located in
%LOCALAPPDATA%GoogleChromeUser Data
Note: Can't use %variable% in Regedit.
answered Oct 19 '13 at 8:30
Anton OlssonAnton Olsson
311
311
Is this method official? How safe is this?
– Pacerier
Jul 13 '15 at 6:19
1
All the boldz and capz.... urghhhhhhh...
– Crowie
Jun 9 '16 at 23:25
@Pacerier I know it was a year ago but can you be specific about what 'official' recommendations you would like? By Google, Microsoft or Kaspersky software... or Knuth? [genuinely asking]
– Crowie
Jun 9 '16 at 23:27
add a comment |
Is this method official? How safe is this?
– Pacerier
Jul 13 '15 at 6:19
1
All the boldz and capz.... urghhhhhhh...
– Crowie
Jun 9 '16 at 23:25
@Pacerier I know it was a year ago but can you be specific about what 'official' recommendations you would like? By Google, Microsoft or Kaspersky software... or Knuth? [genuinely asking]
– Crowie
Jun 9 '16 at 23:27
Is this method official? How safe is this?
– Pacerier
Jul 13 '15 at 6:19
Is this method official? How safe is this?
– Pacerier
Jul 13 '15 at 6:19
1
1
All the boldz and capz.... urghhhhhhh...
– Crowie
Jun 9 '16 at 23:25
All the boldz and capz.... urghhhhhhh...
– Crowie
Jun 9 '16 at 23:25
@Pacerier I know it was a year ago but can you be specific about what 'official' recommendations you would like? By Google, Microsoft or Kaspersky software... or Knuth? [genuinely asking]
– Crowie
Jun 9 '16 at 23:27
@Pacerier I know it was a year ago but can you be specific about what 'official' recommendations you would like? By Google, Microsoft or Kaspersky software... or Knuth? [genuinely asking]
– Crowie
Jun 9 '16 at 23:27
add a comment |
The way I get around this is
If you want to open a particular profile rather than Chrome picking up the last open profile:
Follow the steps mentioned here to create a custom icon for your profile : https://superuser.com/a/723145/84229
Open whichever profile you want with the corresponding icon.
If you are concerned about which profile is picked up by an external program
Swap the names of
Default
&Profile 1
directories here%LOCALAPPDATA%GoogleChromeUser Data
i.e. rename
Default
toDefaultTmp
, renameProfile 1
toDefault
, renameDefaultTmp
toProfile 1
add a comment |
The way I get around this is
If you want to open a particular profile rather than Chrome picking up the last open profile:
Follow the steps mentioned here to create a custom icon for your profile : https://superuser.com/a/723145/84229
Open whichever profile you want with the corresponding icon.
If you are concerned about which profile is picked up by an external program
Swap the names of
Default
&Profile 1
directories here%LOCALAPPDATA%GoogleChromeUser Data
i.e. rename
Default
toDefaultTmp
, renameProfile 1
toDefault
, renameDefaultTmp
toProfile 1
add a comment |
The way I get around this is
If you want to open a particular profile rather than Chrome picking up the last open profile:
Follow the steps mentioned here to create a custom icon for your profile : https://superuser.com/a/723145/84229
Open whichever profile you want with the corresponding icon.
If you are concerned about which profile is picked up by an external program
Swap the names of
Default
&Profile 1
directories here%LOCALAPPDATA%GoogleChromeUser Data
i.e. rename
Default
toDefaultTmp
, renameProfile 1
toDefault
, renameDefaultTmp
toProfile 1
The way I get around this is
If you want to open a particular profile rather than Chrome picking up the last open profile:
Follow the steps mentioned here to create a custom icon for your profile : https://superuser.com/a/723145/84229
Open whichever profile you want with the corresponding icon.
If you are concerned about which profile is picked up by an external program
Swap the names of
Default
&Profile 1
directories here%LOCALAPPDATA%GoogleChromeUser Data
i.e. rename
Default
toDefaultTmp
, renameProfile 1
toDefault
, renameDefaultTmp
toProfile 1
edited Mar 20 '17 at 10:17
Community♦
1
1
answered Mar 1 '14 at 6:45
useruser
786924
786924
add a comment |
add a comment |
For multiuser systems with roaming profiles (ie. Terminal Server)
use:
reg add "HKLMSOFTWAREPoliciesGoogleChrome" /v UserDataDir /t REG_SZ /d ${roaming_app_data}Chrome /f
environment variable %appdata% wont work via registry.
So use ${roaming_app_data} instead.
add a comment |
For multiuser systems with roaming profiles (ie. Terminal Server)
use:
reg add "HKLMSOFTWAREPoliciesGoogleChrome" /v UserDataDir /t REG_SZ /d ${roaming_app_data}Chrome /f
environment variable %appdata% wont work via registry.
So use ${roaming_app_data} instead.
add a comment |
For multiuser systems with roaming profiles (ie. Terminal Server)
use:
reg add "HKLMSOFTWAREPoliciesGoogleChrome" /v UserDataDir /t REG_SZ /d ${roaming_app_data}Chrome /f
environment variable %appdata% wont work via registry.
So use ${roaming_app_data} instead.
For multiuser systems with roaming profiles (ie. Terminal Server)
use:
reg add "HKLMSOFTWAREPoliciesGoogleChrome" /v UserDataDir /t REG_SZ /d ${roaming_app_data}Chrome /f
environment variable %appdata% wont work via registry.
So use ${roaming_app_data} instead.
answered Feb 16 '18 at 11:11
André BergAndré Berg
211
211
add a comment |
add a comment |
There is a setting within a global preferences file in the Chrome AppData directory that updates a "last_used" variable with the most recently used profile. You can reset/override this setting by setting it to your desired profile and it should simply use the profile you specified on the next app open. Otherwise using --profile-directory="Default"
or --profile-directory="Profile 1"
on your shortcuts will force a new window using that profile. You should NOT use --user-data-directory
, as that is something completely different (sets/overrides the cache and settings directory path which the profile should already have defaults for).
The file mentioned above is the Local State file, which you could potentially parse to replace whatever profile is selected as the last used with your desired profile. See https://superuser.com/a/436262/333828
add a comment |
There is a setting within a global preferences file in the Chrome AppData directory that updates a "last_used" variable with the most recently used profile. You can reset/override this setting by setting it to your desired profile and it should simply use the profile you specified on the next app open. Otherwise using --profile-directory="Default"
or --profile-directory="Profile 1"
on your shortcuts will force a new window using that profile. You should NOT use --user-data-directory
, as that is something completely different (sets/overrides the cache and settings directory path which the profile should already have defaults for).
The file mentioned above is the Local State file, which you could potentially parse to replace whatever profile is selected as the last used with your desired profile. See https://superuser.com/a/436262/333828
add a comment |
There is a setting within a global preferences file in the Chrome AppData directory that updates a "last_used" variable with the most recently used profile. You can reset/override this setting by setting it to your desired profile and it should simply use the profile you specified on the next app open. Otherwise using --profile-directory="Default"
or --profile-directory="Profile 1"
on your shortcuts will force a new window using that profile. You should NOT use --user-data-directory
, as that is something completely different (sets/overrides the cache and settings directory path which the profile should already have defaults for).
The file mentioned above is the Local State file, which you could potentially parse to replace whatever profile is selected as the last used with your desired profile. See https://superuser.com/a/436262/333828
There is a setting within a global preferences file in the Chrome AppData directory that updates a "last_used" variable with the most recently used profile. You can reset/override this setting by setting it to your desired profile and it should simply use the profile you specified on the next app open. Otherwise using --profile-directory="Default"
or --profile-directory="Profile 1"
on your shortcuts will force a new window using that profile. You should NOT use --user-data-directory
, as that is something completely different (sets/overrides the cache and settings directory path which the profile should already have defaults for).
The file mentioned above is the Local State file, which you could potentially parse to replace whatever profile is selected as the last used with your desired profile. See https://superuser.com/a/436262/333828
edited Jun 21 '17 at 22:23
answered Jun 21 '17 at 22:14
dragon788dragon788
489411
489411
add a comment |
add a comment |
I have a solution for MacOSX. I have used an Automator to create Folder Action on ~/Library/Application Support/Google/Chrome. When the Chrome application quits, it creates some unimportant shutdown file in this directory. This triggers a folder action. If the last profile used was not the Default it runs this script, to modify saved profile:
cd ~/Library/Application Support/Google/Chrome
if ! grep '"last_used": "Default"' Local State >/dev/null; then
sed -e 's/"last_used":.*/"last_used": "Default",/'
-e 's/"last_active_profiles":.*/"last_active_profiles": [ "Default" ],/'
-i .bak Local State
say "Chrome Default Profile Set"
fi
Next time you start Chrome (anyhow), it will start with the Default profile.
add a comment |
I have a solution for MacOSX. I have used an Automator to create Folder Action on ~/Library/Application Support/Google/Chrome. When the Chrome application quits, it creates some unimportant shutdown file in this directory. This triggers a folder action. If the last profile used was not the Default it runs this script, to modify saved profile:
cd ~/Library/Application Support/Google/Chrome
if ! grep '"last_used": "Default"' Local State >/dev/null; then
sed -e 's/"last_used":.*/"last_used": "Default",/'
-e 's/"last_active_profiles":.*/"last_active_profiles": [ "Default" ],/'
-i .bak Local State
say "Chrome Default Profile Set"
fi
Next time you start Chrome (anyhow), it will start with the Default profile.
add a comment |
I have a solution for MacOSX. I have used an Automator to create Folder Action on ~/Library/Application Support/Google/Chrome. When the Chrome application quits, it creates some unimportant shutdown file in this directory. This triggers a folder action. If the last profile used was not the Default it runs this script, to modify saved profile:
cd ~/Library/Application Support/Google/Chrome
if ! grep '"last_used": "Default"' Local State >/dev/null; then
sed -e 's/"last_used":.*/"last_used": "Default",/'
-e 's/"last_active_profiles":.*/"last_active_profiles": [ "Default" ],/'
-i .bak Local State
say "Chrome Default Profile Set"
fi
Next time you start Chrome (anyhow), it will start with the Default profile.
I have a solution for MacOSX. I have used an Automator to create Folder Action on ~/Library/Application Support/Google/Chrome. When the Chrome application quits, it creates some unimportant shutdown file in this directory. This triggers a folder action. If the last profile used was not the Default it runs this script, to modify saved profile:
cd ~/Library/Application Support/Google/Chrome
if ! grep '"last_used": "Default"' Local State >/dev/null; then
sed -e 's/"last_used":.*/"last_used": "Default",/'
-e 's/"last_active_profiles":.*/"last_active_profiles": [ "Default" ],/'
-i .bak Local State
say "Chrome Default Profile Set"
fi
Next time you start Chrome (anyhow), it will start with the Default profile.
answered Feb 18 '13 at 22:39
brablcbrablc
1,01288
1,01288
add a comment |
add a comment |
For the sake of completeness, I'll add another solution which aparently did work in the past, but at least for me (WinVista, Chrome 31) does not.
http://productforums.google.com/forum/#!topic/chrome/4F9bjXogI0s
The solution is to make the User Data
folder a hard-link (an NTFS junction) to your actual profile folder, like this:
mklink /J "C:Users<user_name>AppDataLocalGoogleChromeUser Data" "C:myDefaultGoogleProfile"
add a comment |
For the sake of completeness, I'll add another solution which aparently did work in the past, but at least for me (WinVista, Chrome 31) does not.
http://productforums.google.com/forum/#!topic/chrome/4F9bjXogI0s
The solution is to make the User Data
folder a hard-link (an NTFS junction) to your actual profile folder, like this:
mklink /J "C:Users<user_name>AppDataLocalGoogleChromeUser Data" "C:myDefaultGoogleProfile"
add a comment |
For the sake of completeness, I'll add another solution which aparently did work in the past, but at least for me (WinVista, Chrome 31) does not.
http://productforums.google.com/forum/#!topic/chrome/4F9bjXogI0s
The solution is to make the User Data
folder a hard-link (an NTFS junction) to your actual profile folder, like this:
mklink /J "C:Users<user_name>AppDataLocalGoogleChromeUser Data" "C:myDefaultGoogleProfile"
For the sake of completeness, I'll add another solution which aparently did work in the past, but at least for me (WinVista, Chrome 31) does not.
http://productforums.google.com/forum/#!topic/chrome/4F9bjXogI0s
The solution is to make the User Data
folder a hard-link (an NTFS junction) to your actual profile folder, like this:
mklink /J "C:Users<user_name>AppDataLocalGoogleChromeUser Data" "C:myDefaultGoogleProfile"
answered Dec 13 '13 at 4:54
GetFreeGetFree
1,22672544
1,22672544
add a comment |
add a comment |
- Open Chrome
- Top right corner of the browser click the icon that looks like three horizontal lines and in the drop down menu select "Settings."
- Select "DISCONNECT YOUR GOOGLE ACCOUNT" at the top of the screen that appears.
- Click through the prompts to complete the account removal process.
- When there are no accounts associated with Chrome re-add the account you want to use as the default one FIRST then any subsequent accounts you want after that.
- That is what I did to make MY preferred user profile be the one active when launching Chrome.
Question is about making Chrome Default Browser with specific profile not a particular profile default
– pun
Jan 16 '16 at 5:28
add a comment |
- Open Chrome
- Top right corner of the browser click the icon that looks like three horizontal lines and in the drop down menu select "Settings."
- Select "DISCONNECT YOUR GOOGLE ACCOUNT" at the top of the screen that appears.
- Click through the prompts to complete the account removal process.
- When there are no accounts associated with Chrome re-add the account you want to use as the default one FIRST then any subsequent accounts you want after that.
- That is what I did to make MY preferred user profile be the one active when launching Chrome.
Question is about making Chrome Default Browser with specific profile not a particular profile default
– pun
Jan 16 '16 at 5:28
add a comment |
- Open Chrome
- Top right corner of the browser click the icon that looks like three horizontal lines and in the drop down menu select "Settings."
- Select "DISCONNECT YOUR GOOGLE ACCOUNT" at the top of the screen that appears.
- Click through the prompts to complete the account removal process.
- When there are no accounts associated with Chrome re-add the account you want to use as the default one FIRST then any subsequent accounts you want after that.
- That is what I did to make MY preferred user profile be the one active when launching Chrome.
- Open Chrome
- Top right corner of the browser click the icon that looks like three horizontal lines and in the drop down menu select "Settings."
- Select "DISCONNECT YOUR GOOGLE ACCOUNT" at the top of the screen that appears.
- Click through the prompts to complete the account removal process.
- When there are no accounts associated with Chrome re-add the account you want to use as the default one FIRST then any subsequent accounts you want after that.
- That is what I did to make MY preferred user profile be the one active when launching Chrome.
answered Jan 15 '16 at 20:06
EyaeEyae
1
1
Question is about making Chrome Default Browser with specific profile not a particular profile default
– pun
Jan 16 '16 at 5:28
add a comment |
Question is about making Chrome Default Browser with specific profile not a particular profile default
– pun
Jan 16 '16 at 5:28
Question is about making Chrome Default Browser with specific profile not a particular profile default
– pun
Jan 16 '16 at 5:28
Question is about making Chrome Default Browser with specific profile not a particular profile default
– pun
Jan 16 '16 at 5:28
add a comment |
For Windows 10, I modified the following registry keys:
HKEY_CLASSES_ROOThttpshellopencommand
HKEY_CLASSES_ROOThttpsshellopencommand
HKEY_CLASSES_ROOTChromeHTMLshellopencommand
All with this value:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default" -- "%1"
And just an extra note, none of it worked until I modified the last key (the third above) HKEY_CLASSES_ROOTChromeHTMLshellopencommand
, so that may be all that was needed. I only found that key because of this answer.
add a comment |
For Windows 10, I modified the following registry keys:
HKEY_CLASSES_ROOThttpshellopencommand
HKEY_CLASSES_ROOThttpsshellopencommand
HKEY_CLASSES_ROOTChromeHTMLshellopencommand
All with this value:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default" -- "%1"
And just an extra note, none of it worked until I modified the last key (the third above) HKEY_CLASSES_ROOTChromeHTMLshellopencommand
, so that may be all that was needed. I only found that key because of this answer.
add a comment |
For Windows 10, I modified the following registry keys:
HKEY_CLASSES_ROOThttpshellopencommand
HKEY_CLASSES_ROOThttpsshellopencommand
HKEY_CLASSES_ROOTChromeHTMLshellopencommand
All with this value:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default" -- "%1"
And just an extra note, none of it worked until I modified the last key (the third above) HKEY_CLASSES_ROOTChromeHTMLshellopencommand
, so that may be all that was needed. I only found that key because of this answer.
For Windows 10, I modified the following registry keys:
HKEY_CLASSES_ROOThttpshellopencommand
HKEY_CLASSES_ROOThttpsshellopencommand
HKEY_CLASSES_ROOTChromeHTMLshellopencommand
All with this value:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default" -- "%1"
And just an extra note, none of it worked until I modified the last key (the third above) HKEY_CLASSES_ROOTChromeHTMLshellopencommand
, so that may be all that was needed. I only found that key because of this answer.
edited May 23 '17 at 12:41
Community♦
1
1
answered May 9 '16 at 18:57
FriendlyGuyFriendlyGuy
1254
1254
add a comment |
add a comment |
There are a lot of answers here but most of them seem to use HKEY_CLASSES_ROOT
. This is a legacy key and really shouldn't be used any longer (to put into perspective, HKEY_CLASSES_ROOT
comes from Windows 3.1 and was intended for backward compatibility). The correct place to make these changes is under HKEY_CURRENT_USERSoftwareClasses
.
As mentioned all over the place here, Chrome stores each "profile" in its own directory. When launching, the --profile-directory
command-line switch can be used to select a specific profile directory. Without this switch, Chrome will simply use whichever profile was last used. The default profile (the first user you logged in as after installing chrome) is always stored in the directory "default".
The simplest method for setting a profile is to simply edit Chrome's shortcut and add the command-line parameter --profile-directory="default"
:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default"
The downside with this approach is that it only affects the shortcut itself. If Chrome is your default browser, and another application opens a page, this will have no effect. Similarly, if you associate a local file extension with Chrome, it will not affect which profile is selected when opening that file type from Windows Explorer.
The fix for this is to specify the profile to use in the Windows Registry. In order for this to work for both mapped extensions and shell execution, we need to make a change in two different places:
HKEY_CURRENT_USERSoftwareClassesApplicationschrome.exeshellopencommand
HKEY_LOCAL_MACHINESOFTWAREClassesChromeHTMLshellopencommand
The default value for both of these are the same:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" -- "%1"
Just as with the Shortcut method discussed previously, we simply need to add the --profile-directory="default"
switch. One difference, however, it that here we need to add it between "chrome.exe"
and -- "%1"
:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default" -- "%1"
For a quick-n-dirty solution, create a file called ChromeDefault.reg
and copy & paste the following into it:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareClassesApplicationschrome.exeshellopencommand]
@=""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default" -- "%1""
[HKEY_LOCAL_MACHINESOFTWAREClassesChromeHTMLshellopencommand]
@=""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default" -- "%1""
Once saved, double-clicking this file will automatically make the necessary changes to your registry. This simply saves you the trouble of walking through the tree in RegEdit.
add a comment |
There are a lot of answers here but most of them seem to use HKEY_CLASSES_ROOT
. This is a legacy key and really shouldn't be used any longer (to put into perspective, HKEY_CLASSES_ROOT
comes from Windows 3.1 and was intended for backward compatibility). The correct place to make these changes is under HKEY_CURRENT_USERSoftwareClasses
.
As mentioned all over the place here, Chrome stores each "profile" in its own directory. When launching, the --profile-directory
command-line switch can be used to select a specific profile directory. Without this switch, Chrome will simply use whichever profile was last used. The default profile (the first user you logged in as after installing chrome) is always stored in the directory "default".
The simplest method for setting a profile is to simply edit Chrome's shortcut and add the command-line parameter --profile-directory="default"
:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default"
The downside with this approach is that it only affects the shortcut itself. If Chrome is your default browser, and another application opens a page, this will have no effect. Similarly, if you associate a local file extension with Chrome, it will not affect which profile is selected when opening that file type from Windows Explorer.
The fix for this is to specify the profile to use in the Windows Registry. In order for this to work for both mapped extensions and shell execution, we need to make a change in two different places:
HKEY_CURRENT_USERSoftwareClassesApplicationschrome.exeshellopencommand
HKEY_LOCAL_MACHINESOFTWAREClassesChromeHTMLshellopencommand
The default value for both of these are the same:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" -- "%1"
Just as with the Shortcut method discussed previously, we simply need to add the --profile-directory="default"
switch. One difference, however, it that here we need to add it between "chrome.exe"
and -- "%1"
:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default" -- "%1"
For a quick-n-dirty solution, create a file called ChromeDefault.reg
and copy & paste the following into it:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareClassesApplicationschrome.exeshellopencommand]
@=""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default" -- "%1""
[HKEY_LOCAL_MACHINESOFTWAREClassesChromeHTMLshellopencommand]
@=""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default" -- "%1""
Once saved, double-clicking this file will automatically make the necessary changes to your registry. This simply saves you the trouble of walking through the tree in RegEdit.
add a comment |
There are a lot of answers here but most of them seem to use HKEY_CLASSES_ROOT
. This is a legacy key and really shouldn't be used any longer (to put into perspective, HKEY_CLASSES_ROOT
comes from Windows 3.1 and was intended for backward compatibility). The correct place to make these changes is under HKEY_CURRENT_USERSoftwareClasses
.
As mentioned all over the place here, Chrome stores each "profile" in its own directory. When launching, the --profile-directory
command-line switch can be used to select a specific profile directory. Without this switch, Chrome will simply use whichever profile was last used. The default profile (the first user you logged in as after installing chrome) is always stored in the directory "default".
The simplest method for setting a profile is to simply edit Chrome's shortcut and add the command-line parameter --profile-directory="default"
:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default"
The downside with this approach is that it only affects the shortcut itself. If Chrome is your default browser, and another application opens a page, this will have no effect. Similarly, if you associate a local file extension with Chrome, it will not affect which profile is selected when opening that file type from Windows Explorer.
The fix for this is to specify the profile to use in the Windows Registry. In order for this to work for both mapped extensions and shell execution, we need to make a change in two different places:
HKEY_CURRENT_USERSoftwareClassesApplicationschrome.exeshellopencommand
HKEY_LOCAL_MACHINESOFTWAREClassesChromeHTMLshellopencommand
The default value for both of these are the same:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" -- "%1"
Just as with the Shortcut method discussed previously, we simply need to add the --profile-directory="default"
switch. One difference, however, it that here we need to add it between "chrome.exe"
and -- "%1"
:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default" -- "%1"
For a quick-n-dirty solution, create a file called ChromeDefault.reg
and copy & paste the following into it:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareClassesApplicationschrome.exeshellopencommand]
@=""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default" -- "%1""
[HKEY_LOCAL_MACHINESOFTWAREClassesChromeHTMLshellopencommand]
@=""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default" -- "%1""
Once saved, double-clicking this file will automatically make the necessary changes to your registry. This simply saves you the trouble of walking through the tree in RegEdit.
There are a lot of answers here but most of them seem to use HKEY_CLASSES_ROOT
. This is a legacy key and really shouldn't be used any longer (to put into perspective, HKEY_CLASSES_ROOT
comes from Windows 3.1 and was intended for backward compatibility). The correct place to make these changes is under HKEY_CURRENT_USERSoftwareClasses
.
As mentioned all over the place here, Chrome stores each "profile" in its own directory. When launching, the --profile-directory
command-line switch can be used to select a specific profile directory. Without this switch, Chrome will simply use whichever profile was last used. The default profile (the first user you logged in as after installing chrome) is always stored in the directory "default".
The simplest method for setting a profile is to simply edit Chrome's shortcut and add the command-line parameter --profile-directory="default"
:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default"
The downside with this approach is that it only affects the shortcut itself. If Chrome is your default browser, and another application opens a page, this will have no effect. Similarly, if you associate a local file extension with Chrome, it will not affect which profile is selected when opening that file type from Windows Explorer.
The fix for this is to specify the profile to use in the Windows Registry. In order for this to work for both mapped extensions and shell execution, we need to make a change in two different places:
HKEY_CURRENT_USERSoftwareClassesApplicationschrome.exeshellopencommand
HKEY_LOCAL_MACHINESOFTWAREClassesChromeHTMLshellopencommand
The default value for both of these are the same:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" -- "%1"
Just as with the Shortcut method discussed previously, we simply need to add the --profile-directory="default"
switch. One difference, however, it that here we need to add it between "chrome.exe"
and -- "%1"
:
"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --profile-directory="Default" -- "%1"
For a quick-n-dirty solution, create a file called ChromeDefault.reg
and copy & paste the following into it:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareClassesApplicationschrome.exeshellopencommand]
@=""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default" -- "%1""
[HKEY_LOCAL_MACHINESOFTWAREClassesChromeHTMLshellopencommand]
@=""C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory="Default" -- "%1""
Once saved, double-clicking this file will automatically make the necessary changes to your registry. This simply saves you the trouble of walking through the tree in RegEdit.
answered Oct 10 '18 at 14:39
Marc LaFleurMarc LaFleur
1053
1053
add a comment |
add a comment |
I found an easy solution to this. I'm running Chrome Version 33.0.1750.117 m. I found that when I open my 2nd profile, Chrome creates another task in the Windows 8 task bar and the new Chrome task has a barely perceptible icon difference, it has the profile picture you've chosen for your new profile. In my case, there's a tiny Superman on the lower right corner of the Chrome icon.
Simply pin that icon to to your task bar and unpin the old icon.
I have tested this and it works for me. Even if the last instance of Chrome I close out is the old profile (which I am retaining), the new profile is opened when I open Chrome.
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Mar 29 '16 at 0:17
add a comment |
I found an easy solution to this. I'm running Chrome Version 33.0.1750.117 m. I found that when I open my 2nd profile, Chrome creates another task in the Windows 8 task bar and the new Chrome task has a barely perceptible icon difference, it has the profile picture you've chosen for your new profile. In my case, there's a tiny Superman on the lower right corner of the Chrome icon.
Simply pin that icon to to your task bar and unpin the old icon.
I have tested this and it works for me. Even if the last instance of Chrome I close out is the old profile (which I am retaining), the new profile is opened when I open Chrome.
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Mar 29 '16 at 0:17
add a comment |
I found an easy solution to this. I'm running Chrome Version 33.0.1750.117 m. I found that when I open my 2nd profile, Chrome creates another task in the Windows 8 task bar and the new Chrome task has a barely perceptible icon difference, it has the profile picture you've chosen for your new profile. In my case, there's a tiny Superman on the lower right corner of the Chrome icon.
Simply pin that icon to to your task bar and unpin the old icon.
I have tested this and it works for me. Even if the last instance of Chrome I close out is the old profile (which I am retaining), the new profile is opened when I open Chrome.
I found an easy solution to this. I'm running Chrome Version 33.0.1750.117 m. I found that when I open my 2nd profile, Chrome creates another task in the Windows 8 task bar and the new Chrome task has a barely perceptible icon difference, it has the profile picture you've chosen for your new profile. In my case, there's a tiny Superman on the lower right corner of the Chrome icon.
Simply pin that icon to to your task bar and unpin the old icon.
I have tested this and it works for me. Even if the last instance of Chrome I close out is the old profile (which I am retaining), the new profile is opened when I open Chrome.
answered Mar 3 '14 at 20:17
user304758user304758
1
1
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Mar 29 '16 at 0:17
add a comment |
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Mar 29 '16 at 0:17
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Mar 29 '16 at 0:17
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Mar 29 '16 at 0:17
add a comment |
It's way easier than that -- just go into the Chrome users, click on the user you want to be default, and click the "Edit" button. Then, click to create a desktop shortcut that will make a shortcut straight to that user. Bingo!
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Nov 14 '15 at 17:12
add a comment |
It's way easier than that -- just go into the Chrome users, click on the user you want to be default, and click the "Edit" button. Then, click to create a desktop shortcut that will make a shortcut straight to that user. Bingo!
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Nov 14 '15 at 17:12
add a comment |
It's way easier than that -- just go into the Chrome users, click on the user you want to be default, and click the "Edit" button. Then, click to create a desktop shortcut that will make a shortcut straight to that user. Bingo!
It's way easier than that -- just go into the Chrome users, click on the user you want to be default, and click the "Edit" button. Then, click to create a desktop shortcut that will make a shortcut straight to that user. Bingo!
edited Dec 16 '14 at 19:07
Excellll
11.1k74162
11.1k74162
answered Dec 16 '14 at 18:44
user399481user399481
1
1
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Nov 14 '15 at 17:12
add a comment |
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Nov 14 '15 at 17:12
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Nov 14 '15 at 17:12
This does not change the profile that is used for launching chrome when you click a link somewhere.
– tlund
Nov 14 '15 at 17:12
add a comment |
No way to do it. Chrome always opens any external link from the active user or the last user you have switched to.
add a comment |
No way to do it. Chrome always opens any external link from the active user or the last user you have switched to.
add a comment |
No way to do it. Chrome always opens any external link from the active user or the last user you have switched to.
No way to do it. Chrome always opens any external link from the active user or the last user you have switched to.
edited Sep 16 '12 at 14:18
random♦
12.8k84757
12.8k84757
answered Sep 15 '12 at 6:54
Ahmed AdelAhmed Adel
91
91
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f109589%2fmake-google-chrome-with-specific-user-profile-as-default-browser%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
I've asked the Ubuntu version of this question here askubuntu.com/questions/96804/…
– d3vid
Jan 19 '12 at 11:04
3
have you tried --profile-directory=Default? see superuser.com/questions/377186/…
– d3vid
Jan 4 '13 at 6:46
1
3 years have passed. Is there an updated solution to this question? I can't manage to find one yet
– Jess Stone
Dec 17 '13 at 9:38
@JessStone, 5 years has passed. What is Google doing?
– Pacerier
Jul 13 '15 at 6:17
1
An all answers below: Note that setting data dir in registry, makes Chrome ignore any data-dir parameter. Thus not so advisable. To make a certain profile „default“ but not „forced“, consider not using that key, but replacing the Default profile with a symbolic link instead.
– Frank Nocke
Mar 24 '16 at 9:50