URL Protocol Handler REG entry issue

URL Protocol Handler REG entry issue

avatar

ok, ran into this problem trying to get RDM working with the URL's it will generate. I don't know precisely when this bug got introduced, but on upgrading to the latest version of 9.2.10 I still had some bad entries in the registry. Now, we originally installed way back in version 8 I think and have been upgrading since (might even have been 7), and i'm assuming the upgrade logic doesn't check the actual windows registry entries to see if they are all there. I haven't used this feature prior to today.

The basic problem is there are a few things missing in the windows registry in order to get it working as a URL protocol Handler.

1. HKey classes root\rdm key needs to have the reg string value of "URL Protocol" added
2. The hkey_classes_root\rdm\shell\open has a extra slash right before the remotedekstopmanager.exe entry that needs to be removed.

For example, here is the registry output in question for something that does NOT work.

HKEY_CLASSES_ROOT\rdm]
@="URL:rdm Protocol"

[HKEY_CLASSES_ROOT\rdm\DefaultIcon]
@="C:\Program Files (x86)\Devolutions\Remote Desktop Manager\\RemoteDesktopManager.exe"

[HKEY_CLASSES_ROOT\rdm\shell]

[HKEY_CLASSES_ROOT\rdm\shell\open]

[HKEY_CLASSES_ROOT\rdm\shell\open\command]
@="C:\Program Files (x86)\Devolutions\Remote Desktop Manager\\RemoteDesktopManager.exe \"%1\""

Here is the registry output of something that I cleaned up and got working.


[HKEY_CLASSES_ROOT\rdm]
@="URL:rdm Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\rdm\DefaultIcon]
@="C:\Program Files (x86)\Devolutions\Remote Desktop Manager\\RemoteDesktopManager.exe"

[HKEY_CLASSES_ROOT\rdm\shell]

[HKEY_CLASSES_ROOT\rdm\shell\open]

[HKEY_CLASSES_ROOT\rdm\shell\open\command]
@="C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.exe \"%1\""



Once those two things are resolved we can now pass URL strings in IE, and get it working (Chrome is still locking us out, but that's a chrome specific issue from what I can tell).

While I can adjust this on our current installs, if the upgrade switches it back to not working, or just having to remember to do it on all new installs is a bit of work. Can we get the installer to make sure these entries are correct in the future?

All Comments (5)

avatar

David Hervieux

avatar

The beta deleted the rdm key entirely, and replaced it with a RDM Files. Tested it, and it failed. I took a look at the registry creation, but it's missing the URL definition key, and the URL protocol handler key, although the command key appears to have the correct string in it now.

[HKEY_CLASSES_ROOT\RDM Files]
@="Remote Desktop Manager Files"

[HKEY_CLASSES_ROOT\RDM Files\DefaultIcon]
@="C:\Program Files\Devolutions\Remote Desktop Manager\RemoteDesktopManager.exe"

[HKEY_CLASSES_ROOT\RDM Files\Shell]

[HKEY_CLASSES_ROOT\RDM Files\Shell\Open]

[HKEY_CLASSES_ROOT\RDM Files\Shell\Open\Command]
@="C:\Program Files\Devolutions\Remote Desktop Manager\RemoteDesktopManager.exe %1"

avatar

Could you export me what you have fixed?

David Hervieux

avatar

sure, it's actually in the first post, but here is the part that I got working just for reference as well. Please note though, this does NOT reflect that name change that appears to happen in the beta/new version. This is for version 9.2.10

[HKEY_CLASSES_ROOT\rdm]
@="URL:rdm Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\rdm\DefaultIcon]
@="C:\Program Files (x86)\Devolutions\Remote Desktop Manager\\RemoteDesktopManager.exe"

[HKEY_CLASSES_ROOT\rdm\shell]

[HKEY_CLASSES_ROOT\rdm\shell\open]

[HKEY_CLASSES_ROOT\rdm\shell\open\command]
@="C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.exe \"%1\""

avatar

Thank you for all the details. This is now fixed internally.

David Hervieux