Page 1 of 1

New Command cm_ExecuteDOSasAdmin

Posted: 2010-04-08, 14:56 UTC
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.

Posted: 2010-04-09, 04:13 UTC
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.

Posted: 2010-04-09, 05:49 UTC
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.