Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Old 08-07-2017, 11:30 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,099
Example: Launch RDP or HTTP Connections from SecureCRT Session

Update (2017-09-08):
Consider using the new and improved version of this concept script found in another forum thread.

Ever wanted to manage your RDP and HTTP/HTTPS connections within the session hierarchy of the session manager within SecureCRT?
With a little setup to create a "template" session that will run this script, you can have SecureCRT launch RDP and/or HTTP connections directly from the session manager in SecureCRT.

Here's how it works:
  1. Set up a session that uses the Serial protocol to connect to any well-known named pipe in Windows. For example /pipe/eventlog.
    1. In the Description field of your session, add a LAUNCH: tag for each URL or RDP session you'd like to launch with this session. For example:
      LAUNCH: http://www.vandyke.com/support
      LAUNCH: mstsc -v:

    2. Configure the session to have a Logon script field pointing to this script file itself.
    3. Supply an argument of /AUTOCLOSE if you do not desire to see a blank tab opened in SecureCRT as part of the launch of HTTP or RDP client.
  2. Save a copy of the template session for each RDP or HTTP host you'd like to connect to, modifying the session name and the Description's LAUNCH: tag to indicate what you'd like to launch. It doesn't matter what you put in the LAUNCH: tag; as long as your system can "run" it, it should work for you.

Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support

Last edited by jdev; 09-08-2017 at 02:30 PM. Reason: Added reference to newer script example
Reply With Quote

example script

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 12:51 AM.