Changelog: John K. Hohm <jhohm@acm.org> Set SE_GROUP_ENABLED in Attributes of Administrators SID during NtQueryInformationToken for TokenGroups. All MS NT versions set this, and my company's installer checks for it.
Index: dlls/ntdll/nt.c =================================================================== RCS file: /home/wine/wine/dlls/ntdll/nt.c,v retrieving revision 1.53 diff -u -r1.53 nt.c --- dlls/ntdll/nt.c 24 Jul 2003 00:07:00 -0000 1.53 +++ dlls/ntdll/nt.c 29 Aug 2003 04:56:45 -0000 @@ -354,6 +354,7 @@ /* we need to show admin privileges ! */ tgroups->GroupCount = 1; + tgroups->Groups->Attributes = SE_GROUP_ENABLED; RtlAllocateAndInitializeSid( &sid, 2, SECURITY_BUILTIN_DOMAIN_RID,