Default to Administrator

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
CWBillow
Member
Member
Posts: 121
Joined: 2006-01-28, 04:38 UTC
Location: San Diego, CA, USA

Default to Administrator

Post by *CWBillow »

I am part of the Admin group. But when I was trying to copy some files from one drive to another, TC asked for an Administrator choice.

Is there a way to set or run TC so that it is always "As Administrator"?

I know I can set the shortcut Advanced properties, but is there also a command-line switch?

Regards,
Chuck Billow
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

http://www.howtogeek.com/howto/windows-vista/create-administrator-mode-shortcuts-without-uac-prompts-in-windows-vista/
But you should keep in mind that every program started by an elevated TC (even if you click on documents and start the associated program) will run as administrator too.
Nothing for every day use.

Edit:
Alternative1: http://www.totalcmd.net/plugring/Sudo.html
Alternative2: (mark the code, copy to clipboard, paste in button bar):

Code: Select all

TOTALCMD#BAR#DATA
*%COMMANDER_EXE%

%COMMANDER_EXE%
Run TC elevated


-1
Regards
Holger
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

CWBillow, it is Windows who revokes applications' admin rights for your safety so no command switch will help here. So here are 3 ways: disable UAC (bad for safety), always start TC elevated (not much bad but a bit too) or organize your daily documents directories so they won't require admin rights to copy files to (Permissions tab of properties dialog).

HolgerK, I would add parameters %Z/N %X"%P" "%T" for starting elevated TC to get same directories opened in its panels. :)
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

MVV wrote: I would add parameters %Z/N %X"%P" "%T" for starting elevated TC to get same directories opened in its panels. :)
:wink:
Normally i'm using this parameters:

Code: Select all

/N /S /L="%P" /R="%T"
but i've removed it from the copied code to show only necessary parts.

Regards
Holger
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

HolgerK, there is one problem with yours: if wrong panel is active, new TC will have panels switched. That's why I'm using mentioned command line. And, %Z allows to start new TC when I'm in archive. :)
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

You're right, but it doesn't really matter for me because in 90% here the left panel is the the source panel.
;)
Regards
Post Reply