Adding a program to any protocol:
- Open the Registry Editor.
- Navigate to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet
.
- Find the program (e.g. your browser) you wish to use (you must have already opened it).
- Add
mailto
to the URLAssociations
.
- Do not reboot or log off.
- Close/rReopen the Settings secondary Control Panel and the program will be listed.
- Edit your program's internal settings.
Details:
Windows 10 needs to know what protocols a program supports in order to list the program for the protocol. Thankfully it's fairly simple with a minor complication of having a hash (likely for tracking) involved. I am guessing that the hash is generated per install (just a guess) so you likely can't dump it in to your windows-10-fix-all-junk.reg
file that you run after yet another install of Windows 10.
Blood and bloody hashes!
Mat, I use Waterfox as my default browser because I can (actually) customize it. If you need to create all the registry settings but you don't know where to find the hash well go look for your program in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\
, for Waterfox it was:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Waterfox\TaskBarIDs
Register all the things!
With the hash replaced by stars here is a registry dump (more than needed):
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************]
@="Waterfox Classic"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\Capabilities]
"ApplicationDescription"="Waterfox 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."
"ApplicationIcon"="C:\\MEDIA\\INTERNET\\Waterfox\\56.0\\waterfox.exe,0"
"ApplicationName"="Waterfox"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\Capabilities\FileAssociations]
".htm"="WaterfoxHTML-****************"
".html"="WaterfoxHTML-****************"
".shtml"="WaterfoxHTML-****************"
".xht"="WaterfoxHTML-****************"
".xhtml"="WaterfoxHTML-****************"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\Capabilities\StartMenu]
"StartMenuInternet"="Waterfox-****************"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\Capabilities\URLAssociations]
"ftp"="WaterfoxURL-****************"
"http"="WaterfoxURL-****************"
"https"="WaterfoxURL-****************"
"mailto"="WaterfoxURL-****************"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\DefaultIcon]
@="C:\\MEDIA\\INTERNET\\Waterfox\\56.0\\waterfox.exe,0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\InstallInfo]
"HideIconsCommand"="\"C:\\MEDIA\\INTERNET\\Waterfox\\56.0\\uninstall\\helper.exe\" /HideShortcuts"
"ShowIconsCommand"="\"C:\\MEDIA\\INTERNET\\Waterfox\\56.0\\uninstall\\helper.exe\" /ShowShortcuts"
"ReinstallCommand"="\"C:\\MEDIA\\INTERNET\\Waterfox\\56.0\\uninstall\\helper.exe\" /SetAsDefaultAppGlobal"
"IconsVisible"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\shell\open\command]
@="\"C:\\MEDIA\\INTERNET\\Waterfox\\56.0\\waterfox.exe\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\shell\properties]
@="Waterfox &Options"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\shell\properties\command]
@="\"C:\\MEDIA\\INTERNET\\Waterfox\\56.0\\waterfox.exe\" -preferences"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\shell\safemode]
@="Waterfox &Safe Mode"
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Waterfox-****************\shell\safemode\command]
@="\"C:\\MEDIA\\INTERNET\\Waterfox\\56.0\\waterfox.exe\" -safe-mode"