How about disabling the "As Administrator" message boxes that pop up after an "access denied" error if the current user already has administrator privileges on the local machine / network share?
It's a bit annoying that this MessageBox pops up after each error, even though I *know* that clicking "As administrator" will not make it magically succeed, since I already *have* admin privileges (and so the error lies somewhere else)
The box should only appear if getting admin rights has any chance of improving the situation.
"As Administrator" message boxes if User is Admin
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You will get an error anyway, so it doesn't matter whether this option is offered or not. Some beta testers asked me to add this also for admins, so they can access files as a different user (e.g. admin of a different server).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You can turn off the "as Admin" functions completely.
Please add the following string to the file wincmd.ini, section [Configuration]:
AdminTimeout=-1
You can edit the wincmd.ini via Configuration - Change settings files directly.
Please add the following string to the file wincmd.ini, section [Configuration]:
AdminTimeout=-1
You can edit the wincmd.ini via Configuration - Change settings files directly.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
well i prefer the "unable to access asdf" message to "...tcmadmin 12345 error"...You will get an error anyway, so it doesn't matter whether this option is offered or not.
if the current user is a member of the Administrators group (or simply has enough privileges, regardless of the group) and can't delete/overwrite a locked file, option to become a different administrator is just silly...
okay, that makes sense, but why don't you change the button captions to "try as a different user" then?Some beta testers asked me to add this also for admins, so they can access files as a different user
btw, for dealing with the locked files i recomend the Unlocker utility from ccollomb.free.fr/unlocker