When I call the function CreateProcessAsUser(), it returns a failure.
And then the call to GetLastError() to check why the error occurred returns the value 0x16f.
I couldn't find out what the error is supposed to mean.
When I call the function CreateProcessAsUser(), it returns a failure.
And then the call to GetLastError() to check why the error occurred returns the value 0x16f.
I couldn't find out what the error is supposed to mean.
Copyright © 2021 Jogjafile Inc.
ERROR_CHILD_PROCESS_BLOCKEDis convertedNTSTATUS-STATUS_CHILD_PROCESS_BLOCKED(0xC000049D) - I search inntoskrnl.exeand found that this code referenced only from 2 place whenNtCreateUserProcesscalled - fromSeSubProcessTokenand for log error:so when
SeTokenIsNoChildProcessRestricted(Token)returnFALSEyou can gotERROR_CHILD_PROCESS_BLOCKEDfromCreateProcess.this is new api, exist only from 1607 build of win10
declared in
ntifs.hbut not documented.so process, which fail call
CreateProcessAsUseris somehow restricted. Windows Store sandbox , as how Harry Johnston guess ?