Export
cmd.exe, requires elevated prompt due to reg-edit:
Only sessions (produces file putty-sessions.reg on the Desktop):
regedit /e "%USERPROFILE%\Desktop\putty-sessions.reg" HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions
All settings except ssh keys (produces file putty.reg on the Desktop):
regedit /e "%USERPROFILE%\Desktop\putty.reg" HKEY_CURRENT_USER\Software\SimonTatham
Powershell
Only sessions (produces file putty-sessions.reg on the Desktop):
reg export HKCU\Software\SimonTatham\PuTTY\Sessions ([Environment]::GetFolderPath("Desktop") + "\putty-sessions.reg")
All settings except ssh keys (produces file putty.reg on the Desktop):
reg export HKCU\Software\SimonTatham ([Environment]::GetFolderPath("Desktop") + "\putty.reg")
Import
Double-click on the *.reg file and accept the import.
Alternative ways:
cmd.exe, requires elevated command prompt:
regedit /i putty-sessions.reg
regedit /i putty.reg
PowerShell
reg import putty-sessions.reg
reg import putty.reg
Note: do not replace SimonTatham with your username.
Note: These commands will not export the related SSH keys.
Via Registry Editor
Export
- Launch Run, then type regedit in the open drop down window
- Navigate to
HKEY_CURRENT_USER\Software\SimonTatham
- Right click on
SimonTatham key (directory icon), select Export. Give the file a name (say) putty.reg and save it to your location for later use.
- Close Registry Editor.
Note: The export (full) will also export the related SSH Host Keys.
Import
PuTTY Portable Restore
[path_to_Your_portable_apps]PuTTYPortable\Data\settings\putty.reg