Importing saved PuTTY sessions restores connection profiles after migrating to a new Windows PC, recovering from a profile reset, or deploying a standard set of connection presets across multiple machines.
PuTTY stores saved sessions in the Windows Registry under the current user, and the common “settings file” format is a .reg export of the sessions registry key. Importing that .reg file merges the exported session entries back into the registry so they show up in the Saved Sessions list.
A registry merge can overwrite existing sessions with the same name and can change unrelated settings if extra keys are included in the file. Portable PuTTY configured to store settings in an ini file (such as putty.ini) does not use registry-based session imports, so the export format and import behavior can differ.
Steps to import PuTTY sessions from a .reg file:
- Close PuTTY if it is running.

- Open the .reg session file in Notepad for review.
Only import .reg files from trusted sources.
- Confirm the file only contains keys under HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions.
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\example%20session] "HostName"="ssh.example.net" "PortNumber"=dword:00000016
Session names in registry exports are URL-encoded, so spaces commonly appear as 20 in key names.
- Open the Run dialog (Win+R).

- Enter regedit and click OK.

- Browse to HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions in Registry Editor.

- Right-click Sessions and select Export.

- Save the export to a backup .reg file.
Restoring a backup uses the same merge flow as an import.
- Double-click the provided .reg file to merge the sessions into the registry.
Imported session entries replace existing sessions with the same name.
- Confirm the Registry Editor prompt to apply the changes.

- Launch PuTTY.

- Select Session in PuTTY and check that the imported entries appear under Saved Sessions.
If sessions do not appear, re-check the root key in the file and confirm the import was run under the intended Windows user account.
- Select an imported session and click Load to verify the profile fields populate.

Mohd Shakir Zakaria is a cloud architect with deep roots in software development and open-source advocacy. Certified in AWS, Red Hat, VMware, ITIL, and Linux, he specializes in designing and managing robust cloud and on-premises infrastructures.
