Can use SetACL to do this all via command line
C:\SetACL.exe -on “HKLM\SOFTWARE\Cylance\Desktop” -ot reg -actn setowner -ownr “n:Administrators”
C:\SetACL.exe -on “HKLM\SOFTWARE\Cylance\Desktop” -ot reg -actn ace -ace n:Administrators;p:fullREG ADD “HKLM\SOFTWARE\Cylance\Desktop” /f /v SelfProtectionLevel /t REG_DWORD /d 1
Reboot Machine
MsiExec.exe /qn /norestart /X{3138EAD3-700B-4A10-B617-B3F8096EE30D}
Comments