Set Chrome to run icognito as default browser ?

If it doesn't fit elsewhere, it goes here
Post Reply
brjoon1021
Posts: 4
Joined: Tue Mar 15, 2011 8:05 pm

Set Chrome to run icognito as default browser ?

Post by brjoon1021 » Sat Jul 14, 2012 7:19 pm

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

deugniet
Posts: 334
Joined: Thu Jan 29, 2009 12:16 pm

Post by deugniet » Sun Jul 15, 2012 8:27 am


Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Re: Set Chrome to run icognito as default browser ?

Post by Guest10 » Sun Jul 15, 2012 2:24 pm

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
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

Dun
Posts: 350
Joined: Mon Jun 23, 2014 5:00 am
Location: Poland

Re: Set Chrome to run icognito as default browser ?

Post by Dun » Sat Jun 28, 2014 3:43 am

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.
Sandboxie 5.19.4 personal lifetime license user || Win10 x64 Pro CU (up to date) || ESET SS 10+ x64 || AppGuard 4+ || Firefox 54+ x64 || UAC on

digitalworkshed
Posts: 1
Joined: Wed Jul 23, 2014 2:59 am
Contact:

Re: Set Chrome to run icognito as default browser ?

Post by digitalworkshed » Thu Jul 31, 2014 5:07 am

Good thing I stumbled upon this forum because I was wondering how to run Chrome in incgonito as default. Thanks Dun! :)

Dun
Posts: 350
Joined: Mon Jun 23, 2014 5:00 am
Location: Poland

Re: Set Chrome to run icognito as default browser ?

Post by Dun » Tue Aug 05, 2014 5:06 pm

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!
Sandboxie 5.19.4 personal lifetime license user || Win10 x64 Pro CU (up to date) || ESET SS 10+ x64 || AppGuard 4+ || Firefox 54+ x64 || UAC on

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest