1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Run as administrator from TCC

Discussion in 'Support' started by p.f.moore, Aug 28, 2010.

  1. p.f.moore

    Joined:
    May 30, 2008
    Messages:
    122
    Likes Received:
    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...)
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,804
    Likes Received:
    82
    In v12:

    START /ELEVATED ...

    Rex Conn
    JP Software
     
  3. p.f.moore

    Joined:
    May 30, 2008
    Messages:
    122
    Likes Received:
    1
    Excellent, thanks. Add a reason to upgrade for me...
    Paul.
     

Share This Page