3

When I go into the System settings in Windows 10 and look at the "Default apps", the Email option provides Google Chrome, Mail, Microsoft Outlook, and "Look for an app in the Store" as my only options. I've tried right-clicking and shift-clicking. At the bottom of the list I've tried the "Choose default apps by file type", "Choose default apps by protocol", and "Set defaults by app". It seems that only a select set of programs are available as options for handling protocols (such as URLs and mailto links).

I've got a custom executable I'd like to use, but I'd be happy to find instructions for making any portable app the default app for a protocol in Windows 10.

1

I had a similar problem trying to get Chrome to be a default browser in a sandbox. After hunting around for about 4 days, I think I have it sussed and have the below .reg file which does the trick and makes Chrome show up in the default browsers popup in settings. you should be able to adapt for your needs.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ChromeHTML]
@="Chrome HTML Document"
"AppUserModelId"="Chrome"

[HKEY_CLASSES_ROOT\ChromeHTML\Application]
"ApplicationCompany"="Google Inc."
"ApplicationDescription"="Access the Internet"
"ApplicationIcon"="D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe,0"
"ApplicationName"="Google Chrome"
"AppUserModelId"="Chrome"

[HKEY_CLASSES_ROOT\ChromeHTML\DefaultIcon]
@="D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe,0"

[HKEY_CLASSES_ROOT\ChromeHTML\shell]

[HKEY_CLASSES_ROOT\ChromeHTML\shell\open]

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome]
@="Google Chrome"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\Capabilities]
"ApplicationDescription"="Google Chrome is a web browser that runs webpages and applications with lightning speed. It's fast, stable, and easy to use. Browse the web more safely with malware and phishing protection built into Google Chrome."
"ApplicationIcon"="D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe,0"
"ApplicationName"="Google Chrome"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\Capabilities\FileAssociations]
".htm"="ChromeHTML"
".html"="ChromeHTML"
".shtml"="ChromeHTML"
".xht"="ChromeHTML"
".xhtml"="ChromeHTML"
".webp"="ChromeHTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\Capabilities\Startmenu]
"StartMenuInternet"="Google Chrome"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\Capabilities\URLAssociations]
"ftp"="ChromeHTML"
"http"="ChromeHTML"
"https"="ChromeHTML"
"irc"="ChromeHTML"
"mailto"="ChromeHTML"
"mms"="ChromeHTML"
"news"="ChromeHTML"
"nntp"="ChromeHTML"
"sms"="ChromeHTML"
"smsto"="ChromeHTML"
"tel"="ChromeHTML"
"urn"="ChromeHTML"
"webcal"="ChromeHTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\DefaultIcon]
@="D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe,0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\InstallInfo]
"ReinstallCommand"="\"D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe\" --make-default-browser"
"HideIconsCommand"="\"D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe\" --hide-icons"
"ShowIconsCommand"="\"D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe\" --show-icons"
"IconsVisible"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\shell\open\command]
@="\"D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe\""

[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"Google Chrome"="Software\\Clients\\StartMenuInternet\\Google Chrome\\Capabilities"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Google Chrome]
@="Google Chrome"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Google Chrome\Capabilities]
"ApplicationDescription"="Google Chrome is a web browser that runs webpages and applications with lightning speed. It's fast, stable, and easy to use. Browse the web more safely with malware and phishing protection built into Google Chrome."
"ApplicationIcon"="D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe,0"
"ApplicationName"="Google Chrome"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Google Chrome\Capabilities\FileAssociations]
".htm"="ChromeHTML"
".html"="ChromeHTML"
".shtml"="ChromeHTML"
".xht"="ChromeHTML"
".xhtml"="ChromeHTML"
".webp"="ChromeHTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Google Chrome\Capabilities\Startmenu]
"StartMenuInternet"="Google Chrome"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Google Chrome\Capabilities\URLAssociations]
"ftp"="ChromeHTML"
"http"="ChromeHTML"
"https"="ChromeHTML"
"irc"="ChromeHTML"
"mailto"="ChromeHTML"
"mms"="ChromeHTML"
"news"="ChromeHTML"
"nntp"="ChromeHTML"
"sms"="ChromeHTML"
"smsto"="ChromeHTML"
"tel"="ChromeHTML"
"urn"="ChromeHTML"
"webcal"="ChromeHTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Google Chrome\DefaultIcon]
@="D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe,0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Google Chrome\InstallInfo]
"ReinstallCommand"="\"D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe\" --make-default-browser"
"HideIconsCommand"="\"D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe\" --hide-icons"
"ShowIconsCommand"="\"D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe\" --show-icons"
"IconsVisible"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Google Chrome\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Google Chrome\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet\Google Chrome\shell\open\command]
@="\"D:\\Sandbox\\Chrome\\drive\\C\\Program Files (x86)\\Google\Chrome\\Application\\chrome.exe\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\RegisteredApplications]
"Google Chrome"="Software\\Clients\\StartMenuInternet\\Google Chrome\\Capabilities"
1

Simple fix for Lotus Notes 6:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"Lotus Notes"="SOFTWARE\\WOW6432Node\\Lotus\\Notes\\Capabilities"

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lotus\Notes\Capabilities]

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lotus\Notes\Capabilities\UrlAssociations]
"mailto"="mailto"

Test passed on mailto: links as of April 29, 2018.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.