how to change registry permissions scripts

For Example;

SetACL.exe -on “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor” -ot reg -actn setowner -ownr n:”NETWORK SERVICE”

SetACL.exe -on “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor” -ot reg -actn ace -ace “n:NETWORK SERVICE;p:full”

Add a Comment

Your email address will not be published. Required fields are marked *