You are here

[Resolved] PuTTY don't load a local reg file with the sessions

6 posts / 0 new
Last post
guijarrelson
Offline
Last seen: 3 months 1 week ago
Joined: 2006-08-27 18:32
[Resolved] PuTTY don't load a local reg file with the sessions

Hi,

I have the latest PuTTY portable in my USB Stick, and I exported the sessions of my local PuTTY sessions to a reg file. This reg file I moved to \PortableApps\PuTTY\Data\settings\putty.reg

When I open the Portable one, PuTTY read the local registry and load it. I want to load my reg file on my USB Stick instead the local registry.

How I can do this?

Greets!

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Explain

Could you please explain more clearly what you're trying to do?

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

guijarrelson
Offline
Last seen: 3 months 1 week ago
Joined: 2006-08-27 18:32
I have my own computer in my

I have my own computer in my office with all my sessions saved in the registry. I exported the sessions of the path CURRENT_USER of the PuTTY to a reg file. I want to put this reg file in the PuTTY Portable, and the PuTTY Portable load the sessions of the reg file instead the sessions saved in the registry of the guest computer.

Could be possible?

Thanks Wink

PD: Any additional info is needed?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Should be right

X:\PortableApps\PuTTYPortable\Data\settings\putty.reg should be the file you want. It should contain the contents of HKEY_CURRENT_USER\Software\SimonTatham. Look at the launcher, Other\Source\PuTTYPortable.nsi, for more details.

If it's not working, there must be some reason why; try comparing your reg file with the one made by ordinary use of PuTTY Portable.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

guijarrelson
Offline
Last seen: 3 months 1 week ago
Joined: 2006-08-27 18:32
I find the problem. Windows

I find the problem. Windows Registry exports the file in UCS-2 Little Endian instead in ANSI code. I coded the file in ANSI mode with Notepad++ program, and PuTTY Portable load it. Also, it created an putty.reg.old file.

I think it could be an request feature that PuTTY Portable could codificate the UCS-2 Little Endian format file to use it directly.

Greets!

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Windows issue

The issue is with regedit itself - there's not really anything we can do about it.

You can use Notepad++ to re-encode things easily.

Glad you sorted it out Smile

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

Log in or register to post comments