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

Advertisement

WouterNL
Joined:
Posts:
3

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
42,987
Location:
Prague, Czechia

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.

Reply with quote

WouterNL
Joined:
Posts:
3

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.
Description: Screenshots

Reply with quote

martin
Site Admin
martin avatar

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.

Reply with quote

WouterNL
Joined:
Posts:
3

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?

Description: Screenshot

winscp-default-app.png

Reply with quote

Advertisement

You can post new topics in this forum