Topic "Passwords do not get stored in WinSCP 5"

Author Message
Adambean

Guest


I'm having problems with stored passwords in WinSCP 5.0.0 (build 1431).

I use a master password, enter a password in the session form, ensure "Save password (protected by master password)" is ticked when saving the session. It prompts me for the master password and saves the session.

I can now connect without it asking me for the session (or master?) password. However after restarting WinSCP all saved passwords are lost.

Having checked the INI file (I use this over registry for roaming ability) the password tag on all the sessions is blank.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Thanks for you post. This bug has been added to the tracker:
http://winscp.net/tracker/show_bug.cgi?id=727
Adambean
[View user's profile]

Joined: 2011-09-07
Posts: 5
Location: Cardiff, South Wales
Nice, I see that it has already been resolved.

Probably useless now but the OS is Windows 7 Professional x64, so the INI file for me is at %LocalAppData%\VirtualStore\Program Files (x86)\WinSCP

I also see there are quite a few unreleased changes. Do you offer a latest build download?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Adambean wrote:
Probably useless now but the OS is Windows 7 Professional x64, so the INI file for me is at %LocalAppData%\VirtualStore\Program Files (x86)\WinSCP

Note that this won't work in 5.0.1 anymore, as this version disables file virtualization:
http://winscp.net/tracker/show_bug.cgi?id=719

Quote:
I also see there are quite a few unreleased changes. Do you offer a latest build download?

No. But new version will be release soon.
_________________
Martin Prikryl
NicoHaase
[View user's profile]

Joined: 2011-09-10
Posts: 3
Location: Darmstadt, Germany
prikryl wrote:
Adambean wrote:
Probably useless now but the OS is Windows 7 Professional x64, so the INI file for me is at %LocalAppData%\VirtualStore\Program Files (x86)\WinSCP

Note that this won't work in 5.0.1 anymore, as this version disables file virtualization:
http://winscp.net/tracker/show_bug.cgi?id=719
So, what does that mean for users who used winscp.ini in prior versions? To which location should I move the file? And please change the infopage about configuration to the new settings Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
NicoHaase wrote:
So, what does that mean for users who used winscp.ini in prior versions? To which location should I move the file? And please change the infopage about configuration to the new settings Smile

That means that you need to make sure you are running WinSCP from location where you have write permissions. Or that you need to specify alternative location for an INI file using /ini switch. There's actualy nothing wrong on the article you refer to. But some note about the change might be worth it Smile
_________________
Martin Prikryl
NicoHaase
[View user's profile]

Joined: 2011-09-10
Posts: 3
Location: Darmstadt, Germany
prikryl wrote:
There's actualy nothing wrong on the article you refer to. But some note about the change might be worth it Smile
What about the footnote? Version 4.x used the virtualstore without any other settings, and this was removed according to bug 519. So, I think, this should be removed from the wiki Wink
Adambean
[View user's profile]

Joined: 2011-09-07
Posts: 5
Location: Cardiff, South Wales
prikryl wrote:
NicoHaase wrote:
So, what does that mean for users who used winscp.ini in prior versions? To which location should I move the file? And please change the infopage about configuration to the new settings Smile

That means that you need to make sure you are running WinSCP from location where you have write permissions. Or that you need to specify alternative location for an INI file using /ini switch. There's actualy nothing wrong on the article you refer to. But some note about the change might be worth it Smile

This won't be useful for multi-user computers.. I choose INI so it can be backed up, and sync'd to my file server so that I can get it immediately on my other computers.

Could we at least have the INI in %AppDir%\WinSCP if the process isn't running with UAC elevation?
_________________
Thanks,

Adam Reece.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Adambean wrote:
This won't be useful for multi-user computers.. I choose INI so it can be backed up, and sync'd to my file server so that I can get it immediately on my other computers.

So use the /ini switch.

Quote:
Could we at least have the INI in %AppDir%\WinSCP if the process isn't running with UAC elevation?

INI file is target on portable use of WinSCP. E.g. from memory stick.
_________________
Martin Prikryl
Adambean
[View user's profile]

Joined: 2011-09-07
Posts: 5
Location: Cardiff, South Wales
prikryl wrote:
Adambean wrote:
This won't be useful for multi-user computers.. I choose INI so it can be backed up, and sync'd to my file server so that I can get it immediately on my other computers.

So use the /ini switch.

Didn't know about /ini
Code:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /ini="%AppData%\WinSCP\WinSCP.ini"

^ works brilliant, thanks.

Also saved passwords appear to re-load from the INI when using a master password (5.0.1 build 1449). Thanks for this fix Smile
_________________
Thanks,

Adam Reece.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License