New
#11
It does the same thing as the settings page does but manually with the registry. It's what I attempted to do but there a hash that prevented me to do so (windows revert the app to the default one if the hash is not the correct one). What the coder of the SetDefaultBrowser tool did is reverse engineer how that hash is calculated allowing the registry setting to apply.
@Josey Wales don't know why you linked that image. This is what I still see btw: https://i.imgur.com/ykU5KLI.png
type this into a cmd window (with admin rights)
Program Files\Mozilla Firefox\uninstall\helper.exe" /SetAsDefaultAppGlobal
hit enter
it is in the registry under Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\InstallInfo
as the Value of "ReinstallCommand"
it might help to read this into the registry (copy it to a file called <something>.reg and hit enter
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE]
@="FIREFOX.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\Capabilities]
"ApplicationDescription"="FIREFOX.EXE delivers safe, easy web browsing. A familiar user interface, enhanced security features including protection from online identity theft, and integrated search let you get the most out of the web.It's fast, stable, and easy to use. Browse the web more safely with malware and phishing protection built into FIREFOX.EXE."
"ApplicationIcon"="C:\\Program Files\\Mozilla Firefox\\firefox.exe,0""
"ApplicationName"="FIREFOX.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\Capabilities\FileAssociations]
".htm"="FirefoxHTML"
".html"="FirefoxHTML"
".shtml"="FirefoxHTML"
".xht"="FirefoxHTML"
".xhtml"="FirefoxHTML"
".webp"="FirefoxHTML"
".pdf"="FirefoxHTML"
".svg"="FirefoxHTML"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\Capabilities\Startmenu]
"StartMenuInternet"="FIREFOX.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\Capabilities\URLAssociations]
"ftp"="FirefoxHTML"
"http"="FirefoxHTML"
"https"="FirefoxHTML"
"irc"="FirefoxHTML"
"mailto"="FirefoxHTML"
"mms"="FirefoxHTML"
"news"="FirefoxHTML"
"nntp"="FirefoxHTML"
"sms"="FirefoxHTML"
"smsto"="FirefoxHTML"
"tel"="FirefoxHTML"
"urn"="FirefoxHTML"
"webcal"="FirefoxHTML"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\DefaultIcon]
@="C:\\Program Files\\Mozilla Firefox\\firefox.exe,0""
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\InstallInfo]
"HideIconsCommand"=""C:\\Program Files\\Mozilla Firefox\\uninstall\\helper.exe" /HideShortcuts"
"ShowIconsCommand"=""C:\\Program Files\\Mozilla Firefox\\uninstall\\helper.exe" /ShowShortcuts"
"ReinstallCommand"=""C:\\Program Files\\Mozilla Firefox\\uninstall\\helper.exe" /SetAsDefaultAppGlobal"
"IconsVisible"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\shell\open\command]
@="""C:\\Program Files\\Mozilla Firefox\\firefox.exe""
GARBAGE ALL
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE]
@="FIREFOX.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\Capabilities]
"ApplicationDescription"="FIREFOX.EXE delivers safe, easy web browsing. A familiar user interface, enhanced security features including protection from online identity theft, and integrated search let you get the most out of the web.It's fast, stable, and easy to use. Browse the web more safely with malware and phishing protection built into FIREFOX.EXE."
"ApplicationIcon"="C:\\Program Files\\Mozilla Firefox\\firefox.exe,0""
"ApplicationName"="FIREFOX.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\Capabilities\FileAssociations]
".htm"="FirefoxHTML"
".html"="FirefoxHTML"
".shtml"="FirefoxHTML"
".xht"="FirefoxHTML"
".xhtml"="FirefoxHTML"
".webp"="FirefoxHTML"
".pdf"="FirefoxHTML"
".svg"="FirefoxHTML"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\Capabilities\Startmenu]
"StartMenuInternet"="FIREFOX.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\Capabilities\URLAssociations]
"ftp"="FirefoxHTML"
"http"="FirefoxHTML"
"https"="FirefoxHTML"
"irc"="FirefoxHTML"
"mailto"="FirefoxHTML"
"mms"="FirefoxHTML"
"news"="FirefoxHTML"
"nntp"="FirefoxHTML"
"sms"="FirefoxHTML"
"smsto"="FirefoxHTML"
"tel"="FirefoxHTML"
"urn"="FirefoxHTML"
"webcal"="FirefoxHTML"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\DefaultIcon]
@="C:\\Program Files\\Mozilla Firefox\\firefox.exe,0""
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\InstallInfo]
"HideIconsCommand"=""C:\\Program Files\\Mozilla Firefox\\uninstall\\helper.exe" /HideShortcuts"
"ShowIconsCommand"=""C:\\Program Files\\Mozilla Firefox\\uninstall\\helper.exe" /ShowShortcuts"
"ReinstallCommand"=""C:\\Program Files\\Mozilla Firefox\\uninstall\\helper.exe" /SetAsDefaultAppGlobal"
"IconsVisible"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\FIREFOX.EXE\shell\open\command]
@="""C:\\Program Files\\Mozilla Firefox\\firefox.exe""
Found that there is a link on the Settings > Apps > Default apps page to "Choose default apps by protocol" that shows Firefox as an option for the HTTP and HTTPS protocols.
After setting Firefox as the default app for these protocols, FF became the default app as desired.