Why does the token returned by LogonUser() in Win x64 not belong to LOCAL group?

Posted by edwinbs on Stack Overflow See other posts from Stack Overflow or by edwinbs
Published on 2010-04-19T07:15:47Z Indexed on 2010/04/19 7:23 UTC
Read the original article Hit count: 262

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about win32

Related posts about x64