Running a process as admin

  • Thread starter Thread starter its_me_here
  • Start date Start date
I

its_me_here

Guest
I am aware that since Windows services run in session 0, in order to launch user mode exes from services, we need to elevate the service to current user privilege level by getting usertoken and launch the process(CreateProcessAsUser). But it is seen that when logged in administrator and launched the user process using same API, the exe is not run as administrator. Since the currently logged in user is admin, shouldn't the exe be run with admin privilege?

My investigation is based on the lnk Launch your application in Vista under the local system account without the UAC popup

Continue reading...
 
Back
Top