Default app for a bunch of URL Protocols controlled by .htm default app?

Solution 1:

The following registry key seems to control the URL associations:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations

Each subkey of UrlAssociations contains a key named "[protocolname]\UserChoice". The registry setting named ProgId seems to point to a class root registry key like ftp/http/https/etc.

At my system, on which I have Google Chrome installed, the registry value is by default configured as follows:

[...\UrlAssociations\ftp\UserChoice]
"ProgId"="ChromeHTML"

To make sure Internet Explorer is started when executing the following command:

start "" "ftp://localhost"

The ProgId registry value has to be changed as such:

[...\UrlAssociations\ftp\UserChoice]
"ProgId"="ftp"

And the default value of the registry key ftp\shell\open\command:

[HKEY_CLASSES_ROOT\ftp\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\\iexplore.exe\" \"%1\""

Solution 2:

You can change protocol association in Control Panel > All Control Panel Items > Default Programs > Set Associations. Protocol Associations To find the registry go to this path:: For FTP--

[HKEY_CLASSES_ROOT\ftp] & [HKEY_CLASSES_ROOT\PROTOCOLS\Handler\ftp]

there is also HTTP and HTTPs registry key in that path.