Create a child process where main process runs As Administrator

  • Thread starter Thread starter Fred Heida
  • Start date Start date
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
 
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."
 
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."
 
Back
Top