Home > Microsoft > Copy PuTTY sessions between computers

Copy PuTTY sessions between computers

PuTTYI just setup a new machine and realized I had too many PuTTY sessions to manually setup (dozens of them). For some odd reason PuTTY keeps this session data in the Windows Registry. I would have figured it kept the sessions info in a flat file. The registry key is located at:


If you’re not sure how to export and import registry keys this article has some easy to follow steps specific to PuTTY. It’s a fairly easy process, and I figure if your smart enough to use PuTTY you should be able to import/export registry keys without breaking your computer (but still, play with the Registry at your own risk!).

Now to take it another step you could have the sessions exported every day via the following PowerShell command:

REG EXPORT HKCU\Software\SimonTatham\PuTTY\Sessions c:\putty.reg

Simply put that into a  PS script and change the destination to where ya want (I have it set to c:\putty.reg). You could then use Task Scheduler to back it up once a day/week/whatever.

One final note: Earlier I posted about notepad++, which could be used to create the PS script and view/modify the reg file.

Categories: Microsoft Tags:
  1. May 25, 2013 at 22:38

    I love it when people come together and share opinions. Great blog, keep it

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: