Posts: 20
Threads: 3
Joined: Sep 2018
(07.10.2018, 10:36)Selur Wrote: Next release will have an option to disable this, but in case Hybrid or any of the tools that comes with it ever does anything it should not, don't complain to me.
There is no dev version without this, I got a dev version which already supports the overwrite 'runAsAdmin' option in it's misc.ini, but that's it.
Also I don't think this is a 'false error'.
Cu Selur
I think it is a flase error in
this Dev version, because I have not such problems in normal versions and in previous DEV versions. The software do not want to start with or without admin rights.
Posts: 10.556
Threads: 57
Joined: May 2017
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:
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 version
Last stable release didn't have the check in it.
Quote:and in previous DEV versions
Only 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.