Tuesday, August 7, 2012

Exporting PuTTY Configuration and Saved Sessions

PuTTY stores its settings in the Windows registry.


To save a backup of your PuTTY settings, you'll need to export the HKEY_CURRENT_USER\Software\SimonTatham registry key to a file.   To export saved sessions to a file run the following comands:
  • For Windows XP:
regedit /e c:\putty.reg “HKEY_CURRENT_USER\Software\SimonTatham"
  • For Windows 7:
reg export HCKU\Software\SimonTatham c:\putty.reg

After this the putty.reg file has been created in your C:\ drive, copy it to the destination host and double-click it to import.


Further questions comments: Call/SMS on +27 84 786 8029 or Email TSM Assist

Exporting WinSCP Configurations and Saved Sessions

This article describes how to transfer WinSCP configuration stored in Windows registry (default for installed WinSCP).

If you were using an INI file, just transfer it into the new installation.


WinSCP can store its configuration both to Windows registry and INI file. When installed, the configuration is by default stored into the registry.

Portable versions use by default an INI file. The configuration can be changed from registry to INI which can then be used for export from a prior installation and import into a new installation.

Click on PREFERENCES:


Check the ADVANCED OPTIONS box and click on the PREFERENCES button.


The following Window will open; click on the EXPORT button:


Save the session information to an INI file:



Transfer this file to the WinSCP installation directory (usually c:\program files\winscp) on the new installation.

On startup, WinSCP will look for an INI file is located in the directory from which WinSCP was started. If it does not find one, it looks for presence of its key in registry. If it does not find that either, it creates an INI file in the default location.

After copying the INI file you can change the configuration storage to make WinSCP import the settings from an INI file to the registry.



WinSCP should then use the ini file and display all stored sessions properly in its interface.

Further questions comments: Call/SMS on +27 84 786 8029 or Email TSM Assist