LLI Wiki — My Digital Knowledge Base

Export PuTTY sessions and settings

Back up PuTTY sessions and settings from the Windows registry using regedit or reg export.

PuTTY sessions and settings are stored in the Windows registry under HKEY_CURRENT_USER\Software\SimonTatham. Exporting them lets you back them up or move them to another workstation.

Export with regedit (cmd)

Sessions only:

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

All settings:

regedit /e "%userprofile%\desktop\putty.reg" HKEY_CURRENT_USER\Software\SimonTatham

Export with PowerShell

Sessions only:

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

All settings:

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

Notes

Mastodon LLIMastodon SocialFosstodon