New Command cm_ExecuteDOSasAdmin

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

New Command cm_ExecuteDOSasAdmin

Post by *Matthias030 »

Please add such a command. Often I need a fast way to open a Dos prompt with full admin rights. Since Windows 7 the "normal" Dos prompt is very restricted.
I know the following UAC-Popup for this operation can not be suppressed while generated by windows itself.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Please copy to text file and decode MIME code here to get my little tool Sudo.exe. You may use it to start elevated any program with UAC question. E.g. I use it to start command line with admin rights:
Button command:

Code: Select all

%COMMANDER_PATH%\Sudo.exe
Button parameters:

Code: Select all

CMD /K CD /D "%P"
And it opens UAC question and then starts elevated command line from current TC folder.

Also you may create user-command with such parameters and add it into TC main menu.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Thank you for your tool.

After searching for a solution I found a similar way to get it to work. There is a small VB-Script and an associated Batch File (elevate.cmd) in Windows Vista Powertoys. I got it from here: http://technet.microsoft.com/de-de/magazine/2007.06.utilityspotlight%28en-us%29.aspx

But your tool is small and handy. I will use it instead.
Post Reply