Page 2 of 2

Re: How to RunProgram() as admin ?

Posted: Fri May 17, 2013 5:32 pm
by Bisonte
Psychophanta wrote:May be Norris is too old to Rock'n'Roll :|
Ouch.... Famous last words ... says Chuck and throw his teeth :mrgreen:

Re: How to RunProgram() as admin ?

Posted: Tue Jun 28, 2016 4:52 pm
by ar-s
The code is working great.
i try with the "cmd" console; we can see that it was lauch by admin;

Thks TS-SOFT

Re: How to RunProgram() as admin ?

Posted: Wed Jun 29, 2016 5:06 am
by tj1010
It helps if you pass credentials. This should work still all the way up to the latest "inner ring" beta of 10 since it's just the RunAs way of doing it.

Something else you'll be interested in at some point is checking your own PID privilege against ACL lists for file and folders or other processes so you can r/w safely on the file system, dll inject, r/w remote PID memory, drag and drop, and set up friendly pipes or alternate streams.

There is also a know 'hack' with Windows services that allows you to bypass UAC with new process launching from a guest process token.