View Single Post
  #1  
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: 845
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
      or
      LAUNCH: mstsc -v:10.0.0.201:3389

    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
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: http://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: http://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