Error when trying to save configuration

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
calux
Junior Member
Junior Member
Posts: 2
Joined: 2013-01-30, 15:52 UTC

Error when trying to save configuration

Post by *calux »

Hi!

I have installed totalcommander 8.01 on Windows 8.
And when i start the program the option dialog pops up and when i try to change anything and push "OK" or the "Apply" button. A dialog window appears with this message

"Error cannot write C:\Program Files(x86)\totalcmd\ !"
"Please remove the write protection!"

Does anyone have an idea what it could be?

//Calux
umbra
Power Member
Power Member
Posts: 871
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

When you installed your TC, you decided to put its configuration files to its directory. However, in Windows Vista and newer, one cannot just write to "Program Files" anything he wants.

Basically, you have three options:
1. install TC into a different directory
2. or always run it with elevated privileges (not recommended, but many do so anyway)
3. or change the directory, where TC saves its configuration (you can use https://plugins.ghisler.com/addons/inireloc.zip)
Windows 7 Pro x64, Windows 10 Pro x64
User avatar
petermad
Power Member
Power Member
Posts: 14795
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

4. Change the privileges of C:\Program Files(x86)\totalcmd\ so that you can write to the directory.

It will be less safe, but not more unsafe than option 1 and 2 in umbra's suggestions.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
calux
Junior Member
Junior Member
Posts: 2
Joined: 2013-01-30, 15:52 UTC

Post by *calux »

I have tried both your suggestions but nothing helps. It seems that I can not change permissions on a file or folder in Windows, even though I have admin rights.

/ / Calux
User avatar
petermad
Power Member
Power Member
Posts: 14795
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Sometimes you have to take ownership of a folder/file before you can change it's permissions.


But otherwise use https://plugins.ghisler.com/addons/inireloc.zip to move yoyr ini files.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sometimes you have to take ownership of a folder/file before you can change it's permissions.
Indeed, especially when the medium (e.g. a USB stick) comes from some other PC. Then it uses that PC's user accounts, which are unknown on the other PC.
Author of Total Commander
https://www.ghisler.com
Post Reply