Where does WinSCP store site's information or password? I can't find it under Documents and Settings...
The configuration file is stored either in the Windows registry or, if you are using the portable version, in an INI file. (See the documentation.) The registry location is:
You can always export the settings to an INI file by pressing
Note that your passwords are not stored in text, but encoded. Though difficult to decrypt, it is not impossible.
Create a new C# console application, then type the following program:
If you are not a C# programmer, you can do as easily on any other language you might be familiar with. The point is simply to print whatever values are passed as an argument to your program. You can even do it with a script, if that is more familiar to you.
Now, compile your program, and grab your binary (such as ConsoleApplication8.exe). Place it on a suitable place, such as your desktop.
Now, if your password still works, fire up WinSCP and connect to your site. Click on Options -> Preferences
On the Preferences dialog, go to Integration -> Applications. Replace what was previously in the PuTTY path with the path to your newly created binary. Also select the option "Remember session password and pass it to PuTTY (SSH)".
Click OK, and then try to launch PuTTY from within WinSCP.
Your previously stored password should now be visible in your screen.
You could use a tool like WireShark to "see" what goes on over the wire. What I mean is to have a packet capturing session running (in WireShark) and then login to your FTP server (using WinSCP, with NO encryption).
Then, by looking at the registered session in WireShark, one could easily identify the "discussion" (filtering by the destination IP for example) and then identifying the Request: USER blabla, and then REQUEST: PASS blabla, at the FTP level of the "conversation".
This is a simplified version of
Create a batch file called
Place it on a suitable place, such as your desktop.
Fire up WinSCP and connect to your site. Click on
On the Preferences dialog, go to
Now launch PuTTY from within WinSCP.
Your previously stored password should now be displayed on the screen!
I came to this answer while researching a slightly different problem however this was helpful and I wanted to share what I did.
My problem was that I was using WinSCP with passwords saved under Windows XP within an Active Directory domain which then changed. With the new Active Directory domain, my user profile also changed resulting in WinSCP showing no saved logon profiles.
In order to recover the previous WinSCP logon profiles I did the following.
Started up the
I then exported the WinSCP Session registry key using the
Next I modified the exported text in the text file so that it used
These actions did the following: (1) found the WinSCP logon Session data for the old user profile, (2) made a copy of that data, (3) modified the Windows Registry key to allow an import with
After doing this procedure I was able to access my web server with WinSCP.
There are probably a couple of reasons why this was straightforward and worked. First of all this PC was used only by one person so was not shared reducing the false matches. Secondly I had Administrator privileges to the PC. Third this was Windows XP and not Windows 7/8.