"how do i get internet explorer to handle custom protocol handlers correctly?" Code Answer

1

i guess there is a permissions issue with cmd.exe being called by internet explorer. instead, i had to start entirely over with powershell. here is the working registry keys with absolutely no additional scripts or putty program modifications that are shown in some workarounds i found online:

windows registry editor version 5.00

[hkey_classes_rootssh]
@="url:ssh protocol"
"url protocol"=""

[hkey_classes_rootsshshell]

[hkey_classes_rootsshshellopen]

[hkey_classes_rootsshshellopencommand]
@="c:\windows\system32\windowspowershell\v1.0\powershell.exe -command "$uri = [system.uri]'%l';&"${env:programfiles}\putty\putty.exe" -p $uri.port $uri.getcomponents([system.uricomponents]::userinfo -bor [system.uricomponents]::host, [system.uriformat]::uriescaped)""

i can now open ssh and vnc links from all three major browsers.

By Joel Gauvreau on January 13 2022
Only authorized users can answer the Search term. Please sign in first, or register a free account.