[idd] installer: dont make the reg key owned by USER MODE DRIVERS
Windows 11 does not allow the key to be owned by USER MODE DRIVERS granting the user control via the ACL should resolve this
This commit is contained in:
1 parent
b6ceb72855
commit
d00f12875c
1 file changed
+2
-2
@@ -132,8 +132,8 @@ DWORD ensureKeyWithAce()
|
||||
}
|
||||
|
||||
ec = SetSecurityInfo(hKey, SE_REGISTRY_KEY,
|
||||
OWNER_SECURITY_INFORMATION | DACL_SECURITY_INFORMATION,
|
||||
sid, NULL, newDacl, NULL);
|
||||
DACL_SECURITY_INFORMATION,
|
||||
NULL, NULL, newDacl, NULL);
|
||||
|
||||
if (newDacl) LocalFree(newDacl);
|
||||
if (sid) LocalFree(sid);
|
||||
|
||||
Reference in new issue
Block a user