PDA

View Full Version : SecureCRT to open Telnet:// links in tab


UsamaWaheed
02-09-2017, 06:29 AM
Hi,

I have the latest SecureCRT 8.1 installed and it is the default handler for the Telnet:// URL(s). However, they each open new instance of SecureCRT instead of opening them in TAB. Can you kindly help out with this?

Some information below:

OS: WIN 10 Pro x64
SecureCRT: Version 8.1.0 (x64 build 1294)

Registry Value of HKCR\telnet\shell\open\command
Default: "C:\Windows\System32\rundll32.exe" "C:\Windows\System32\url.dll",TelnetProtocolHandler %1
Also changed the value to : "C:\Program Files\VanDyke Software\SecureCRT\SecureCRT.exe" /T %1 ------ with no effect

Kindly let me know if any further information is required.

Thanks,
Usama

ekoranyi
02-09-2017, 11:13 AM
Hi UsamaWaheed,

I'm sorry you're having trouble.

There is a work around that you could try. It would force
SecureCRT into Single Instance mode, you would not be able
to open two separate instances of SecureCRT.

To accomplish this:

Locate the config folder info in the General / Configuration Paths category of SecureCRT's Global Options
Close all instances of SecureCRT/FX
Navigate to your SecureCRT configuration folder
Locate and open the Global.ini file
Find the line containing "Single Instance"
Modify the line to D:"Single Instance"=00000001
Save the changes to Global.ini


Now that SecureCRT is in Single Instance mode any link selected should open in a new tab.

Does this help?

UsamaWaheed
02-09-2017, 11:39 PM
Hi,

Tested it with your instructions and its working now and open the link in new TAB instead of a new instance.

Thanks, however, as a drawback of this is that I can only open one instance. Sometimes I need to open multiple sessions manually to connect to different parts of the networks for my ease of management(One SecureCRT instance for one particular part of the network). Can you kindly look into a way that allow me open to multiple instance manually and still allow links to be opened in TABs instead of new instance for each (if multiple instances are running, I don't mind them opening in whichever instance as long as they open in new tabs).

Thanks.

ekoranyi
02-10-2017, 09:31 AM
Hi UsamaWaheed,

I have added this thread to a feature request in our product
enhancement database for the ability to have multiple
instances enabled and have links open in new tabs instead of
windows. Should a future release of SecureCRT include this
feature, notification will be posted here.

If you prefer direct email notification, send an email to
support@vandyke.com and include "Feature
Request - Forum Thread #12607" in the subject line.

ekoranyi
02-10-2017, 11:43 AM
Hi UsamaWaheed,


After further review it appears we may have a workaround that does exactly what you are looking for. I have included a CMD reg add command that will accomplish this for you. I would suggest reverting the changes made to your global.ini file and trying this approach instead.

Changing the registry key to include /T is still the way to go. The location of the registry key has changed as of Windows 8 and newer.

Note: You may need to run CMD as Administrator for this to work and you must ensure that the path to SecureCRT.exe matches the actual install location.

For SecureCRT standalone, here's the reg add command to run in CMD.exe:
reg add HKCR\VanDyke.SecureCRT.URLHandler.1\shell\open\command /d "\"C:\Program Files\VanDyke Software\SecureCRT\SecureCRT.exe\" /T %1" /F
For SecureCRT/FX bundled install:
reg add HKCR\VanDyke.SecureCRT.URLHandler.1\shell\open\command /d "\"C:\Program Files\VanDyke Software\Clients\SecureCRT.exe\" /T %1" /F

Does that workaround provide the behavior you wanted?

UsamaWaheed
02-12-2017, 12:48 AM
Hey Eric,

Thanks for taking the time to further investigate even after adding it as a feature request.

Your workaround worked like a charm :D

You guys simply provide the best post purchase support ever for a software :)

Just a suggestion for the feature, add this as a tick in the Global Options -> Web Browser Setup -> [] Open new URL Telnet Links in tabs instead of new instance.

You can close this thread if you like.

Thanks,
Usama

ekoranyi
02-13-2017, 09:21 AM
Hi UsamaWaheed,

I'm glad we found a solution that works for you.

Have a great rest of the day.

m_704
11-26-2017, 07:43 AM
Hi dear ekoranyi
Thank you so much for your great answer,That worked. Perfect!

ekoranyi
11-27-2017, 09:14 AM
Hi m_704,

I'm glad to hear that this worked for you. Thanks for the feedback.

badgerdog
02-17-2018, 01:14 AM
Hi m_704,

I'm glad to hear that this worked for you. Thanks for the feedback.

I have the same problem with my SecureCRT v6.5

I tried your registry entries, but mine will still not open in tabs from my browsers; the "/T" always works from the CLI.

I'm running Windows 10 Pro. Any other solutions?

Best

ekoranyi
02-19-2018, 10:16 AM
Hi badgerdog,

I'm sorry you're having trouble. SecureCRT 6.5 was only supported on the following Windows Platforms.

Windows 7, Vista, 2003, and XP for x86 and x64, and Windows 2000

It's use on Windows 10 is not supported and may not behave as expected.

Our current release, 8.3.2, is available with a fully featured 30 day evaluation period, it can be found for download here (https://www.vandyke.com/download/securecrt/download.html). Do you see the same behavior when using the current release?

DaveyNL
11-22-2019, 05:30 AM
Very helpfull reg entry!

Dave

koenv
11-25-2019, 03:45 AM
Just a suggestion for the feature, add this as a tick in the Global Options -> Web Browser Setup -> [] Open new URL Telnet Links in tabs instead of new instance.

Yes pretty please. This should have a proper checkbox somewhere.

bgagnon
11-25-2019, 11:10 AM
Hi koenv,

To clarify, this forum post is not about opening web pages from SecureCRT. It's about opening SecureCRT connections from a web page. The registry option that was referenced is about opening new connections in a tab within SecureCRT (the connections coming from outside of SecureCRT). Any URLs opened by SecureCRT that would result in a web browser being opened up is usually based on the web browser configuration.

However, I have created a feature request on your behalf in our product enhancement database to add a GUI option to facilitate opening new web browser URL links in a tab. Should a future release of SecureCRT include this feature, notification will be posted here.

If you prefer direct email notification, send an email to support@vandyke.com and include Feature Request - Forum Thread #12607 in the subject line or use this form (https://secure.vandyke.com/cgi-bin/customer_form.php?cft=feature) from the support page of our website.