07.10.2018, 13:06
Hybrid dev version should work fine without admin rights, does so here and seemingly for everyone else who used the dev version,...
As soon as a user which is in the admin group starts Hybrid it will close unless the new 'runAsAdmin' option is used.
For those interested in the code, here's how this is checked:
Cu Selur
As soon as a user which is in the admin group starts Hybrid it will close unless the new 'runAsAdmin' option is used.
For those interested in the code, here's how this is checked:
SID_IDENTIFIER_AUTHORITY authority = { SECURITY_NT_AUTHORITY };
PSID adminGroup;
// Initialize SID.
if (!AllocateAndInitializeSid(&authority, 2, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 0, &adminGroup))
return false;
BOOL isInAdminGroup = FALSE;
if (!CheckTokenMembership(nullptr, adminGroup, &isInAdminGroup)){
isInAdminGroup = FALSE;
}
FreeSid(adminGroup);
return bool(isInAdminGroup);
Quote:because I have not such problems in normal versionLast stable release didn't have the check in it.
Quote:and in previous DEV versionsOnly dev versions starting from August 19th would have the check.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.