Why does the token returned by LogonUser() in Win x64 not belong to LOCAL group?
- by edwinbs
Hi,
I have a piece of code that calls LogonUser() followed by CreateProcessAsUser(). In Win32, the resulting process belongs to a user (say, TESTDOMAIN\user1) who belongs to the LOCAL group. However, in x64, the process owner does not belong to LOCAL. The owner still belongs to all other groups (Authenticated Users, Everyone, etc.)
Does anyone know if this is a documented behavior change? Or am I supposed to put some special flag in x64 when calling LogonUser()?
Thanks.