I would like to set the Tor browser as my default browser in Windows 7, but the setting in options/advanced is not working or will not hold. How do I fix this?
I successfully configured Tor Browser 5.0.1 as default browser in Windows 8.
Note that you cannot open Firefox and Tor Browser in parallel when using this solution. Probably both browsers use the same marker for the -osint flag, so that you have to close one browser completely before starting the other one.
1. Don't check default browser.
First disable "Always check if Tor Browser is your default browser", because the dialog would still show up on every start, even if you follow this instructions.
2. Create registry entries for Tor Browser
We need to enable Tor Browser to be shown in the "Set your default programs" window. Therefore create a file torbrowser.reg with following content. Replace C:\Users\MyUser\AppData\Local\Tor Browser by your installation path (back slashes must be escaped with back slashes).
Windows Registry Editor Version 5.00 ; Infamous capabilities: [HKEY_LOCAL_MACHINE\SOFTWARE\Tor Browser\Capabilities] "ApplicationDescription"="Tor Browser - Anonymity Online" "ApplicationIcon"="C:\\Users\\MyUser\\AppData\\Local\\Tor Browser\\Browser\\firefox.exe,0" "ApplicationName"="Tor Browser" [HKEY_LOCAL_MACHINE\SOFTWARE\Tor Browser\Capabilities\FileAssociations] ".htm"="TorBrowserURL" ".html"="TorBrowserURL" ".shtml"="TorBrowserURL" ".xht"="TorBrowserURL" ".xhtml"="TorBrowserURL" [HKEY_LOCAL_MACHINE\SOFTWARE\Tor Browser\Capabilities\URLAssociations] "ftp"="TorBrowserURL" "http"="TorBrowserURL" "https"="TorBrowserURL" ; Register to Default Programs [HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications] "Tor Browser"="Software\\Tor Browser\\Capabilities" ; TorBrowserURL HANDLER: [HKEY_LOCAL_MACHINE\Software\Classes\TorBrowserURL] @="Tor Browser Document" "FriendlyTypeName"="Tor Browser Document" [HKEY_LOCAL_MACHINE\Software\Classes\TorBrowserURL\shell] [HKEY_LOCAL_MACHINE\Software\Classes\TorBrowserURL\shell\open] [HKEY_LOCAL_MACHINE\Software\Classes\TorBrowserURL\shell\open\command] @="\"C:\\Users\\MyUser\\AppData\\Local\\Tor Browser\\Browser\\firefox.exe\" -osint -url \"%1\""
Save and double click the file, to add registry entries for Tor Browser.
3. Set Tor Browser as default browser
Go to the Windows Control Panel and open the Default Programs option. Select Tor Browser and click to set it as default program for all associated formats.
4. Update your bookmarks
If you try the above, you'll see the "Tor Browser is already running" message, when other applications try to open a website while the browser is already open. To prevent that you have to always start Tor Browser with the
-osint option. For example my shortcut in the task bar calls
"C:\Users\MyUser\AppData\Local\Tor Browser\Browser\firefox.exe" -osint.
You successfully configured Tor Browser as your default browser.
Tor Browser can't be the Windows default browser because it doesn't tell the operating system that it is installed: it is just a series of executable files on your desktop so far as Windows is concerned. You can't even use Tor Browser to open HTML document on your hard drive because it uses several executables at once.
Try to set it in the standard programs menu of windows. You can read a detailed howto for windows 7 here: http://www.bleepingcomputer.com/forums/t/43506/how-to-change-the-default-web-browser-in-windows/