"As Administrator" message boxes if User is Admin

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Dark-Star
Junior Member
Junior Member
Posts: 76
Joined: 2004-12-01, 14:15 UTC
Location: Reutlingen, GERMANY

"As Administrator" message boxes if User is Admin

Post by *Dark-Star »

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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
Dark-Star
Junior Member
Junior Member
Posts: 76
Joined: 2004-12-01, 14:15 UTC
Location: Reutlingen, GERMANY

Post by *Dark-Star »

Thanks for the info.

Can I at least disable this option (to get the old TC behavior)? I didn't find an option for this (but maybe I didn't look hard enough?)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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.
Author of Total Commander
https://www.ghisler.com
User avatar
Dark One
Junior Member
Junior Member
Posts: 40
Joined: 2003-05-19, 10:48 UTC
Location: Serbia

Post by *Dark One »

You will get an error anyway, so it doesn't matter whether this option is offered or not.
well i prefer the "unable to access asdf" message to "...tcmadmin 12345 error"...

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...
Some beta testers asked me to add this also for admins, so they can access files as a different user
okay, that makes sense, but why don't you change the button captions to "try as a different user" then?

btw, for dealing with the locked files i recomend the Unlocker utility from ccollomb.free.fr/unlocker
Post Reply