Migrate PuTTY saved sessions

PuTTY stores its session information in the registry, and there’s no function in PuTTY itself to import/export sessions. This makes moving to a new computer a little sticky. I did some googling and whittled down the documentation for storing configuration in a file into a few steps:

  1. On the old computer, open up a command prompt (not cygwin), and run:

    regedit /ea new.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY

  2. Copy new.reg onto the new computer
  3. On the new computer, open up a command prompt (not cygwin), and run:
    regedit /s new.reg

Done!