Topic "Change Storage Error"

Author Message
tbharp
[View user's profile]

Joined: 2012-12-19
Posts: 2
An administrator installed WinSCP.
They copied my WinSCP.ini file from another machine to the program folder.
My stored stored sessions and preferences all show up in WinSCP on the new machine.
But, now I can't change my preferences....
I go to change the editor path (since the path is from the old machine), and it works until I quit and restart. It reverts back to the old path every time I restart WinSCP.
I tried changing the preferences storage to "Windows Registry" from "INI file", but after I click "OK" on the Preferences it gives an error:

(X) 151
System Error. Code: 5.
Access is denied

I'm not an administrator for this machine. What do I need to do to change my preferences and have them save normally?

Thanks.
Advertisements
tbharp
[View user's profile]

Joined: 2012-12-19
Posts: 2
I also can't change my stored passwords.

It says:

(X) Can't create file 'C:\Program Files\WinScp\WinSCP.ini'

System Error. Code : 5.
Access is denied
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Switch to registry storage for configuration or move the INI to folder you have an access to.
http://winscp.net/eng/docs/config
_________________
Martin Prikryl
TMMC

Guest


tbharp wrote:

System Error. Code: 5.
Access is denied


I'm not running Administrator account neither, but to be specific I use account with administrative privileges (on nice but sometimes strange OS - Windows 8.1 Pro). I've got the same problem if I run WinSCP 'normally' - ie. double click. If I run it from right click and choose 'run as administrator' it lets me write/edit session preferences within INI file. Maybe it will work for you if you are in Administrators group.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
TMMC wrote:
I'm not running Administrator account neither, but to be specific I use account with administrative privileges (on nice but sometimes strange OS - Windows 8.1 Pro). I've got the same problem if I run WinSCP 'normally' - ie. double click. If I run it from right click and choose 'run as administrator' it lets me write/edit session preferences within INI file. Maybe it will work for you if you are in Administrators group.

Again, you should not store an INI file to location that requires admin privileges to write to. Move your INI file to writable location, see:
http://winscp.net/eng/docs/config#ini
_________________
Martin Prikryl
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License