Topic "Need to prevent creation of RemoteDirectory registry key"

Author Message
[View user's profile]

Joined: 2014-10-31
Posts: 1
Location: Edmonton, Alberta, Canada
WinSCP 5.5.6
Windows 7 Enterprise 64-bit
GUI/Commander/SCP Interface

We maintain over 300 computers in various campus locations for public use. Each workstation automatically logs on to the network with a generic username. Users must input their personal I.D. and password in order to connect with their personal drives on our central servers.

We have discovered that when a user authenticates and connects to their drives, a registry key is created upon closing their WinSCP session.
[HKCU\Software\Martin Prikryl\WinSCP2\Sessions\AFS%20Storage%20Space\RemoteDirectory]
The next person to use that workstation cannot access their drives as WinSCP tries to re-connect to the previous directory. They are forced to reboot the workstation in order to restore all settings to default.

Is there some way to:
a) prevent the creation of this key (or)
b) automatically delete the key upon log off from the WinSCP session

Any assistance will be appreciated.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
You want to turn off a session option Remember last used directory:

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License