ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > LaunchBar Commander

Problem with 1.129.01 when launching rdp-Files

<< < (2/2)

hornsts:
I use LBC to start RDP-Sessions in the same way MichaelHerrmann does. So I have the problem too.
As I have a lot of RDP-Files, I wasn't very happy to create shortcuts to them. But as I missed it so much, I tried the suggested workaround with shortcuts. Sadly  without success. I received the same error message as before.
The creation of many batch files was not an option and I decided to find a different solution.
After some investigation I found out, that LBC's quickdoclauncher.exe tries to find the shell open command for RDP.File in the registry. But this isn't possible, because for RDP.Files the shell command "connect" is used instead.
After adding the shell command "Open", LBC was able to launch my RDP-Sessions again. Hooray!!  :Thmbsup:
In Win XP this can be achieved by using the file and folder options dialog. Simply create a new action "Open" by using the same entries as the default action "Connect".
In Win7, and I think in Vista too, this way can't be used any more. A big "thank you" to Redmond! 
The following way isn't very hard, but it changes the registry directly!!! Do this only, if you know what you are doing!!! Use it at your own risk!!!
I exported the corresponding registry entries under "HKEY_CLASSES_ROOT\RDP.File\shell\Connect" to a file, changed every "Connect" to "Open" in it and finally imported the file.
This is the content of the REG-File that I've used:

--- ---Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\RDP.File\shell\Open]
@="Open"
"MUIVerb"=hex(2):40,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,\
  6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
  00,6d,00,73,00,74,00,73,00,63,00,2e,00,65,00,78,00,65,00,2c,00,2d,00,34,00,\
  30,00,30,00,32,00,00,00

[HKEY_CLASSES_ROOT\RDP.File\shell\Open\command]
@="mstsc.exe \"%1\""

mouser:
Nice investigation and solution!  :up:

Could it also be solved by right-clicking on an rdp file in widows explorer and saying "open with -> (always) ->" and the mstsc.exe?

hornsts:
This would have been a nice and easy fix. But at least in Win7 it doesn't seem to work this way.
I assume, that RDP-connections as a part of the OS are somehow preconfigured with the default action "connect" on opening RDP-files. So "open with.." is always interpreted as "connect" and no shell command "open" will be created in the registry. But without this LBC's quickdoclauncher.exe isn't able to "launch" RDP-Files.
Anyway I'm not sure, if changing the OS default action from "connect" to (always) "open" (with...) would be a good solution.  :-\

Navigation

[0] Message Index

[*] Previous page

Go to full version