git clone https://github.com/OTRF/Set-AuditRule
cd Set-AuditRule
Set-AuditRule -RegistryPath 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone' -IdentityReference Everyone -Rights SetValue,CreateSubKey -InheritanceFlags ContainerInherit -PropagationFlags InheritOnly -AuditFlags Success