Create a child process where main process runs As Administrator

F

Fred Heida

Hi,

Question on Vista Run As Administrator. If i have exe which creates a child
process, using the Process class, and
this exe is Run As Asministror, is there a way to have the child process
also Run As Asministror with out confirmation for this (as this is already
doen my the main process) ?

Cheers,

Fred
 
L

Laura T.

If the parent process and child process have the same integrity level, UAC
should not kick-in:

"Each application that requires the administrator's access token must prompt
the administrator for consent. The one exception is the relationship that
exists between parent and child processes. Child processes will inherit the
user's access token from their parents. Both the parent and child processes,
however, must have the same integrity level."
 
F

Fred Heida

thx!

Fred

Laura T. said:
If the parent process and child process have the same integrity level, UAC
should not kick-in:

"Each application that requires the administrator's access token must
prompt the administrator for consent. The one exception is the
relationship that exists between parent and child processes. Child
processes will inherit the user's access token from their parents. Both
the parent and child processes, however, must have the same integrity
level."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top