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.

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)


Topic review


Re: bookmarks disappear after restarting WinSCP 5.13 (registry permissions issue)

Thanks for your report.
I will take a look at this issue.

bookmarks disappear after restarting WinSCP 5.13 (registry permissions issue)

I'm using WinSCP 5.13 under Win10Pro.

I fixed the issue for myself, but figure it's worth it for you to know that there's a lacking error check here.

I could create bookmarks fine, and they worked, and they survived disconnecting/reconnecting. However if i closed WinSCP and reopened/reconnected, they were completely gone.

Using Process Monitor i found that WinSCP was being denied access on keys like:

HKCU\Software\Martin Prikryl\WinSCP 2\Configuration\Bookmarks\Local\root@
HKCU\Software\Martin Prikryl\WinSCP 2\Configuration\Bookmarks\Remote\root@

While still having full access to these paths:

HKCU\Software\Martin Prikryl\WinSCP 2\Configuration\Bookmarks\Local
HKCU\Software\Martin Prikryl\WinSCP 2\Configuration\Bookmarks\Remote

Forcing the permissions to inherit allowed WinSCP to work fine again, however:

It would be good if WinSCP actually did access checks and informed the user, instead of trying to read those and silently failing.