Run As Administrator

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
neil154
Junior Member
Junior Member
Posts: 42
Joined: 2010-07-07, 04:14 UTC

Run As Administrator

Post by *neil154 »

I am running ver 8.01 and there are many times when I try to do something within Total Commander and it can't do it but then asks me "as Admininstator" and I click okay.

Since I am the only one using the PC can I have Total Commander always use me as a administrator so I do not get that question ever again?
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

F1 4.b wincmd,ini wrote:AlwaysAsAdmin=0 1: Handle all further operations as admin after confirming the first with "All as administrator"
You will be asked only once per session.
Personally i would not run TC itself always as administrator because otherwise every process started by TC (even f you double click a document) would also be started with admin rights.

Regards
Holger
Moon
Member
Member
Posts: 195
Joined: 2003-09-12, 07:41 UTC

Post by *Moon »

Still beats having to click away UAC messages during copying and whatnot.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Moon,
There were many topics regarding UAC. You're doing something wrong if you work with documents and trigger UAC messages. Only program folders must be write-protected for non-elevated users. You can open folder properties and add write permission for Users group to get rid of UAC messages for that document folder.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can add
AlwaysAsAdmin=1
to wincmd.ini section [Configuration] to reduce the admin requests.
Author of Total Commander
https://www.ghisler.com
Moon
Member
Member
Posts: 195
Joined: 2003-09-12, 07:41 UTC

Post by *Moon »

What are the differences to starting as admin?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Moon wrote:What are the differences to starting as admin?
When you start TC as admin, ALL programs are started as admin from TC (including programs that open documents). If you start bad software it will get admin permissions.
When you elevate only file operations, all programs are started with user permissions so won't hurt your OS.
Moon
Member
Member
Posts: 195
Joined: 2003-09-12, 07:41 UTC

Post by *Moon »

So starting as normal user but setting AlwaysAsAdmin =1 elevates only the file operations?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Yes, it just suppresses further elevate confirmations (after the first one), but doesn't changes other aspects.
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

NB As Admin

Post by *Phred »

MVV wrote:Moon,
There were many topics regarding UAC. You're doing something wrong if you work with documents and trigger UAC messages. Only program folders must be write-protected for non-elevated users. You can open folder properties and add write permission for Users group to get rid of UAC messages for that document folder.
More precisely, "...You can, when logged in as an administrator, open folder properties and add write permission for Users group to get rid of UAC messages for that document folder."

Remember, we're NOT all administrators - for our day-to-day operations.

Funnily enough, I've found on a number of machines that the user is prevented from writing/saving to his own desktop, and I'm not alone, among people I know. :?
MVV also wrote:
Moon wrote:What are the differences to starting as admin?
When you start TC as admin, ALL programs are started as admin from TC (including programs that open documents). If you start bad software it will get admin permissions.
When you elevate only file operations, all programs are started with user permissions so won't hurt your OS.
So what file operations would they be?
No-one around here but me can be an administrator, so, from anyone else's log-in, could I delve into other users' file branches when running TC with AlwaysAsAdmin=1?
(I would have to invoke TC with another ini file, of course.)

17th July, 2014
Regards, PhredE
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

TC has limited functionality in user-restricted folders so even if it will show other users' dirs, it may be more useful to start elevated TC specially for such cases. Anyway, you can try it yourself.
Phred
Senior Member
Senior Member
Posts: 382
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Post by *Phred »

Life's short. I was hoping for a pre-headsup, as they say, before trying it myself.
Christian must have had a reason for creating the switch; I'll hang around to see it anyone else has some insights. Thx.

17th July, 2014
Regards, PhredE
Post Reply