Set SE_GROUP_ENABLED in Attributes of Administrators SID during
NtQueryInformationToken for TokenGroups.
This commit is contained in:
parent
b79fc16577
commit
a3f6410f9e
|
@ -354,6 +354,7 @@ NTSTATUS WINAPI NtQueryInformationToken(
|
|||
|
||||
/* we need to show admin privileges ! */
|
||||
tgroups->GroupCount = 1;
|
||||
tgroups->Groups->Attributes = SE_GROUP_ENABLED;
|
||||
RtlAllocateAndInitializeSid( &sid,
|
||||
2,
|
||||
SECURITY_BUILTIN_DOMAIN_RID,
|
||||
|
|
Loading…
Reference in New Issue