Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Run as administrator from TCC

May
120
1
Is there a way to run a command as administrator from the TCC command line? Clearly, this would cause the UAC prompt to appear - that's not a problem - but I have some GUI programs which I routinely start from the command line (e.g., Systems Internals process explorer) and I occasionally want to start them as administrator without having to go hunting for the executable in explorer.

I'd expect something like START /RUNAS to be the correct thing, but I don't know what username to use.

Thanks,
Paul.

PS After a web search, I fount elevate.exe at http://jpassing.com/2007/12/08/launch-elevated-processes-from-the-command-line/ but I'm still surprised that this isn't built into TCC (far more useful in my view than reimplementing tar/zip/gzip etc...)
 

Similar threads

Back
Top