0
Is it possible to add advanced registry key permissions via a script?
ie:
HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Defaults\FirewallPolicy
MpsSvc – Query Value, Set Value, Create SubKey, Enumerate SubKeys, Notify, Delete, Read Control
Get-Acl -Path HKLM:\SYSTEM\CurrentControlSet\Services\SharedAccess\Defaults\FirewallPolicy| select -exp access | Where-Object {$_.IdentityReference -eq "NT SERVICE\MpsSvc"}| Format-List
seems to be pretty clear; however,Set-Alc
would be more complicated. – JosefZ – 2016-05-12T07:43:08.397