Page 1 of 1

Set Chrome to run icognito as default browser ?

Posted: Sat Jul 14, 2012 7:19 pm
by brjoon1021
Hi,

I use sandboxie to launch my default browser which is chrome.
I would like to have Chrome always open and run incognito as this is a very shared desktop.

These are the instructions, typically, to do so...

" to set incognito as default just add -icognito to the command line. To do this right click on the icon you use to start chrome and choose properties. In the target box after the closing ", put a space and then -incognito. This means chrome will always open incognito."

I am not smart enough to know just how to do this with sandboxie. Can you help ?

Thanks,

B

Posted: Sun Jul 15, 2012 8:27 am
by deugniet

Re: Set Chrome to run icognito as default browser ?

Posted: Sun Jul 15, 2012 2:24 pm
by Guest10
brjoon1021 wrote:... as this is a very shared desktop.
What does that mean? Do others use the same Desktop shortcut as you use, but you want it to run Chrome incognito when you use it?
Is that the "Sandboxed Web Browser" shortcut that Sandboxie puts on the Desktop?

How about creating your own shortcut for Chrome? Would that be something you would want:
Sandboxie Control tray icon menu > Configure > Windows Shell Integration
Click the "Add Shortcut Icons" button.
Click the sandbox for Chrome to use, for you.

When the Sandboxie Start Menu opens:
Find and select from the "Programs" menu: Google Chrome > Google Chrome

Right-click the new shortcut that gets added to the Desktop, and then choose "Properties".
Click inside the "Target" line, being careful not to delete anything that's there.
Press the "End" key on your keyboard, to move the cursor to the end of the line.
Make sure that nothing on the line is highlighted (selected);
press the <space> key once;
type on the keyboard:
-incognito
Click the OK button

Re: Set Chrome to run icognito as default browser ?

Posted: Sat Jun 28, 2014 3:43 am
by Dun
So to run Chrome as incognito inside of Sandboxie we can change chrome shortcut like this:
"C:\Program Files\Sandboxie\Start.exe" /box:DefaultBox "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -incognito

But if we open e-mail client like Mozilla Thunderbird and click on any link inside e-mail the Chrome won't open in incognito mode. Even if chrome is forced program and always run in sandboxie I don't know any way to force incognito in in such case like link opening.

Re: Set Chrome to run icognito as default browser ?

Posted: Thu Jul 31, 2014 5:07 am
by digitalworkshed
Good thing I stumbled upon this forum because I was wondering how to run Chrome in incgonito as default. Thanks Dun! :)

Re: Set Chrome to run icognito as default browser ?

Posted: Tue Aug 05, 2014 5:06 pm
by Dun
Ok two post ago I wrote how to force Chrome incognito inside Sandboxie however it was nothing new.

Registry tweak to force Chrome incognito when you open browser by clicking at links from other programs like e-mail client etc.

For x64 OS:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command]
@="\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" -incognito -- \"%1\""

[HKEY_CLASSES_ROOT\http\shell\open\command]
@="\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" -incognito -- \"%1\""

[HKEY_CLASSES_ROOT\https\shell\open\command]
@="\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" -incognito -- \"%1\""

[HKEY_CLASSES_ROOT\htmlfile\shell\open\command]
@="\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" -incognito -- \"%1\""

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\command]
@="\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" -incognito -- \"%1\""
For x86 OS:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command]
@="\"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe\" -incognito -- \"%1\""

[HKEY_CLASSES_ROOT\http\shell\open\command]
@="\"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe\" -incognito -- \"%1\""

[HKEY_CLASSES_ROOT\https\shell\open\command]
@="\"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe\" -incognito -- \"%1\""

[HKEY_CLASSES_ROOT\htmlfile\shell\open\command]
@="\"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe\" -incognito -- \"%1\""

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\command]
@="\"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe\" -incognito -- \"%1\""
Copy this to notepad and save as FIX.reg then double click it and confirm allowing adding to registry.
Note that file extension has to be .reg. Also notice you need to add this registry file every time Chrome updates itself!