CreateProcessAsUser error 1314

后端 未结 4 1710
庸人自扰
庸人自扰 2020-12-14 21:03

I want create a process under another user. So I use LogonUser and CreateProcessAsUser. But my problem is, that CreatePtocessAsUser always returns the errorcode 1314, which

4条回答
  •  天命终不由人
    2020-12-14 21:30

    Your code adds the SE_TCB_NAME privilege to your token.

    MSDN says "Typically, the process that calls the CreateProcessAsUser function must have the SE_ASSIGNPRIMARYTOKEN_NAME and SE_INCREASE_QUOTA_NAME privileges."

提交回复
热议问题