This method is using registry, so before proceed do a backup of it.
Open command line and type the following command:
regedit /e “%userprofile%\desktop\putty-registry.reg” HKEY_CURRENT_USER\Software\Simontatham
Copy the file generated to the new Windows installation and run it, a prompt window will pop up and click “Yes”. This will merge with config you have for Putty.
The following window should appear saying it was imported successfully.