Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

WouterNL

Register keys

Is this what you mean?

HKCU\Software\RegisteredApplications
WinSCP Software\Martin Prikryl\WinSCPCapabilities

HKLM\Software\RegisteredApplications
WinSCP Software\Martin Prikryl\WinSCPCapabilities
martin

Re: Installer instead of client

Please post export of HKCU\Software\RegisteredApplications and HKLM\Software\RegisteredApplications registry keys.
WouterNL

Installer instead of client

Hi,
You are right, because when I check the UAC pop-up, it shows me the WinSCP installer.
But when I try to change the default app, I cannot see if it is the installer or the normal client.
The screenshot is in Dutch, but I think you can understand what I mean when I choose FTP, and that it is not possible to select a different kind of this app.
How can I select the correct app instead of the installer?
martin

Re: Screenshots and explanation

That looks like you have associated WinSCP installer, not WinSCP itself, with the protocol.

Please post a screenshot from the "Choose defaults by link type" and of the UAC prompt.
WouterNL

Screenshots and explanation

Hi,
When I press the FTP button in my monitor tool, it is using this link:
ftp://Username:password@ftp-server/path_to_folder

Then I see a UAC pop-up with a question asking if I accept changes to my computer.
And then the screenshots 02 to 06 are following.
Then WinSCP is starting, but is asking which connection I will open.
And it is not using the username, password, and folder path which is in the FTP link from the beginning.

So instead of this update process, it should open WinSCP with the pre-filled connection settings to the website I want.
martin

Re: UAC prompt + update screen appears only when launching via ftp:// protocol handler, not on normal la

Please post screenshot of the "update/maintenance screen" – I'm not completely sure what is happening here.
WouterNL

UAC prompt + update screen appears only when launching via ftp:// protocol handler, not on normal la

Hi,
I'm running WinSCP on Windows 11, installed as the default handler for ftp:// links (set via Windows Settings > Apps > Default apps > "Choose defaults by link type", not via WinSCP's own "Register to handle URL addresses" option).

The issue: when I launch WinSCP normally (double-clicking the shortcut/icon), it opens straight to the main window with no prompts at all - no UAC, no update notification.

However, when I click an ftp://user:password@host:port/path link from within a web browser (so WinSCP is launched via the registered protocol handler instead), two things happen every single time:
1. Windows shows a UAC prompt ("Do you want to allow this app to make changes to your device?").
2. After clicking Yes, instead of opening the session from the URL, WinSCP goes straight to what looks like its update/maintenance screen, rather than connecting to the site.

I've already tried:
- Setting "Automatic check period" to "Never" in Preferences > Updates.
- Unchecking "Display information about update on startup" in the same section.

Neither setting stops this from happening specifically when launched via the protocol handler - normal launches are unaffected either way.

My questions:
1. Does the protocol handler registration point to a different executable/entry point than the regular shortcut (e.g. something that triggers an elevation/update check), and if so, can that be changed?
2. Is there a way to make ftp:// links open a session directly, the same way a normal launch does, without the UAC prompt or update screen getting in the way?

Any help figuring out what's different about the protocol-handler launch path versus a normal launch would be much appreciated. Thanks in advance!

Regards,
Wouter