LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 02-08-2018, 12:10 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,277
Blog Entries: 4

Rep: Reputation: 148Reputation: 148
Question Windows 10 and PuTTY, can't import .reg file


At work we are cutting over our Desktops from Windows 7 to Windows 10.

We use PuTTY v6.7 to ssh into our Linux servers.

I'm currently testing Windows 10 and trying to import the .reg file that I exported from my Windows 7 system. So far, I am unable to import the .reg file, even though I get a successful message.

I've done the following imports:

- From the CLI, type reg import /path/to/.reg_file

- Right click on .reg file and selectc import

I can dig thru the registry (HKEY_CURRENT_USER\Software\SimonTatham) and can find the entry, however after rebooting Windows 10, PuTTY still isn't populated with Save Sessions.

Was wondering if anyone else has an issue with this? If they fixed this? Or did they use a newer version of PuTTY and that fixed the issue?

thanks
 
Old 02-08-2018, 07:22 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165
Well, I would as a matter of course try to switch to "the most-recent version of Putty" as you move to "the most-recent version of Windows," but the first question that comes to my mind is ... "is Putty looking at HKEY_CURRENT_USER?" And then, "how on earth would it know to look for SimonTatham?"

If you still have a few Windows-7 machines lying around, which still work, then I'd suggest comparing the registry hives between the two machines: is the configuration data actually being stored in the same, or in a comparable, place? Or might it instead be in a machine-wide (HKEY_LOCAL_MACHINE) area?

Then, surf the Putty websites and support-forums to see if they have addressed or discussed these issues recently.

The fundamental security expectations between Windows-7 and Windows-10 have finally grown up have matured considerably. The Putty team might have introduced many changes in response to this (full disclosure: "I don't know") that you are not yet aware of.

Last edited by sundialsvcs; 02-08-2018 at 07:24 PM.
 
Old 02-08-2018, 07:35 PM   #3
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,277
Blog Entries: 4

Original Poster
Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by sundialsvcs View Post
Well, I would as a matter of course try to switch to "the most-recent version of Putty" as you move to "the most-recent version of Windows," but the first question that comes to my mind is ... "is Putty looking at HKEY_CURRENT_USER?" And then, "how on earth would it know to look for SimonTatham?"
The enterprise is only allowed to run v6.7 as this is what is approved by infosec, right now.

I will compare the two registries (Windows 7/Windows 10) and see if there are any differences.

I was hoping others had run into some other issue here, that they could share.

thanks
 
Old 02-08-2018, 08:46 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,092

Rep: Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709Reputation: 2709
Not sure I'd think save session has to do with registry.
 
Old 02-08-2018, 10:32 PM   #5
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.4
Posts: 1,007

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
I did my desktop cutover by upgrading from Win7 to Win10. Apparently, the registry came along. Are you buiding new desktops instead? "Refreshing" everyone's PC?

I've always run regedit to do the export and import (on the File menu) of the PuTTy (and WinSCP) sessions when refreshing. Have you tried that? I've not tried the methods you've tried.

Re: PuTTy version: I always upgrade when PuTTy notifies me of an upgrade. "2016-03-05 PuTTY 0.67 released, fixing a SECURITY HOLE"
Since then, there have been three releases, all of which contain security fixes. 0.68 was the first 64-bit release. The current version is 0.70, released 2017-07-08. I recommend a pitch to your security team...show them this and this.

Edit: I note this:
Code:
C:\Users\SWS Customer>reg import /?

REG IMPORT FileName [/reg:32 | /reg:64]

  FileName  The name of the disk file to import (local machine only).

  /reg:32  Specifies the key should be accessed using the 32-bit registry view.

  /reg:64  Specifies the key should be accessed using the 64-bit registry view.

Examples:

  REG IMPORT AppBkUp.reg
    Imports registry entries from the file AppBkUp.reg
Given you're using a 32 bit version of PuTTy, you probably need to specify the registry view...but that's just a guess.

Last edited by scasey; 02-08-2018 at 10:40 PM.
 
Old 02-09-2018, 06:02 AM   #6
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,277
Blog Entries: 4

Original Poster
Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by jefro View Post
Not sure I'd think save session has to do with registry.
How to Transfer PuTTY Sessions To Another Windows Machine

https://www.cyberciti.biz/tips/putty-session.html
 
Old 02-09-2018, 07:07 AM   #7
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,348

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
https://the.earth.li/~sgtatham/putty...ml#config-file

You can use ProcMon to see exactly which registry entries are being accessed
https://docs.microsoft.com/en-us/sys...nloads/procmon
 
Old 02-09-2018, 07:45 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165
Quote:
Originally Posted by JockVSJock View Post
The enterprise is only allowed to run v6.7 as this is what is approved by infosec, right now.
Everyone, everywhere, is responsible to an Information Security department, and with obvious reasons. It is mandatory, therefore, that you discuss your plans and objectives with them, and get official acknowledgement and consent with the help of your manager. They must know what software is being deployed, what versions, what configurations – everything – especially when (as in this case) it deals directly with information security. ("They're on your side, and you're on theirs.")

Also, bear in mind that they very likely already know the answers that you seek!

Last edited by sundialsvcs; 02-09-2018 at 07:46 AM.
 
Old 02-11-2018, 09:08 AM   #9
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 171Reputation: 171
I have a feeling that Win10 will not let you import to the system registry without special permissions. I think it will store the imported file in the personal storage of the importing logon ID.
 
Old 02-12-2018, 11:23 AM   #10
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165Reputation: 3165
Windows has, for very obvious reasons, protected the system keys for a very long time. (You must be an Administrator.)

But, since this person refers to an "infosec department," at this point my admonition would be: "call them and ask." (After asking your manager's permission to do so.) Undoubtedly this department already knows the answer, and in any case they must be made aware of what is being done in this particular department. If you're secure-communicating to or from anywhere, that's their ballpark.
 
  


Reply

Tags
putty, windows 10


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm using Putty on Windows - How do I D/L and Edit a file from Linux Host? Ihaveaquestionplz Linux - Newbie 5 08-16-2010 08:38 PM
Import rsa private key into putty cccc Linux - Software 6 01-01-2010 07:44 PM
Windows: Which program can track the reg updates at software install and make a reg? frenchn00b General 5 11-20-2008 04:26 PM
How to take printout of linux file from windows xp using putty? sathyguy Linux - Networking 6 02-20-2007 02:59 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration