Re: CreateProcessWithLogonW error
- From: "a" <xxxxxxx@xxxxxxxxxxx>
- Date: Mon, 23 Jan 2006 01:57:50 GMT
> Well, when using the API CreateProcessAsUser() does not succeed,
> and the function GetLastError() returns the error code # 1314,
> which is ERROR_PRIVILEGE_NOT_HELD, this is usually because the
> user's token does not have the needed access rights, which are the:
>
> TOKEN_QUERY,
> TOKEN_DUPLICATE,
> TOKEN_ASSIGN_PRIMARY.
>
> Moreover, the process that calls the API CreateProcessAsUser() must
> have
> following privileges:
>
> SE_ASSIGNPRIMARYTOKEN_NAME
> SE_INCREASE_QUOTA_NAME
>
How do you set these access rights and priviledges?
Thanks,
A
.
- References:
- CreateProcessWithLogonW error
- From: a
- Re: CreateProcessWithLogonW error
- From: Pavel Lebedinsky [MSFT]
- Re: CreateProcessWithLogonW error
- From: a
- CreateProcessWithLogonW error
- Prev by Date: Re: CreateProcessWithLogonW error
- Next by Date: Re: Password filter for a group of users?
- Previous by thread: Re: CreateProcessWithLogonW error
- Next by thread: Re: CreateProcessWithLogonW error
- Index(es):
Relevant Pages
|