My Windows NT account name was changed, and when starting PuTTY it now appears that my saved session information has been lost.
The FAQ suggests that PuTTY sessions should be stored in HKEY_CURRENT_USER\Software\SimonTatham\PuTTY
.
Wikipedia explains that HKCU maps to NTUSER.DAT
and USRCLASS.DAT
under the current user's Desktop and Settings
folder.
I still have these files for my old account name, but I'm guessing there is no easy way to extract data from these files?
Best Answer
As described by this Microsoft TechNet article you can load a
.dat
file into an existing registry:You can then browse the tree and export the PuTTY configuration from
For the bit where you want to add the old registry settings into your new registry. Before using 'File > Import' to import your .reg file, do the following (I did this on my Windows XP machine and it worked)
Replace all occurences of 'HKCU or HKLM\Entered Key Name' with 'HKEY_CURRENT_USER' so that the reg paths look like the following:
etc.