Below you will see how you can export and import PuTTY sessions in order to use them on another machine. You can either use the command prompt or PowerShell.


Export Sessions

Open a command prompt and execute the following command in order to export the sessions into a reg file stored on your Desktop.

regedit /e "%USERPROFILE%\Desktop\putty-sessions.reg" HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions


You can also use PowerShell by executing the following command.

reg export HKCU\Software\SimonTatham\PuTTY\Sessions ([Environment]::GetFolderPath("Desktop") + "\putty-sessions.reg")


In case you also want to export the settings from PuTTY plus the sessions, you need to export the root path from PuTTY’s registry settings by executing the following command.

regedit /e "%USERPROFILE%\Desktop\putty.reg" HKEY_CURRENT_USER\Software\SimonTatham


When using PowerShell execute the following command.

reg export HKCU\Software\SimonTatham ([Environment]::GetFolderPath("Desktop") + "\putty.reg")


Import Sessions

In order to import the sessions and settings you can just double click on the reg file on the machine you wanted to import.

Or by using also the command prompt.

regedit /i putty-sessions.reg
regedit /i putty.reg


To import by using PowerShell.

reg import putty-sessions.reg
reg import putty.reg



Links

How to export/import PuTTY sessions list?
https://stackoverflow.com/questions/13023920/how-to-export-import-putty-sessions-list

PuTTY
https://www.putty.org/

Download PuTTY: latest release
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

PuTTY User Manual
https://tartarus.org/~simon/putty-prerel-snapshots/htmldoc/