Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-08-2017, 02:26 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,099
Launch RDP or HTTP Connections from SecureCRT's Session Manager



UPDATE: 2021/05/05
SecureCRT 9.0 for Windows introduced native support for RDP connections.




This script example facilitates management of RDP, HTTPS, and HTTP connections from within SecureCRT's session manager. Currently designed to work only in SecureCRT for Windows.
  1. Download the script file and save it to the location on your local machine where it will always be available.

    Idea: Store the script file inside SecureCRT's configuration folder -- just inside the main "Config" level.

  2. Map a button on SecureCRT's button bar to run the script.


  3. Run the script.
    • The first time it runs, it will create three template sessions for you.


    • To create RDP, HTTP, or HTTPS sessions, simply double-click the template session for the protocol you desire, and you'll be prompted for the information associated with the machine/address you'd like to connect to. Then a session will be saved and automatically connected. Alternatively you can create new sessions by running the script again (say, by clicking on the button you've created on the button bar). The process will be similar, except you'll first be prompted to specify which protocol (RDP, HTTPS, or HTTP) you want to use for the new session.


    • If you desire to create a multiplicity of RDP/HTTP/HTTPS sessions in bulk, populate the clipboard with data like is demonstrated below, and then run the script by clicking on the button you've created.
      Code:
      http://www.vandyke.com/support 
      https://forums.vandyke.com/showthread.php?t=10365
      rdp://192.168.1.97
      rdp://192.168.1.143
      rdp://192.168.1.146
      rdp://127.0.0.1:33389

  4. Create RDP/HTTP/HTTPS sessions using the techniques described. New sessions are created in a folder that will appear in SecureCRT's session manager, named #_New_HTTP-RDP_Sessions (so named so that it appears near the top of the session manager).


  5. Feel free to move new sessions to the session manager folder location of your choice.

  6. Double-click a saved session to connect.

Enjoy!

--Jake

If you're looking for the legacy version of this example script (which was much more cumbersome to use/maintain), you can find it here.
Attached Images
File Type: png RDP-HTTP-Connector-01-Download.png (43.8 KB, 11122 views)
File Type: png RDP-HTTP-Connector-02-CreateButton.png (31.5 KB, 11115 views)
File Type: png RDP-HTTP-Connector-03-FirstRun-TemplatesCreated.png (14.0 KB, 10733 views)
File Type: png RDP-HTTP-Connector-04-TemplatesInSessionManager.png (10.1 KB, 10716 views)
File Type: png RDP-HTTP-Connector-05-HostnamePrompt.png (5.2 KB, 10463 views)
File Type: png RDP-HTTP-Connector-06-PortPrompt.png (4.0 KB, 10387 views)
File Type: png RDP-HTTP-Connector-07-HTTPSSessionLaunched.png (207.1 KB, 10705 views)
File Type: png RDP-HTTP-Connector-08-SummaryOverview.png (50.1 KB, 11454 views)
Attached Files
File Type: txt RDP-HTTP-Connector.vbs.txt (23.5 KB, 5631 views)
__________________
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; 05-05-2021 at 07:53 AM. Reason: Added note about native RDP support in SecureCRT 9.0 for Windows
Closed Thread

Tags
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 06:25 PM.