Pythin createprocessasuser -- OpenProcessToken, 'Access is denied.'
rupole at hotmail.com
Tue Jun 15 23:52:41 CEST 2004
No, AdjustTokenPrivileges doesn't actually add privileges.
It just enables privileges that you already have that aren't enabled
by default. Administrative privileges (SE_SECURITY_NAME, SE_TCB_NAME, etc)
generally aren't enabled by default. You can use
to add extra privileges to an account. (You can only do so from an admin
"Ivan Voras" <iv at an.voras.fer.hr> wrote in message
news:campmv$hih$2 at bagan.srce.hr...
> Roger Upole wrote:
> > You'll probably need to call AdjustTokenPrivileges before LogonUser,
> > you need
> > SE_TCB_NAME enabled for the calling process.
> Can processes started under users that don't have that privilege acquire
> just like that?
More information about the Python-list