Is there a way to do this?
Or I have to take manually every record from Registry?
PuTTY settings are shared in HKEY_CURRENT_USER in the registry, so you can export these to a file for use elsewhere. To export, run RegEdit.exe and navigate to HKEY_CURRENT_USER\Software\SimonTatham\PuTTY. Right click on the PuTTY entry in the tree and select Export. Save this file to your thumb drive or H: drive.
PuTTY sessions are stored in the Windows Registry under “SimonTatham”, the developer of PuTTY. We can export these sessions as a Registry Entry . reg file and back them up for safe keeping, or copy to another computer running PuTTY.
Right click on the “putty-config” file and select “Merge“. This will merge the registry into your new registry. Open up Putty and voila!!! Your old configurations are all back in Putty including all the session keys.
cmd.exe
, require elevated prompt:Only sessions:
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
Only sessions:
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")
Double-click on the *.reg
file and accept the import.
cmd.exe
, require elevated command prompt:regedit /i putty-sessions.reg regedit /i putty.reg
reg import putty-sessions.reg reg import putty.reg
Note: do not replace SimonTatham
with your username.
Note: It will create a reg
file on the Desktop of the current user.
Note: It will not export related SSH keys.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With