Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting

Closed Thread
Thread Tools Rate Thread Display Modes
Old 02-12-2015, 04:31 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 823
Example: Import Putty connections into SecureCRT saved sessions

Imports putty configurations into SecureCRT saved sessions.

jdev: 03-02-2018, 4:43pm : Added example to import from MPutty's XML config file. Imports session name/path, hostname, protocol, and port.
jdev: 02-17-2017, 2:20pm : Added example to import from Super Putty's XML config file. Imports session name/path, hostname, protocol, and port.

The script attempts to automatically export existing putty configuration settings to a .reg file in your temporary folder. If this automated attempt fails, putty session info will need to manually be exported to a .reg file, as in running the following command within a CMD.exe shell window:
REG EXPORT HKCU\Software\SimonTatham\PuTTY\Sessions %USERPROFILE%\Documents\ptty.reg

The exported putty registry file is then parsed and SecureCRT sessions are created from supported configuration settings.

To ensure that any pre-existing sessions of the same name are not overwritten, imported sessions are stored in SecureCRT's Session Manager within a new folder named:

A log file of the import operation is written to the Desktop folder for easy review.

How do you run the script?
  1. Download the script file below that corresponds to your putty variant.
  2. Open SecureCRT and choose Script > Run...
  3. When the Select Script to Run window appears, browse to the location of the file you downloaded; select it, and press the Run button.
Jake Devenport
VanDyke Software
Technical Support

Last edited by jdev; 03-02-2018 at 04:55 PM. Reason: Added superputty import script
Closed Thread

example script

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
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:24 AM.