Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get PuTTY sessions from Windows folder

I have my hard drive from my old workstation, I did not export the PuTTY session from my old machine. I am in a situation that I am not able to boot from it, but I have it as a slave drive.

Is there any way I can scavenge the PuTTY sessions from that hard drive?

like image 348
riderchap Avatar asked Feb 18 '16 03:02

riderchap


People also ask

Where is PuTTY sessions saved on Windows?

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.

How do I import a session list into PuTTY?

You can also import the registry key and value interactively: Click on Start -> Run -> regedit -> Click File menu -> Click Import menu-item ->select the putty-registry. reg -> click on Import, to import the PuTTY sessions to the destination windows machine.


1 Answers

The PuTTY sessions are stored in Windows registry in key

HKEY_CURRENT_USER\SOFTWARE\SimonTatham\PuTTY

If you have a raw file system access only, you have to use some tool that can decode the HKEY_CURRENT_USER registry file C:\Users\username\ntuser.dat.

One freeware tool that can do this is MiTeC Windows Registry Recovery.


For details on the process see my guide How do I transfer my settings to another computer, when source computer is not running anymore?

The guide is for transferring settings of WinSCP client, but will work for PuTTY too. Just substitute key path Software/Martin Prikryl/WinSCP 2 with Software/SimonTatham/PuTTY.

like image 99
Martin Prikryl Avatar answered Sep 25 '22 01:09

Martin Prikryl