mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 04:31:57 +00:00 
			
		
		
		
	[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:
		 Geoffrey McRae
					Geoffrey McRae
				
			
				
					committed by
					
						 Geoffrey McRae
						Geoffrey McRae
					
				
			
			
				
	
			
			
			 Geoffrey McRae
						Geoffrey McRae
					
				
			
						parent
						
							b6ceb72855
						
					
				
				
					commit
					d00f12875c
				
			| @@ -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