WinSCP is slow to launch

Advertisement

vesnikos
Guest

WinSCP is slow to launch

Hi,

After the most recent update (WinSCP 5.15), WinSCP GUI is very slow to lunch. About 5 mins before the main window pop up.

I am using Windows 10 Enterprise Version 10.0.16299 build 16299

The earliest version of WinSCP version that introduced this was WinSCP 5.14.beta (build 8871)
Version 5.14 works fine without any problems.

I tried to change the WinSCP configuration storage from Windows Registry, Automatic INI, and custom location in file but the problem persists.

The computer that has this problem is operating in a network environment with roaming profiles.

My personal computer, (Windows 10 Professional, no roaming profiles, just a plain installation) works fine as well.

File transfers work without any problems.

As this seems to be more a GUI problem, unfortunately, I didn't find any options to enable any logs for this stage.

Nick

Reply with quote

Advertisement

wrecclesham
Donor
Joined:
Posts:
22
Location:
Vancouver, Canada

I doubt that is WinSCP's fault. The WinSCP installation for that user's roaming profile probably just got corrupted during the update. There is a slightly greater risk of applications getting corrupted in a roaming profile environment.

The first thing I would do is uninstall WinSCP for the affected Windows user account with the roaming profile, then reinstall WinSCP 5.15 again from scratch. No updates this time, go directly to 5.15. A nice clean install.

WinSCP uses less than 35 MB of disk space:
<invalid hyperlink removed by admin>

I don't see any legitimate reason for it taking five minutes to open a 35 MB application, even across a network.

Also, can you test WinSCP 5.15 with another roaming profile in the same environment?

One person is too small a sample to draw any conclusions from. I would be interested to see if the problem affected more than one user's roaming profile, or only one user's roaming profile. Suspecting a problem with a particular version of WinSCP is not something I would consider at this early stage.

At the very least, I would want to:
  1. confirm that the problem could be repeated with at least one other user's roaming profile
  2. see if performing a reinstall for the affected user resolves the problem.
Perhaps you're right and there is a problem with 5.15 on a roaming profile environment, but I think it's worth spending 10 minutes to quickly rule out these other possibilities first.

Keep us posted!
Daniel
Last edited by wrecclesham on 2019-04-05 15:13; edited 2 times in total

Reply with quote

vesnikos
Joined:
Posts:
3
Location:
England

Hi @wrecclesham thank you for your reply,

WinSCP is locally installed in the PC's HDD – it is just my desktop and a bunch of folders related to my profile that is stored remotely.

I tried to uninstall versions 5.14 and 5.15 removing all keys, configuration files and etc and do a clean reinstall of 5.15, to the default location and also to another disk but the problem still persisted.

I can ask for a colleague to log to my computer to see to test if it is a profile issue – but he won't be able to install it as he won't have any administrative privileges for that box. He will open the version of winSCP installed by me.

I don't know how the GUI code is set up, but in my setup when you query the users desktop path from the registry it returns the UNC path to the remote server where the contents of my profile are. I thought to tell as it could be relevant (or not).

Nik

Reply with quote

wrecclesham
Donor
Joined:
Posts:
22
Location:
Vancouver, Canada

I can ask for a colleague to log to my computer to see to test if it is a profile issue – but he won't be able to install it as he won't have any administrative privileges for that box. He will open the version of WinSCP installed by me.
That could still be useful. If only your roaming profile has slow loading times, that would suggest that 5.15 does not always have this problem when used with roaming profiles. You could then focus on removing whatever remnants of your previous installation, in your roaming profile, are causing this problem in your account. That's the best-case scenario.

On the other hand, if another roaming profile also experiences this issue, then perhaps 5.15 did introduce a problem—although that seems unlikely to me as I would have thought that the roaming profile aspect of the environment would be fairly transparent to WinSCP.

It would be interesting if any other roaming profiles experienced slow loading times, as that would give credence to your initial suspicion that WinSCP may be at fault.

Daniel

Reply with quote

vesnikos
Joined:
Posts:
3
Location:
England

Hi Daniel,

thank you for your previous reply.

wrecclesham wrote:

It would be interesting if any other roaming profiles experienced slow loading times, as that would give credence to your initial suspicion that WinSCP may be at fault.
Daniel
I asked a colleague to help me out. Upon logging to the computer, the system realised his profile locally (had not logged to that machine before) and he tried to open WinSCP.

Unfortunately, the same issue reproduced. What we noticed that is that winscp lunches in the background but it doesn't pop the MainWindow until some time after.

When he opened the task manager, winscp was listed. consuming resources. CPU at about 10% and producing network traffic (see screenshot). Please note that all of these were happening before any GUI had been launched in a newly created local profile.

Thanks, Nick

Capture.PNG

Reply with quote

Advertisement

wrecclesham
Donor
Joined:
Posts:
22
Location:
Vancouver, Canada

Hi Nick,

Thanks for testing that with a different user's Windows profile.

Can you try enabling logging and collecting some more information that might help Martin to understand what's happening?

Daniel

e4wvM3x.png

Reply with quote

Vamshi
Guest

WinSCP Too Slow to Launch

Hey Guys, I have updated my WinSCP recently to 5.15 and am experiencing the same problem. @vesnikos You are bit lucky as it's opening atlest after 5 minutes. For me it's taking more than 15 minutes sometimes and doesn't open at all.

Is there any chance that we can go for the previous download 5.14 or the previous one. Where acn I find those downloads?

Reply with quote

Guest

wrecclesham wrote:

Can you try enabling logging and collecting some more information that might help Martin to understand what's happening?
Certainly, I am attaching a log as per instructions. Posted as a private file. Removed any references of sensitive data.
  • winscp.log (268.26 KB, Private file)
Description: replaced username strings with 'nameduser', replaced public key fine names with 'xxxxx' replaced connection ip target with 'HOST.IP.4'

Reply with quote

Advertisement

mcsmik
Joined:
Posts:
1
Location:
UK

same problem

Hi Guys,

I have exactly the same issue after 5.15 update.

I have tried a clean re-install and having the same problem. Takes roughly a minute or longer to load the application.

Reply with quote

martin
Site Admin
martin avatar

Re: same problem

@mcsmik: Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

@jho1670: Thanks for your report. We do not have a definite fix yet.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum