How to copy PuTTY sessions from crashed computer?












3














I had PuTTY on crashed computer and it had many of items in sessions.



I have access to the system drive of crashed computer.



How to reach PuTTY's registry branch and copy it to new active computer?










share|improve this question
























  • Connect to its registry and use this solution: http://stackoverflow.com/questions/13023920/how-to-export-putty-sessions-list
    – pbies
    Dec 10 '16 at 8:40
















3














I had PuTTY on crashed computer and it had many of items in sessions.



I have access to the system drive of crashed computer.



How to reach PuTTY's registry branch and copy it to new active computer?










share|improve this question
























  • Connect to its registry and use this solution: http://stackoverflow.com/questions/13023920/how-to-export-putty-sessions-list
    – pbies
    Dec 10 '16 at 8:40














3












3








3


2





I had PuTTY on crashed computer and it had many of items in sessions.



I have access to the system drive of crashed computer.



How to reach PuTTY's registry branch and copy it to new active computer?










share|improve this question















I had PuTTY on crashed computer and it had many of items in sessions.



I have access to the system drive of crashed computer.



How to reach PuTTY's registry branch and copy it to new active computer?







windows windows-registry putty






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 10 '16 at 8:55









Martin Prikryl

10.8k43276




10.8k43276










asked Dec 10 '16 at 8:19









Dims

2,96743109179




2,96743109179












  • Connect to its registry and use this solution: http://stackoverflow.com/questions/13023920/how-to-export-putty-sessions-list
    – pbies
    Dec 10 '16 at 8:40


















  • Connect to its registry and use this solution: http://stackoverflow.com/questions/13023920/how-to-export-putty-sessions-list
    – pbies
    Dec 10 '16 at 8:40
















Connect to its registry and use this solution: http://stackoverflow.com/questions/13023920/how-to-export-putty-sessions-list
– pbies
Dec 10 '16 at 8:40




Connect to its registry and use this solution: http://stackoverflow.com/questions/13023920/how-to-export-putty-sessions-list
– pbies
Dec 10 '16 at 8:40










2 Answers
2






active

oldest

votes


















4














You can use some registry reading tool. Like MiTec Windows Registry Recovery.



See my guide to recovering settings of WinSCP. With PuTTY, it's identical, except for the registry key path, of course:




  • In MiTec Windows Registry Recovery, go to File > Open.

  • Locate registry hive file of your account. It is typically located in C:Usersusernamentuser.dat (or C:Documents and Settingsusernamentuser.dat in Windows XP and older). Note that the file is usually hidden.

  • Go to Explore > Raw Data.

  • Locate key Software/SimonTatham/PuTTY/Sessions.

  • Go to File > Export to REGEDIT4 format.

  • On Export to REGEDIT4 dialog, select HKEY_CURRENT_USER and check both Only selected key and Cut off root key name.

  • Save export to file of your choice.

  • Transfer the file to target system.

  • Import the registry export by opening it (double-click).






share|improve this answer























  • 100% comprehensive, thanks for tool too!
    – Dims
    Dec 11 '16 at 12:45



















0














Here is a simple tutorial on how to extract your Putty configuration from an old Windows/Crashed Windows without any extra software. This was very helpful to me and I just want to share the same stes here in case the below one goes down.
Credits : http://www.miniservernation.com/2012/05/putty-import-settings-from-old-hdd-or-crashed-system/



Pre-requisites:

• your registry file must still be accessible (located in user profiles)
Steps on restoring putty configurations:




  1. On your new Windows run putty once. Then create a dummy configuration server. This is make Putty create a new configuration entry in registry.

  2. Close putty.

  3. Use windows run command (Windows Key + r) to run “regedit“.

  4. Once in registry editor, highlight “HKEY_LOCAL_MACHINE“

  5. Then click File -> Load Hive…

  6. A dialog box will ask for the registry file to open. Explore to your old user profile folder. For eg, “C:Windows.oldUsersmyusernameNTUSER.DAT“

  7. You will be prompted a name for this key name. Just put anything you like. In this example, we use “old-registry“.

  8. You can now expand HKEY_LOCAL_MACHINE and you will see the key file you just opened under the label you put in step 7.

  9. Expand as such, HKEY_LOCAL_MACHINEold-registrySoftwareSimonTatham

  10. Now highlight SimonTatham on your left hand side of regedit and right-click then choose export.

  11. Export this registry entry to a file name and location of your choice. I put it in desktop and call it “putty-config“. This file will have the extension of .reg. But those who didn’t enable view extensions will not see it. That is fine.

  12. Now you can unload old-registry from your hive. Make sure “old-registry” is highlighted. Select File -> Unload Hive…

  13. Once you have unload the hive, close regedit.

  14. Use notepad to open up the registry file you just saved. For me, it’s “putty-config“.

  15. Use replace “HKEY_LOCAL_MACHINEold-registry” with “HKEY_CURRENT_USER“. Click Replace All.

  16. Now save the file and close notepad.

  17. Right click on the “putty-config” file and select “Merge“. This will merge the registry into your new registry.

  18. Open up Putty and voila!!! Your old configurations are all back in Putty including all the session keys.






share|improve this answer

















  • 1




    Good idea. Though I find importing the old hive to HKLM unnecessarily risky. Why don't you load it to HKCU?
    – Martin Prikryl
    Dec 18 '18 at 8:14










  • Yeah.. that's better.. You can edit :)
    – Anand Varkey Philips
    Dec 18 '18 at 9:58











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1155050%2fhow-to-copy-putty-sessions-from-crashed-computer%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














You can use some registry reading tool. Like MiTec Windows Registry Recovery.



See my guide to recovering settings of WinSCP. With PuTTY, it's identical, except for the registry key path, of course:




  • In MiTec Windows Registry Recovery, go to File > Open.

  • Locate registry hive file of your account. It is typically located in C:Usersusernamentuser.dat (or C:Documents and Settingsusernamentuser.dat in Windows XP and older). Note that the file is usually hidden.

  • Go to Explore > Raw Data.

  • Locate key Software/SimonTatham/PuTTY/Sessions.

  • Go to File > Export to REGEDIT4 format.

  • On Export to REGEDIT4 dialog, select HKEY_CURRENT_USER and check both Only selected key and Cut off root key name.

  • Save export to file of your choice.

  • Transfer the file to target system.

  • Import the registry export by opening it (double-click).






share|improve this answer























  • 100% comprehensive, thanks for tool too!
    – Dims
    Dec 11 '16 at 12:45
















4














You can use some registry reading tool. Like MiTec Windows Registry Recovery.



See my guide to recovering settings of WinSCP. With PuTTY, it's identical, except for the registry key path, of course:




  • In MiTec Windows Registry Recovery, go to File > Open.

  • Locate registry hive file of your account. It is typically located in C:Usersusernamentuser.dat (or C:Documents and Settingsusernamentuser.dat in Windows XP and older). Note that the file is usually hidden.

  • Go to Explore > Raw Data.

  • Locate key Software/SimonTatham/PuTTY/Sessions.

  • Go to File > Export to REGEDIT4 format.

  • On Export to REGEDIT4 dialog, select HKEY_CURRENT_USER and check both Only selected key and Cut off root key name.

  • Save export to file of your choice.

  • Transfer the file to target system.

  • Import the registry export by opening it (double-click).






share|improve this answer























  • 100% comprehensive, thanks for tool too!
    – Dims
    Dec 11 '16 at 12:45














4












4








4






You can use some registry reading tool. Like MiTec Windows Registry Recovery.



See my guide to recovering settings of WinSCP. With PuTTY, it's identical, except for the registry key path, of course:




  • In MiTec Windows Registry Recovery, go to File > Open.

  • Locate registry hive file of your account. It is typically located in C:Usersusernamentuser.dat (or C:Documents and Settingsusernamentuser.dat in Windows XP and older). Note that the file is usually hidden.

  • Go to Explore > Raw Data.

  • Locate key Software/SimonTatham/PuTTY/Sessions.

  • Go to File > Export to REGEDIT4 format.

  • On Export to REGEDIT4 dialog, select HKEY_CURRENT_USER and check both Only selected key and Cut off root key name.

  • Save export to file of your choice.

  • Transfer the file to target system.

  • Import the registry export by opening it (double-click).






share|improve this answer














You can use some registry reading tool. Like MiTec Windows Registry Recovery.



See my guide to recovering settings of WinSCP. With PuTTY, it's identical, except for the registry key path, of course:




  • In MiTec Windows Registry Recovery, go to File > Open.

  • Locate registry hive file of your account. It is typically located in C:Usersusernamentuser.dat (or C:Documents and Settingsusernamentuser.dat in Windows XP and older). Note that the file is usually hidden.

  • Go to Explore > Raw Data.

  • Locate key Software/SimonTatham/PuTTY/Sessions.

  • Go to File > Export to REGEDIT4 format.

  • On Export to REGEDIT4 dialog, select HKEY_CURRENT_USER and check both Only selected key and Cut off root key name.

  • Save export to file of your choice.

  • Transfer the file to target system.

  • Import the registry export by opening it (double-click).







share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 9 '18 at 9:03

























answered Dec 10 '16 at 8:52









Martin Prikryl

10.8k43276




10.8k43276












  • 100% comprehensive, thanks for tool too!
    – Dims
    Dec 11 '16 at 12:45


















  • 100% comprehensive, thanks for tool too!
    – Dims
    Dec 11 '16 at 12:45
















100% comprehensive, thanks for tool too!
– Dims
Dec 11 '16 at 12:45




100% comprehensive, thanks for tool too!
– Dims
Dec 11 '16 at 12:45













0














Here is a simple tutorial on how to extract your Putty configuration from an old Windows/Crashed Windows without any extra software. This was very helpful to me and I just want to share the same stes here in case the below one goes down.
Credits : http://www.miniservernation.com/2012/05/putty-import-settings-from-old-hdd-or-crashed-system/



Pre-requisites:

• your registry file must still be accessible (located in user profiles)
Steps on restoring putty configurations:




  1. On your new Windows run putty once. Then create a dummy configuration server. This is make Putty create a new configuration entry in registry.

  2. Close putty.

  3. Use windows run command (Windows Key + r) to run “regedit“.

  4. Once in registry editor, highlight “HKEY_LOCAL_MACHINE“

  5. Then click File -> Load Hive…

  6. A dialog box will ask for the registry file to open. Explore to your old user profile folder. For eg, “C:Windows.oldUsersmyusernameNTUSER.DAT“

  7. You will be prompted a name for this key name. Just put anything you like. In this example, we use “old-registry“.

  8. You can now expand HKEY_LOCAL_MACHINE and you will see the key file you just opened under the label you put in step 7.

  9. Expand as such, HKEY_LOCAL_MACHINEold-registrySoftwareSimonTatham

  10. Now highlight SimonTatham on your left hand side of regedit and right-click then choose export.

  11. Export this registry entry to a file name and location of your choice. I put it in desktop and call it “putty-config“. This file will have the extension of .reg. But those who didn’t enable view extensions will not see it. That is fine.

  12. Now you can unload old-registry from your hive. Make sure “old-registry” is highlighted. Select File -> Unload Hive…

  13. Once you have unload the hive, close regedit.

  14. Use notepad to open up the registry file you just saved. For me, it’s “putty-config“.

  15. Use replace “HKEY_LOCAL_MACHINEold-registry” with “HKEY_CURRENT_USER“. Click Replace All.

  16. Now save the file and close notepad.

  17. Right click on the “putty-config” file and select “Merge“. This will merge the registry into your new registry.

  18. Open up Putty and voila!!! Your old configurations are all back in Putty including all the session keys.






share|improve this answer

















  • 1




    Good idea. Though I find importing the old hive to HKLM unnecessarily risky. Why don't you load it to HKCU?
    – Martin Prikryl
    Dec 18 '18 at 8:14










  • Yeah.. that's better.. You can edit :)
    – Anand Varkey Philips
    Dec 18 '18 at 9:58
















0














Here is a simple tutorial on how to extract your Putty configuration from an old Windows/Crashed Windows without any extra software. This was very helpful to me and I just want to share the same stes here in case the below one goes down.
Credits : http://www.miniservernation.com/2012/05/putty-import-settings-from-old-hdd-or-crashed-system/



Pre-requisites:

• your registry file must still be accessible (located in user profiles)
Steps on restoring putty configurations:




  1. On your new Windows run putty once. Then create a dummy configuration server. This is make Putty create a new configuration entry in registry.

  2. Close putty.

  3. Use windows run command (Windows Key + r) to run “regedit“.

  4. Once in registry editor, highlight “HKEY_LOCAL_MACHINE“

  5. Then click File -> Load Hive…

  6. A dialog box will ask for the registry file to open. Explore to your old user profile folder. For eg, “C:Windows.oldUsersmyusernameNTUSER.DAT“

  7. You will be prompted a name for this key name. Just put anything you like. In this example, we use “old-registry“.

  8. You can now expand HKEY_LOCAL_MACHINE and you will see the key file you just opened under the label you put in step 7.

  9. Expand as such, HKEY_LOCAL_MACHINEold-registrySoftwareSimonTatham

  10. Now highlight SimonTatham on your left hand side of regedit and right-click then choose export.

  11. Export this registry entry to a file name and location of your choice. I put it in desktop and call it “putty-config“. This file will have the extension of .reg. But those who didn’t enable view extensions will not see it. That is fine.

  12. Now you can unload old-registry from your hive. Make sure “old-registry” is highlighted. Select File -> Unload Hive…

  13. Once you have unload the hive, close regedit.

  14. Use notepad to open up the registry file you just saved. For me, it’s “putty-config“.

  15. Use replace “HKEY_LOCAL_MACHINEold-registry” with “HKEY_CURRENT_USER“. Click Replace All.

  16. Now save the file and close notepad.

  17. Right click on the “putty-config” file and select “Merge“. This will merge the registry into your new registry.

  18. Open up Putty and voila!!! Your old configurations are all back in Putty including all the session keys.






share|improve this answer

















  • 1




    Good idea. Though I find importing the old hive to HKLM unnecessarily risky. Why don't you load it to HKCU?
    – Martin Prikryl
    Dec 18 '18 at 8:14










  • Yeah.. that's better.. You can edit :)
    – Anand Varkey Philips
    Dec 18 '18 at 9:58














0












0








0






Here is a simple tutorial on how to extract your Putty configuration from an old Windows/Crashed Windows without any extra software. This was very helpful to me and I just want to share the same stes here in case the below one goes down.
Credits : http://www.miniservernation.com/2012/05/putty-import-settings-from-old-hdd-or-crashed-system/



Pre-requisites:

• your registry file must still be accessible (located in user profiles)
Steps on restoring putty configurations:




  1. On your new Windows run putty once. Then create a dummy configuration server. This is make Putty create a new configuration entry in registry.

  2. Close putty.

  3. Use windows run command (Windows Key + r) to run “regedit“.

  4. Once in registry editor, highlight “HKEY_LOCAL_MACHINE“

  5. Then click File -> Load Hive…

  6. A dialog box will ask for the registry file to open. Explore to your old user profile folder. For eg, “C:Windows.oldUsersmyusernameNTUSER.DAT“

  7. You will be prompted a name for this key name. Just put anything you like. In this example, we use “old-registry“.

  8. You can now expand HKEY_LOCAL_MACHINE and you will see the key file you just opened under the label you put in step 7.

  9. Expand as such, HKEY_LOCAL_MACHINEold-registrySoftwareSimonTatham

  10. Now highlight SimonTatham on your left hand side of regedit and right-click then choose export.

  11. Export this registry entry to a file name and location of your choice. I put it in desktop and call it “putty-config“. This file will have the extension of .reg. But those who didn’t enable view extensions will not see it. That is fine.

  12. Now you can unload old-registry from your hive. Make sure “old-registry” is highlighted. Select File -> Unload Hive…

  13. Once you have unload the hive, close regedit.

  14. Use notepad to open up the registry file you just saved. For me, it’s “putty-config“.

  15. Use replace “HKEY_LOCAL_MACHINEold-registry” with “HKEY_CURRENT_USER“. Click Replace All.

  16. Now save the file and close notepad.

  17. Right click on the “putty-config” file and select “Merge“. This will merge the registry into your new registry.

  18. Open up Putty and voila!!! Your old configurations are all back in Putty including all the session keys.






share|improve this answer












Here is a simple tutorial on how to extract your Putty configuration from an old Windows/Crashed Windows without any extra software. This was very helpful to me and I just want to share the same stes here in case the below one goes down.
Credits : http://www.miniservernation.com/2012/05/putty-import-settings-from-old-hdd-or-crashed-system/



Pre-requisites:

• your registry file must still be accessible (located in user profiles)
Steps on restoring putty configurations:




  1. On your new Windows run putty once. Then create a dummy configuration server. This is make Putty create a new configuration entry in registry.

  2. Close putty.

  3. Use windows run command (Windows Key + r) to run “regedit“.

  4. Once in registry editor, highlight “HKEY_LOCAL_MACHINE“

  5. Then click File -> Load Hive…

  6. A dialog box will ask for the registry file to open. Explore to your old user profile folder. For eg, “C:Windows.oldUsersmyusernameNTUSER.DAT“

  7. You will be prompted a name for this key name. Just put anything you like. In this example, we use “old-registry“.

  8. You can now expand HKEY_LOCAL_MACHINE and you will see the key file you just opened under the label you put in step 7.

  9. Expand as such, HKEY_LOCAL_MACHINEold-registrySoftwareSimonTatham

  10. Now highlight SimonTatham on your left hand side of regedit and right-click then choose export.

  11. Export this registry entry to a file name and location of your choice. I put it in desktop and call it “putty-config“. This file will have the extension of .reg. But those who didn’t enable view extensions will not see it. That is fine.

  12. Now you can unload old-registry from your hive. Make sure “old-registry” is highlighted. Select File -> Unload Hive…

  13. Once you have unload the hive, close regedit.

  14. Use notepad to open up the registry file you just saved. For me, it’s “putty-config“.

  15. Use replace “HKEY_LOCAL_MACHINEold-registry” with “HKEY_CURRENT_USER“. Click Replace All.

  16. Now save the file and close notepad.

  17. Right click on the “putty-config” file and select “Merge“. This will merge the registry into your new registry.

  18. Open up Putty and voila!!! Your old configurations are all back in Putty including all the session keys.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 18 '18 at 6:36









Anand Varkey Philips

1012




1012








  • 1




    Good idea. Though I find importing the old hive to HKLM unnecessarily risky. Why don't you load it to HKCU?
    – Martin Prikryl
    Dec 18 '18 at 8:14










  • Yeah.. that's better.. You can edit :)
    – Anand Varkey Philips
    Dec 18 '18 at 9:58














  • 1




    Good idea. Though I find importing the old hive to HKLM unnecessarily risky. Why don't you load it to HKCU?
    – Martin Prikryl
    Dec 18 '18 at 8:14










  • Yeah.. that's better.. You can edit :)
    – Anand Varkey Philips
    Dec 18 '18 at 9:58








1




1




Good idea. Though I find importing the old hive to HKLM unnecessarily risky. Why don't you load it to HKCU?
– Martin Prikryl
Dec 18 '18 at 8:14




Good idea. Though I find importing the old hive to HKLM unnecessarily risky. Why don't you load it to HKCU?
– Martin Prikryl
Dec 18 '18 at 8:14












Yeah.. that's better.. You can edit :)
– Anand Varkey Philips
Dec 18 '18 at 9:58




Yeah.. that's better.. You can edit :)
– Anand Varkey Philips
Dec 18 '18 at 9:58


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1155050%2fhow-to-copy-putty-sessions-from-crashed-computer%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Mouse cursor on multiple screens with different PPI

Agildo Ribeiro

Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”