Saved PuTTY sessions hold connection details such as the host name, port, and terminal options. On Windows, a trusted .reg settings file can restore these profiles to the Saved Sessions list after a migration or profile reset.
The standard Windows version stores saved sessions in the current user's Windows Registry. A Sessions export transfers connection profiles without copying cached SSH host keys or private key files. Settings files from modified portable builds may use a different format.
A registry import merges the file's entries with existing settings and can overwrite values in sessions with the same name. Sessions absent from the file remain in place. A backup preserves the previous values if an imported profile replaces settings you still need.
Steps to import PuTTY sessions from a settings file:
- Close PuTTY if it is running.
- Open the trusted session .reg file in Notepad.
The Run dialog accepts notepad followed by the file's path; paths containing spaces need quotation marks. Opening the file in a text editor allows inspection without importing it.
- Confirm every registry section in the file is under the PuTTY Sessions key.
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions
A registry file can also change unrelated settings or delete data. Unexpected branches, deletion sections beginning with [-, or value deletions using =- are reasons to stop rather than merge the file.
Spaces in exported session names commonly appear as %20. The displayed Imported%20profile key becomes Imported profile in PuTTY.
- Open Registry Editor from Run with regedit.

- Approve the Registry Editor user account control prompt with Yes if it appears.
The session store belongs to the Windows user running PuTTY. Supplying another account's credentials can target that account's registry instead.
- Select the PuTTY Sessions key in Registry Editor.
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions
The address bar accepts the full key path. If Sessions is absent because no profiles have been saved, the export and backup-file check can be skipped.
- Choose File → Export for the selected Sessions key.

- Save the selected branch as a separate backup file such as putty-sessions-backup.reg.
The backup uses Selected branch under Export range, with the path ending in PuTTY\Sessions. The backup filename must differ from the file being imported.
Re-importing the backup can restore overwritten values, but does not remove newly added session entries.
- Open the folder containing the inspected .reg file in File Explorer.

- Check that the backup file is present before importing over existing sessions.

- Open the inspected session .reg file from File Explorer.
The import overwrites matching registry values without asking about each session name. Only a file from a trusted source with the reviewed Sessions scope should be merged.
- Allow Registry Editor to run with Yes if Windows shows another user account control prompt.

- Choose Yes in the Registry Editor warning for the inspected file.

- Dismiss the successful import message with OK.
An error message does not confirm a complete import.
- Launch PuTTY under the Windows account receiving the sessions.

- Select an imported profile under Saved Sessions on the Session panel.
If the entry is missing, the import may have targeted a different Windows user or registry branch.
- Click Load for the selected profile.

- Verify the loaded Host Name, Port, and Connection type match the imported session.
The displayed profile loads ssh.example.net, port 2222, and SSH from the imported file. Loading a profile does not connect to the server; Open is unnecessary for checking the import.